Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

At least your drawContours call lacks contours as second parameter. Without passing that, how would OpenCV know what to draw...

The point parameter in findContours is optional, anyway, and OpenCV documentation would tell you its purpose.

The Vector line just defines type of contours, a necessity in typed languages, such as C++.