OpenCV 3.1 overlay an image on a pre recorded video frame by frame

asked 2016-03-04 05:40:10 -0600

novinjaiswal gravatar image

Hi EveryOne,

I am new to openCV. I have a following problem.

I have a image which I want to overlay to prerecorded video 's detected faces in java.

I got the code to detect the face in a image. What I want is read the prerecorded video frame by frame and detect any face in that frame and then overlay/overwrite the an cartoon image face on it.

Please guide me I am struggling to code it in java

Thanks Novin

edit retag flag offensive close merge delete

Comments

Hi I am able to follow.

I am able to grab one frame at a time and in that frame able to identify the face.

Now i need help to overwrite the identified face with the provided cartoon face.

novinjaiswal gravatar imagenovinjaiswal ( 2016-03-05 19:55:40 -0600 )edit