Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID keeps increesing for the same objects #109

Open
petrpilar opened this issue Aug 1, 2020 · 4 comments
Open

ID keeps increesing for the same objects #109

petrpilar opened this issue Aug 1, 2020 · 4 comments

Comments

@petrpilar
Copy link

petrpilar commented Aug 1, 2020

ID of same objects keeps increesing across frames. I want to same object mantain same id. HELP PLS

For example car with ID 10 in 1. frame, has 41 in 2. frame.

0000001
0000002

I tried lot of combinations of theese parametrs nothing helped.
tracker = Sort(max_age=5, min_hits=3, iou_threshold=0.3)

@petrpilar
Copy link
Author

petrpilar commented Aug 1, 2020

Problem solved I was inputing [x1,y1,x2,y2] not [x1,y1,x2,y2,score] as it should be

@KevinUTAT
Copy link

KevinUTAT commented Aug 8, 2020

Problem solved I was inputing [x1,y1,x2,y2] not [x1,y1,x2,y2,score] as it should be

I have the same question and now I am confused. What exactly is the score? is it the confidence of detection?

Update: I got it working, it is the confidence.

@aia39
Copy link

aia39 commented Aug 30, 2020

@pilarpe4 Hello. Why are you giving min_hits = 3? Still I haven't understood this.

I tried lot of combinations of theese parametrs nothing helped.
tracker = Sort(max_age=5, min_hits=3, iou_threshold=0.3)

@Momilijaz96
Copy link

Momilijaz96 commented Nov 17, 2021

@pilarpe4 Hello. Why are you giving min_hits = 3? Still I haven't understood this.

I tried lot of combinations of theese parametrs nothing helped.
tracker = Sort(max_age=5, min_hits=3, iou_threshold=0.3)

Check out the main sections in sort.py. This param is actually the number of frames you want to keep a tracker id alive without associated detections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants