aruco_detector_ocv
aruco_detector_ocv copied to clipboard
melodic build error
hi @CesMak, thanks for the amazing work. Thought I would give it a try to understand the working however i am having a build error when i run catkin_make in melodic.
home/Rl_ws/src/aruco_detector_ocv/src/aruco_detector_ocv.cpp:398:22: error: ‘struct cv::aruco::DetectorParameters’ has no member named ‘cornerRefinementMethod’; did you mean ‘cornerRefinementWinSize’? detector_params->cornerRefinementMethod = aruco::CORNER_REFINE_SUBPIX; ^~~~~~~~~~~~~~~~~~~~~~ cornerRefinementWinSize /home/Rl_ws/src/aruco_detector_ocv/src/aruco_detector_ocv.cpp:398:54: error: ‘CORNER_REFINE_SUBPIX’ is not a member of ‘cv::aruco’ detector_params->cornerRefinementMethod = aruco::CORNER_REFINE_SUBPIX; ^~~~~~~~~~~~~~~~~~~~ aruco_detector_ocv/CMakeFiles/aruco_detector_ocv_node.dir/build.make:81: recipe for target 'aruco_detector_ocv/CMakeFiles/aruco_detector_ocv_node.dir/src/aruco_detector_ocv.cpp.o' failed make[2]: *** [aruco_detector_ocv/CMakeFiles/aruco_detector_ocv_node.dir/src/aruco_detector_ocv.cpp.o] Error 1 CMakeFiles/Makefile2:3133: recipe for target 'aruco_detector_ocv/CMakeFiles/aruco_detector_ocv_node.dir/all' failed make[1]: *** [aruco_detector_ocv/CMakeFiles/aruco_detector_ocv_node.dir/all] Error 2 Makefile:159: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
opencv_version: 4.4 it would be really helpful if you can share some information