Video Processing Using OpenCV

In the previous chapters, we learned how to process images. Let's take this a step further and see how to process videos using the OpenCV library. Videos are nothing but a sequence of images and hence dealing with videos is similar to how we dealt with images with a few exceptions of course. Most of the algorithms that we will see in this chapter will in the end apply on individual images of a video. There are a few algorithms in the field of motion study that deal with pairs of images in a video; for example, optical flow. In this chapter, we will try to understand concepts and techniques such as converting color spaces for videos, detecting objects of a specific color, and finally tracking objects in a video. ...

Get Computer Vision with Python 3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.