Ask Your Question

Revision history [back]

how to replace pygame mouse event with motion coordinates which we get from opencv video capture ?

HI Team,

I have created a program which control the particle system based on the pygame event mouse. Its like, where ever the mouse pointer goes the particles starts running from that position. I want to change the mouse moment with the hand moment . For doing that I have detected the motion using opencv videocap and got the centroid of the blob. But I am unable to replace mouse position with the centroid position. Could you please guide me on this ?