Skip to content

Fixes bug if python lists are used to update the centroid tracker #32

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 7, 2021

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants