Chapter 3. Processing Images with OpenCV 3

Sooner or later, when working with images, you will find yourself in need of altering images: be it applying artistic filters, extrapolating certain sections, cutting, pasting, or whatever else your mind can conjure. This chapter presents some techniques to alter images, and by the end of it, you should be able to perform tasks, such as detecting skin tone in an image, sharpening an image, mark contours of subjects, and detecting crosswalks using a line segment detector.

Converting between different color spaces

There are literally hundreds of methods in OpenCV that pertain to the conversion of color spaces. In general, three color spaces are prevalent in modern day computer vision: gray, BGR, and Hue, ...

Get Learning OpenCV 3 Computer Vision with Python - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.