Tracking people from Youtube videos with Python

Опубликовано: 23 Март 2026
на канале: Tigran Tech
241
9

I am using the OpenCV library for Python, which has a very rich set of Computer Vision functionality that we can use in Python by calling just a few functions. In our case, OpenCV is responsible for reading the video frame by frame and passing that to another Python library called face_recognition. This will return the rectangle area of the face detected in a given frame we got from the video.
The final part of removing the background from the video frame image is done by the Python library rembg, which has the ML model preconfigured in it, and in most cases, it works really well.

https://github.com/tigranbs/face-dete...

-----
Website: https://tigran.tech​
X: https://x.com/tigranbs​
Medium:   / tigranbs​  
Github: https://github.com/tigranbs