O'Reilly logo

Mastering openFrameworks: Creative Coding Demystified by Denis Perevalov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Computer Vision with OpenCV

In this chapter, we will learn how to use computer vision algorithms for performing advanced video analysis and processing using the ofxOpenCv addon and the OpenCV library. You will learn how to work with the addon's class of images and perform filtering, geometrical transformations of images, and find contours of the objects in the image. Finally, we will consider how to use native OpenCV functions in an example and also learn to use optical flow. We will cover the following topics:

  • Using ofxOpenCv
  • Motion detection
  • Image filtering
  • Geometrical transformations of images
  • Searching for objects in an image
  • Optical flow
  • Video morphing

Understanding computer vision and OpenCV

Computer vision is a wide scientific field ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required