I have a college work which I have a short video to cut the background off (keeping only what moves in the scene) with three differente method,
So I searched and found this example from OpenCV: https://docs.opencv.org/3.4/d1/dc5/tutorial_background_subtraction.html So I guess this should be the first one
And this : https://learnopencv.com/simple-background-estimation-in-videos-using-opencv-c-python/ Should be the median fundus..
Am I right? I'm confused because the teacher did not pass us the terms in english. This algorithms are right with the methods required? Or where can I find example of these methods?
There are 2 types of background subtraction:
Morphological operation based
This approach assumes that background is constant or better saying that it works fine if the background is constant. What I mean is that camera is stable.
Note: In this approach, the biggest problem is lightening.
Artificial Intelligence(AI) based
This method is the popular one and used widely. Many meeting app in store are also using this one to change background. This approach basically detect the target objects and mask them. As an example you may have a look at the Mask-RCNN. So after detecting mask of target(human, car etc.), its very easy to change background. Camera movement and background changings don't affect.