I'm trying to compile some sample code that uses the bio inspired functionality of OpenCV.
When I compile, I get the error 'createRetina': is not a member of 'cv::bioinspired'.
Which header is createRetina supposed to be in?
1 | initial version |
I'm trying to compile some sample code that uses the bio inspired functionality of OpenCV.
When I compile, I get the error 'createRetina': is not a member of 'cv::bioinspired'.
Which header is createRetina supposed to be in?
I'm trying to compile some sample code that uses the bio inspired functionality of OpenCV.
When I compile, I get the error 'createRetina': is not a member of 'cv::bioinspired'.
Which header is createRetina supposed to be in?
Answer:
As mentioned below, use cv::bioinspired::Retina::create() to allocate memory for the retina. Once that was done, I started getting an error related to private.hpp, so I commented out the #include "private.hpp" in precomp.hpp.
Now everything compiles and links just fine. :)
3 | retagged |
I'm trying to compile some sample code that uses the bio inspired functionality of OpenCV.
When I compile, I get the error 'createRetina': is not a member of 'cv::bioinspired'.
Which header is createRetina supposed to be in?
Answer:
As mentioned below, use cv::bioinspired::Retina::create() to allocate memory for the retina. Once that was done, I started getting an error related to private.hpp, so I commented out the #include "private.hpp" in precomp.hpp.
Now everything compiles and links just fine. :)