Git Product home page Git Product logo

aruco_detector_ocv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aruco_detector_ocv's Issues

catkin build error on ROS melodic

Error on making a build package

Errors     << aruco_detector_ocv:make /home/tyrebot/catkin_ws/logs/aruco_detector_ocv/build.make.000.log      
/home/tyrebot/catkin_ws/src/pg_vision/aruco_detector_ocv/src/aruco_detector_ocv.cpp: In function ‘int main(int, char**)’:
/home/tyrebot/catkin_ws/src/pg_vision/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/tyrebot/catkin_ws/src/pg_vision/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**;
                                                      ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/aruco_detector_ocv_node.dir/src/aruco_detector_ocv.cpp.o] Error 1
make[1]: *** [CMakeFiles/aruco_detector_ocv_node.dir/all] Error 2
make: *** [all] Error 2
cd /home/tyrebot/catkin_ws/build/aruco_detector_ocv; catkin build --get-env aruco_detector_ocv | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
..............................................................................................................
Failed     << aruco_detector_ocv:make                      [ Exited with code 2 ]                             
Failed    <<< aruco_detector_ocv                           [ 5.3 seconds ] 

catkin_make does not build the project because ArucoInfo.h is missing

If I do catkin_make clean and build my project from scratch with catkin_make, the compiler cannot find ArucoInfo.h, so I did a little workaround: I commented out the parts in the aruco_detector_ocv.cpp which use the ArucoInfo message. Rebuilt everything with catkin_make, then uncommented the ArucoInfo parts and ran catkin_make again.
I saw that alfons_msgs are mentioned in the package.xml and in the CMakeLists.txt as dependencies, and should be there before building aruco_detector_ocv, but this is not the case.

Problems with 5x5 Arucos

Hello. Thanks for the implementation.
I am testing the code in ROS Kinetic and it is working great. The problem is that even if I change the dictionary variable in the .launch file to 5x5, it does not recognize the 5x5 Arucos (200x200). Only works with 4x4.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.