record mouse pixel position inside video [closed]

asked 2019-05-01 09:56:48 -0500

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?

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by berak
close date 2019-05-04 05:29:06.589567

Comments

Take a look at template matching

Chris gravatar imageChris ( 2019-05-02 13:33:27 -0500 )edit

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!

randomhero gravatar imagerandomhero ( 2019-05-02 14:03:04 -0500 )edit

so that I can track an object in the video with the mouse

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 ?

berak gravatar imageberak ( 2019-05-04 05:28:40 -0500 )edit