MuhammadMoinFaisal / YOLOv8-DeepSORT-Object-Tracking

YOLOv8 Object Tracking using PyTorch, OpenCV and DeepSORT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select a class

somamrae opened this issue · comments

Hi. Thanks for your code.
Do you know how to set the desired class? I mean , in which file we can set a class label/number to show in the output.
Actually, I'd like to only show "person"s in the output, not all the COCO labels.
Thanks

Hello, author!
i have the same requirements. pls tell me how to deal with it.
Thx!!!

Which platform are you running under linux or windows

I am running it on Google colab

You can update the predict,py file and add the if statement for example if label==person then only draw bounding boxes around detected objects

Thanks,
And how about the confidence level? How i can modify the confidence level for the detection?

Hi, I need to save the path for each object. Could you please tell me how I can do it?