Tracking people on the video stream with OpenCV, Python

Опубликовано: 25 Февраль 2026
на канале: Onix - Systems
8,189
37

We have a task to track people on the video and send an alert in some cases.
But we need to send only one alert for one people, so we need to check if we see on the video the same people and don't send a notification.

Python 3.8
Flask framework, to stream the recognized video
OpenCV framework
MOG2 Background Subtractor to find еру offset of the contour between frames in video
NumPy library