Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By : Robert Laganiere
Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By: Robert Laganiere

Overview of this book

Table of Contents (18 chapters)
OpenCV Computer Vision Application Programming Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Extracting Lines, Contours, and Components

In this chapter, we will cover the following recipes:

  • Detecting image contours with the Canny operator

  • Detecting lines in images with the Hough transform

  • Fitting a line to a set of points

  • Extracting the components' contours

  • Computing components' shape descriptors