Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bioinspired opencv_contrib

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?

bioinspired opencv_contrib

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. :)

bioinspired opencv_contrib

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. :)