Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bytetrack): No need to throw exception when idx is out of range
Since ColorMapper just returns a unique color to the caller, we simply use modulo to get a valid color index. In such a way there is no need to check the index validity and throw a runtime exception. Signed-off-by: chtseng <chtseng@itri.org.tw>
- Loading branch information