points

Opencv polylines function in python throws exception

Opencv polylines function in python throws exception Question: I’m trying to draw an arbitrary quadrilateral over an image using the polylines function in opencv. When I do I get the following error OpenCV Error: Assertion failed (p.checkVector(2, CV_32S) >= 0) in polylines, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/core/src/d rawing.cpp, line 2065 I call the function as like so, cv2.polylines(img, …

Total answers: 7