Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Apr 8 '0

berak gravatar image

from docs:

convexhull Convex hull obtained using convexHull that should contain indices of the contour points that make the hull.

you give it points, not indices

click to hide/show revision 2
No.2 Revision

from docs:

convexhull Convex hull obtained using convexHull that should contain indices of the contour points that make the hull.

you give it points, not indices

see last param of convexHull()

click to hide/show revision 3
No.3 Revision

from convexitydefects docs:

convexhull Convex hull obtained using convexHull that should contain indices of the contour points that make the hull.

you give it points, not indices

see last param of convexHull() (use returnPoints=False)