1 year ago
#379043
Jeremi
How to mask a video with an image on opencv
I want to create a mask over the whole human figure and replace it with an image that is responsive to the moving human figure. The image attached will give you a better idea of what is I mean. The Image in the background will be still and won't move but the figure will seem like it punched a hole into the foreground. The figures however they move will go over the static background image and show the contents of the image. The figures, if they overlap as seen in the first image (see overlapping leg) should not break the mask and should still display the contents of the background.
python
opencv
computer-vision
mask
0 Answers
Your Answer