Opencv, Image Processing, iOS, Photobooth, Video Filtering.
(background image part). So, just copy the pixels from the foreground image and background image into their respective area of interest. As an example, S1 and S2 image looks like this. Foreground Image, Background Image The last step is to add this two images to get the nice masked video output. On