Drag Points in a Rotated Rectangle with highgui opencv

asked 2019-11-02 17:23:27 -0600

Hi,

I am trying to drag the points of a Rotated rectangle object in opencv but I am unsure on how to tackle this problem. The idea would be to press left mouse down (EVENT_LBUTTONDOWN) on top of one of the four corners of the rectangle and drag it to the desired position. After that left mouse would be released (EVENT_LBUTTONUP).

If someone could give a brief step guideline on how to tackle it I would be extremely grateful.

Thank you

edit retag flag offensive close merge delete

Comments

sturkmen gravatar imagesturkmen ( 2019-11-02 20:01:07 -0600 )edit