This project implements a computer vision technique to detect motion between consecutive frames using dense optical flow.
- Preprocesses images by converting them to grayscale and applying Gaussian blur.
- Computes dense optical flow using the Farneback algorithm.
- Generates and visualizes a motion mask based on optical flow magnitude.
- Detects contours and filters bounding boxes around moving regions.
- Applies non-maximum suppression to refine bounding boxes.
- Visualizes the detected movements on the original frames.