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.41k stars 247 forks source link

Fix path drawer #252

Closed DiegoFernandezC closed 1 year ago

DiegoFernandezC commented 1 year ago

After this issue, we identify that the Paths class was returning a black image with the paths. This was caused by the draw method, something unexpected.

We were assigning the mask with the paths to the frame variable and this is the cause of the fusion of two undesired images in this line.