Unfortunately I was not able to complete the build of the demonstrator: the build fails with the following error
Compiling c++ file src/demo-items/segmentation.cc...
src/demo-items/segmentation.cc: In member function ‘virtual int DemoSuperpixels::proceed(OCVDemoItem::OCVDemoItemInput&, OCVDemoItem::OCVDemoItemOutput&)’:
src/demo-items/segmentation.cc:13:15: error: ‘createSuperpixelSLIC’ is not a member of ‘cv::ximgproc’
auto slic = cv::ximgproc::createSuperpixelSLIC(
^
src/demo-items/segmentation.cc:14:24: error: ‘SLICO’ is not a member of ‘cv::ximgproc’
input.images[0], cv::ximgproc::SLICO,
^
../libcutil/data/std-makefile-defs:186: recipe for target 'build/debug/segmentation.o' failed
make[1]: [build/debug/segmentation.o] Error 1
make[1]: Leaving directory '/home/dan/opencv-demonstrator/ocvdemo'
Makefile:33: recipe for target 'linux' failed
make: [linux] Error 2
I would appreciate some guidance, can't wait to try the library :)
Hello,
Maybe it is because you don't have the opencv contrib repo installed? I am not 100 % sure, but I think that this function are not in the main opencv repo.
Hello, and thank you for the library!
Unfortunately I was not able to complete the build of the demonstrator: the build fails with the following error
I would appreciate some guidance, can't wait to try the library :)