https://docs.opencv.org/3.4/d1/dc5/tutorial_background_subtraction.html
How to Use Background Subtraction Methods
Next Tutorial: Meanshift and Camshift
- Background subtraction (BS) is a common and widely used technique for generating a foreground mask (namely, a binary image containing the pixels belonging to moving objects in the scene) by using static cameras.
- As the name suggests, BS calculates the foreground mask performing a subtraction between the current frame and a background model, containing the static part of the scene or, more in general, everything that can be considered as background given the characteristics of the observed scene.
Background_Subtraction_Tutorial_Scheme.png
Background modeling consists of two main steps:
- Background Initialization;
- Background Update.
In the first step, an initial model of the background is computed, while in the second step that model is updated in order to adapt to possible changes in the scene.
In this tutorial we will learn how to perform BS by using OpenCV.
标签:Use,ImageProcessing,BS,scene,OpenCV,Subtraction,background,Background From: https://www.cnblogs.com/abaelhe/p/18343813