Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 511 Bytes

tutorial09.rst

File metadata and controls

14 lines (8 loc) · 511 Bytes

Background subtraction

Background subtraction (BS) is a common and widely used technique for generating a foreground mask In PyFlowOpenCv we implemented two BS model by using OpenCV MOG2 and KNN.

First we need to create a CreateBackgroundSubtractorMOG2 or CreateBackgroundSubtractorKNN block and connect to a BackgroundSubtract block.

image

You can also change the parameter of background subtractor model on realtime.

image