Chapter 13
Getting Started with OpenCV
IN THIS CHAPTER
Uncovering a new way of thinking about images
Exploring color spaces, image blurring, and kernel operations
Locating the image gradient and refining with basic image edge detection
Images are amazing to work with, but translating a picture of your breakfast into something displayable on a screen involves understanding the underlying data characteristics. Opening a picture from the camera roll is a little different from accessing it in Python. We’re going to take a look at how we can work image data into automated programs.
In this chapter, you get a crash course in basic OpenCV image manipulation. You start by exploring the structure of images in a digital world, and discover all that you ever wanted to know (and more) about color spaces. You explore image detail and blurring, and read about what a kernel is and how it’s used to create basic feature extraction. You apply your newfound kernel knowledge to image gradients and basic edge detection. Throughout the chapter, you apply new concepts in Python with OpenCV examples. Finally, you explore how image processing techniques help AI models down the road.
Your Image Is in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access