Skip to content

Conversation

@cansik
Copy link
Contributor

@cansik cansik commented Oct 19, 2021

If python lists are used to update the centroid tracker it tries to get the centroid and uses the numpy shape attribute wich is not accessible on python lists. This fix converts the bounding boxes into a numpy array first to allow lists & numpy arrays (as stated in the documentation).

@adipandas
Copy link
Owner

Hi @cansik : I will review the pull request in few days and merge it. Thanks.

@adipandas adipandas merged commit 9325d00 into adipandas:master Nov 7, 2021
@adipandas adipandas added the bug Something isn't working label Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants