tryolabs / norfair

Lightweight Python library for adding real-time multi-object tracking to any detector.
https://tryolabs.github.io/norfair/
BSD 3-Clause "New" or "Revised" License
2.41k stars 245 forks source link

Add scores attribute to TrackedObject class #311

Open aguscas opened 7 months ago

utility-aagrawal commented 7 months ago

Thanks a lot @aguscas! I'll give this a try.

utility-aagrawal commented 7 months ago

Hi @aguscas , I installed this branch and set draw_scores = True in draw_boxes() but I don't see the score information in the output. Did you see it in your test? What might I be missing?

aguscas commented 7 months ago

Hi @aguscas , I installed this branch and set draw_scores = True in draw_boxes() but I don't see the score information in the output. Did you see it in your test? What might I be missing?

I forgot to add the score to the Drawable instances generated by a TrackedObject. Just did a commit with that fixed in this branch (haven't tried it, but it was a small change). Tell me if it works now

utility-aagrawal commented 7 months ago

Thanks @aguscas ! It works now. Please let me know if you decide whether this feature can be merged into main.

utility-aagrawal commented 6 months ago

@aguscas , any plan to merge this PR?

utility-aagrawal commented 4 months ago

@aguscas , any plan to merge this PR?