cv-examples Background Subtraction source edit

Detect presence in video. Step outside of the video, press resetBackground(), and step back in. Try different thresholding types and levels.

Mode: No Threshold Brightness (RGB) Brightness (B&W)

Threshold:

Presence: 0