Question

can anyone tell me why i am getting this error? enter image description here

because of that I'm getting this error too enter image description here

Trying to integrate opencv with artoolkit

Was it helpful?

Solution

Ruben, we've talked about this on Tweeter. This is a compiling error that is telling you that it doesn't know what colorHSV is.

Looking at your code and the error message, I can tell that colorHSV is a class that should be defined in your code or in one of the 3rd party libraries you are using.

I've done some research and I found a code very similar to yours. Apparently, colorHSV is a custom data type that the developer uses, but the page doesn't provide the entire source code of the application, just a few snippets here and there to give directions. In other words, there's a lot of code missing in that post.

However, they do mention using a technology for Augmented Reality named Occlusion. A little bit more of research showed me ait-occlusion, which implements a colorHSV. This seems to be the same type you are using in your code.

If you still haven't figured it out, you need to:

  • download/compile/install Occlusion on your system,
  • add the proper #include for ColorHSV.h,
  • and finally adjust your project properties to link your application with this library.

If you have any doubts on any of these procedures, Google it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top