TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

How to read images, video, webcam and screen in OpenCV — image analysis for beginners

Mike Huls
5 min readJan 14, 2022

--

Computer Vision! (image by Wolfgang Hasselmann on unsplash)

OpenCV is a great tool for getting information from images. In this series, we’ll learn how to process and analyze images so that we can detect movement, patterns, templates and even read texts. Before all that, however, we need images to analyze and that’s what this article is about.

We’ll check out 4 methods of obtaining images for OpenCV to analyze and go through each of them step by step. In the end, you’ll be able to:

  • load an image
  • load a video file
  • read your webcam
  • read your screen
  • adjust colors

We’ll use this knowledge in the next parts of this series to create some beautiful analyses.

Series

This article is part of a series about OpenCV image processing. Check out the other articles:

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Mike Huls
Mike Huls

Written by Mike Huls

I write about interesting programming-related things: techniques, system architecture, software design and how to apply them in the best way. — mikehuls.com

No responses yet