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

Fix #4: Allow to set maxAge and IoUThreshold #5

Merged
merged 2 commits into from
Apr 26, 2021
Merged

Conversation

lamhoangtung
Copy link
Contributor

Fix #4: Allow to set maxAge and IoUThreshold like this:

sortnode.SortNode(kMinHits, kMaxAge, kIoUThreshold, kMinConfidence);

The SortNode object can be initialize with 4 arguments in the following order:

  • kMinHits: (int) Minimum number of hits before a bounding box was assigned a new track ID (should be 3)
  • kMaxAge: (int) Maximum number of frames to keep alive a track without associated detections
  • kIoUThreshold: (float between 0 and 1) Minimum IOU for match (should be 0.3)
  • kMinConfidence: (float between 0 and 1) Bouding boxes with confidence score less than this value will be ignored

@lamhoangtung lamhoangtung added the enhancement New feature or request label Apr 26, 2021
@lamhoangtung lamhoangtung self-assigned this Apr 26, 2021
@lamhoangtung lamhoangtung merged commit 8aa0ad2 into master Apr 26, 2021
@lamhoangtung lamhoangtung deleted the fix_#4 branch April 26, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to set maxAge and IoUThreshold
1 participant