Ep6 Tracking Persons & assigning unique Ids | Jetson Computer Vision | Jetson Nano | Python

Published: 07 December 2022
on channel: Rocket Systems
1,774
23

Link to full playlist:    • Jetson Computer Vision  

Link to all the source code: https://github.com/mailrocketsystems/...

In this video we are going to track a person in a video file and will also assign a unique object id to it. We are going to use the Centroid Tracking Algorithm of OpenCV to track the person and based on it, we will assign the object id to it.

This object id will remain same as long as the person is in the frame. If that person goes out of the frame, we will loose the tracking and will also de register the object id. This video only tracks the person but the code can work for any object you want to detect. For example, you want to detect and track the number of cars, you can do that by just passing the bounding box of the car to the tracker and the tracker will track it and assign the unique object id to it.

Tracking any object is very important for any computer vision and AI project. Once you have the tracking enabled in your code, you can count the number of persons in the frame and you can also calculate the time they have spent in the frame. So tracking really important in computer vision and AI project. Make sure you watch the video till end and comment below if you have any questions.

For any work or business-related queries: [email protected]