GithubHelp home page GithubHelp logo

Comments (5)

joaqo avatar joaqo commented on May 27, 2024 1

hi @jbottala02 draw_tracked_objects currently doesn't support setting a class_id. A workaround would be to use a different color for each class, though I understand thats not ideal.

from norfair.

joaqo avatar joaqo commented on May 27, 2024

For some reason the tacker is not able to track onto any objects. This could happen for a ton of reasons, incorrect distance function or threshold, or bad detections. You can draw your detections on your video and see how they look to start debugging.

from norfair.

joaqo avatar joaqo commented on May 27, 2024

We just merged a fix to the Yolov5 demo, so it may help you #78

from norfair.

jbottala02 avatar jbottala02 commented on May 27, 2024

hello @joaqo , I'm thankful for this awesome library. I have some newb questions about how to integrate the class label ID to norfair.draw_tracked_objects to display it on the frame? I've tried the yolov5 demo example and I wonder how to display the class ID and tracking ID at the same time. As I read the docu, the Detection class has a data attribute that stores additional data, and I think the scores and the class ID were stored there.

from norfair.

jbottala02 avatar jbottala02 commented on May 27, 2024

It's ok now, I found out how. Anyways, I really appreciate your reply and thanks for this library. I want to view the class_id because there were sudden changes with tracking_ID. I speculate that there is something wrong with Yolov5's classifying objects that cause these sudden tracking ID changes. https://ibb.co/bJvcjSp

from norfair.

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.