-
Notifications
You must be signed in to change notification settings - Fork 57
‘create’ is not a member of ‘cv::Tracker’ #38
Comments
@ahasenfr , I guess you might are using a old version OpenCV rather than the latest one. Can you please confirm with that? |
As it is ROS, I'm using the integrated OpenCV version which seems to be version 3.3.1. Does this mean I need to use the latest version from OpenCV itself and not the one that comes packed with ROS Kinetic? |
@sharronliu , can you help with this issue? |
your log error shows in your build environment, the version number was read as OpenCV 3.2 while the libraries actually found is NOT (probably 3.3.1 since you mentioned from Kinetic). You may try avoid seeking for OpenCV 3.2 from your catkin workspace, by properly setup the environment. |
Again, how can you tell that from the error log that I gave. I'm completely new and unexperienced in this field and it would be somewhat nice to have some support... I just used the command "pkg-config --modversion opencv" and the echo was "2.4.9.1" which confuses me. |
No additional answer? |
OpenCV 3.3 introduced big changes in tracker APIs against 3.2 In 3.3: cv::TrackerMIL::create(); Your build log shows, for certain reason, the catkin tools found 3.2 version number, while actually provided is 3.3 |
from catkin workspace, searching from the build log, you should found something like this, to verify the environment is as expected: |
The package supports either 3.3 or 3.2, but not both. |
Like I said above, I reinstalled ubuntu from ground up, so there is no more OpenCV 3.2 installed.
in the build log in the console. But I need the NCSDK because I want to use the Movidius stick... |
The Object Analytics supports either 3.3 or 3.2. $ apt search ros-kinetic-opencv3 Let me know if this solve your problem. |
No, I'm not sure but I think you are misunderstanding something. As I'm new to all this, I don't know how exactly it works, but it seems to me that the OpenCV part from ROS is not registered in the system, while the one that comes with the NCSDK does get registered. But now I have noticed something. You mentioned before this:
Previously I downloaded the (newest) package via the release site from github and there was only the line for OpenCV 3.2.... and that is absolutly normal because this release dates from end November 2017 with no support for 3.3.... So sorry, for the trouble and mess here :( |
In our verification OpenCV 3.3 works for both Object Analytics and Movidius NCS. |
I updated README to clarify the opencv_contrib dependency. #42 It's quite easy to confuse people when using different version of ROS Kinetic. Hopefully it get clear now. |
I tried to install, apart from other packages, this packagen to get the "IntelROSProject" running.
But during "catkin_make" an error occurred which I put in the title.
Full error log:
Searched a bit in the web and found this question on stackoverflow. Which lead to a commit in the opencv code, where the part for creating a tracker has changed.
So I think your code needs some adjustment here?
The text was updated successfully, but these errors were encountered: