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.39k stars 243 forks source link

Allow for giving a single score for the whole object #295

Open aguscas opened 7 months ago

aguscas commented 7 months ago

Creating an array of scores might be a little annoying considering that is quite common to only have a single score for the whole detection. This modification is to allow the user to provide either a single number (float or int) or a numpy array of scores.