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

Finish tracker just after a few frames #8

Open
frunika opened this issue Jun 24, 2019 · 0 comments
Open

Finish tracker just after a few frames #8

frunika opened this issue Jun 24, 2019 · 0 comments

Comments

@frunika
Copy link

frunika commented Jun 24, 2019

I quite often loose some tracks because of missing detections in a single or two frames.

I added a "minimum age" criteria to the finishing track and save the tracks for one or two frames.

This will propably just work with high framerates of about 20fps and more.

adding a track['age'] = 0 right before the updated_tracks.append(track) in line 45 for matched tracks and changing line 52 if track['max_confidence'] >= sigma_h and (track['frames']) >= t_min: to

if track['age'] < 2:
  track['bboxes'].append(track['bboxes'][-1])
  track['age'] += 1
  updated_tracks.append(track)
  track['max_confidence'] >= sigma_h and (track['frames']) >= (t_min + track['age']):
...

will do it.

Somebody could prove that? Am I missing something?

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

1 participant