Giter VIP home page Giter VIP logo

Comments (14)

sherlockchou86 avatar sherlockchou86 commented on August 22, 2024 5

yolo is used for detection, which can detect 80 classes with coco dataset.
deep_sort can only calculate person appearance features with default model. even though you detect multi targets such as cars, truck, bird etc with yolo, the deep_sort tracking performace would not be well.

you need train your own model for tracking.

from deep_sort_yolov3.

anshu1106 avatar anshu1106 commented on August 22, 2024 2

Change the part in the yolo detector code where we filter 'person' from detected boxes.
In yolo.py

for i, c in reversed(list(enumerate(out_classes))):
predicted_class = self.class_names[c]
if predicted_class != 'person' :
continue
box = out_boxes[i]
Change 'person' to 'car'.

from deep_sort_yolov3.

cesarandreslopez avatar cesarandreslopez commented on August 22, 2024

Excellent! Missed that, thank you for the pointer! @anshu1106

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on August 22, 2024

Maybe not , the deep_sort model was just trained for person

from deep_sort_yolov3.

cesarandreslopez avatar cesarandreslopez commented on August 22, 2024

I can confirm that it tracks cars, birds and trucks too and performs well.

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on August 22, 2024

Maybe deep_sort more like a feature coding and similarity comparator , no matter what object it is .

from deep_sort_yolov3.

Megaclick avatar Megaclick commented on August 22, 2024

hi!, there's a way to track multiple objects?, like cars and trucks at the same time?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on August 22, 2024

you can have a try . they all belong to "car" , just like @anshu1106 say to have a try .

from deep_sort_yolov3.

zooezou avatar zooezou commented on August 22, 2024

Thanks a lot ,btw it can be easily used to track cars. It's favoured if the relevant paper can be provide : )

from deep_sort_yolov3.

Goldwh avatar Goldwh commented on August 22, 2024

I want to track other things, not people, cars, birds, etc. However, the tracking effect is not good. How should I train again?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on August 22, 2024

@Goldwh You can reference to https://github.com/nwojke/deep_sort

from deep_sort_yolov3.

lifeofzi avatar lifeofzi commented on August 22, 2024

hi!, there's a way to track multiple objects?, like cars and trucks at the same time?

yes.

Change the part in the yolo detector code where we filter 'person' from detected boxes.
In yolo.py

for i, c in reversed(list(enumerate(out_classes))):
predicted_class = self.class_names[c]
if predicted_class != 'car' and predicted_class!='truck' :
continue
box = out_boxes[i]
Change 'person' to 'car'.

from deep_sort_yolov3.

irisqp avatar irisqp commented on August 22, 2024

hi! I ran demp.py. than this error occur
VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
can anyone help me figure out some way to overcome this error?

from deep_sort_yolov3.

vaibhawvipul avatar vaibhawvipul commented on August 22, 2024

yolo is used for detection, which can detect 80 classes with coco dataset.
deep_sort can only calculate person appearance features with default model. even though you detect multi targets such as cars, truck, bird etc with yolo, the deep_sort tracking performace would not be well.

you need train your own model for tracking.

I agree. DeepSort is trained for Person Re-Identification. I wanted to track people and cars together, I observed a lot of ID switches for vehicles. so, If you want to use the same model to track multiple objects then it would need to be trained again.

from deep_sort_yolov3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.