opencv/doc/tutorials/imgproc/shapedescriptors/hull/hull.markdown
Alexander Alekhin 0d6518aaa0 Merge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV FFmpeg wrapper download links are preserved from ffmpeg/master branch
2018-06-13 19:34:44 +03:00

1.1 KiB

Convex Hull

Goal

In this tutorial you will learn how to:

  • Use the OpenCV function @ref cv::convexHull

Theory

Code

@add_toggle_cpp This tutorial code's is shown lines below. You can also download it from here @include samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp @end_toggle

@add_toggle_java This tutorial code's is shown lines below. You can also download it from here @include samples/java/tutorial_code/ShapeDescriptors/hull/HullDemo.java @end_toggle

@add_toggle_python This tutorial code's is shown lines below. You can also download it from here @include samples/python/tutorial_code/ShapeDescriptors/hull/hull_demo.py @end_toggle

Explanation

Result

Here it is:

Original Result