Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ContourFinder::getCenter using floats #274

Open
dimitre opened this issue Jul 18, 2023 · 0 comments
Open

ContourFinder::getCenter using floats #274

dimitre opened this issue Jul 18, 2023 · 0 comments

Comments

@dimitre
Copy link

dimitre commented Jul 18, 2023

Working with low resolution cameras I've noticed somewhere in the code numbers are getting transformed to integers.
And reading some of the code I've noticed ContourFinder::getCenter calls ContourFinder::getBoundingRect which returns a cv::Rect instead of cv::Rect2f

if we assure float numbers can be used in getCenter the tracking output will be smoother
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant