From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

How to use TrackZone

How to use TrackZone

- [Instructor] If we want to track the objects, we can use Ultralytics track mode. We already covered it in chapter 3. But if we want to track the objects in a specific area of the frame, then what will happen next? In this video, we will explore how we can use TrackZone solution to track the objects in specific areas. From line number 1 up to line number 14, and then from line number 21 to 30, it's the same code that we already used previously in object counting solution. We will not go through that. In this video, we will focus on how we can initialize the TrackZone module and how we can use it. Let's explore the TrackZone documentation. Here we can see different advantages, like target analysis. If we will track the objects in specific zone, we will get better accuracy. Here, you can see real-world applications, like we can track specific plants or specific vehicles. Here you can see the code snippet that we can use for tracking the objects in zones. And then, we also have the…

Contents