Ask Your Question

Revision history [back]

You could simply used the mouse callback to draw points in your image. See the doc here. You could draw lines, points (circle), rectangles or polygons. See the doc of all these functions.

By the way, I don't think OpenCV is the best approach for that kind of application.