Background Image Acquisition, Differencing, Binarization, and Target Extraction
Extract 100 frames from a video, generate a background image using the average method with 50 frames, then perform differencing, binarization, and target extraction for object detection.