OpenCV  3.4.4
Open Source Computer Vision
samples/cpp/convexhull.cpp

An example using the convexHull functionality