Chapter 8. Detecting Shapes and Segmenting an Image

In this chapter, we are going to learn about shape analysis and image segmentation. We will learn how to recognize shapes and estimate the exact boundaries. We will discuss how to segment an image into its constituent parts using various methods. We will learn how to separate the foreground from the background as well.

By the end of this chapter, you will know:

  • What is contour analysis and shape matching
  • How to match shapes
  • What is image segmentation
  • How to segment an image into its constituent parts
  • How to separate the foreground from the background
  • How to use various techniques to segment an image

Contour analysis and shape matching

Contour analysis is a very useful tool in the field of computer vision. ...

Get OpenCV with Python By Example 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.