Ask Your Question

Revision history [back]

Check out this answer

link text

Check out this answer

convexity defects C++ OpenCv

HullPoints should not be a vector of points. Instead a vector of int. But for a working examples Check out the sample in the documentation below

http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/hull/hull.html