Motion detection and implementation of a proprietary algorithm for tracking multiple objects using classical algorithms.
git clone [email protected]:artem-vol/Motion_detection.git
- motion_detection.py runs motion detection using OpenCV library functions.
- custom_motion_detection.py runs motion detection using native OpenCV function implementations in pure python.
-
- Motion_tracker.py starts multiple tracking of objects that are detected by the algorithm motion_detection.py.
To change the video to which you want to apply this algorithm, change the line: video = cv2.VideoCapture(0)
on video = cv2.VideoCapture('path/to/your/video.mp4')
.
- Motion detection
- Motion detection + tracking