record mouse pixel position inside video [closed]
So I want to continuously record the pixel position of the mouse inside a video so that I can track an object in the video with the mouse and replace that object with another image. How do I do this in opencv?
Take a look at template matching
Could I pick out the face from a frame of the video then track that face through the video and lastly replace the tracked face with another image in the entire video? Thanks for the help!
sorry, but this does not make sense at all. computer-vision usually tries to do without human intervention.
can you take a look at the faq , do some more (nessecary !) research on your own, and try again with a more refined question ?