Skip to content

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

2 participants