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

opencv4 doesn't have TrackerBoost::create() function not found as well as for TLD and MEDIANFLOW #833

Open
johncblacker opened this issue Jun 19, 2023 · 2 comments

Comments

@johncblacker
Copy link

I'm trying to build your code on a raspberry pi with opencv4 and it won't compile because of errors with BOOSTING, TLD and MEDIANFLOW types of trackers.
Also, the statement:
bool ok = tracker->update(frame, bbox);

Errors during compile with:
tracker.cpp:83:42: error: cannot bind non-const lvalue reference of type ‘cv::Rect&’ {aka ‘cv::Rect_&’} to an rvalue of type ‘cv::Rect_’

Is there an update to fix these errors?

@brmarkus
Copy link

Can you provide more details about your environment, please?
What versions (Operating System, OpenCV, build tools) do you use? Natively, in a container, in a virt-env?
Is there a specific sample code you are referring to?
Python, C, C++? Make, CMake?

@johncblacker
Copy link
Author

Raspberry pi 4 with bullseye os, opencv 4.5.1 c++10, looked in the header file and it appears they only support CSRT and KCF with this version and I don't want to downgrade.

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

2 participants