opencv/doc/tutorials/imgproc/shapedescriptors/hull/hull.markdown

548 B

Convex Hull

Goal

In this tutorial you will learn how to:

  • Use the OpenCV function @ref cv::convexHull

Theory

Code

This tutorial code's is shown lines below. You can also download it from here

@include samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp

Explanation

Result

Here it is:

Original Result