[背景分离] 识别移动物体基于高斯混合 MOG时间:2023-03-09 01:53:48 使用很easy, frame 就是当前帧, foreground 是取得的, binary 型背景, 0.03是学习速率能够依据实际调整. cv::BackgroundSubtractorMOG mog; mog(frame, foreground, 0.03);