How to do background subtraction on a video that has constant movement

8 visualizaciones (últimos 30 días)
Neil Lester
Neil Lester el 29 de Mzo. de 2022
Respondida: Tala el 29 de Mzo. de 2022
My question is, what is the best method of doing background subtraction on a video that has constant movement? e.g. it would not have a frame where the background is fully in show.
I was thinking about getting a mode frame, by taking the mode of all frames within the video, and then using this frame to perform background subtraction, however I am unsure how to do this in code. Any help would be greatly appreciated, Thanks

Respuestas (1)

Tala
Tala el 29 de Mzo. de 2022
If your background is not moving, try foreground detector. If you dont have enough frame that represents your background, reduce th enumber of "NumTrainingFrames".

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by