opencv/opencv_contrib

ovis: example: aruco_ar_demo.cpp references out-dated header.

Kumataro opened this issue · 0 comments

  • OpenCV => 4.x
  • Operating System / Platform => Ubuntu 24.04
  • Compiler => GCC 13.2
-- General configuration for OpenCV 4.9.0-dev =====================================
--   Version control:               4.9.0-415-gcbf71c380f
--
--   Extra modules:
--     Location (extra):            /home/kmtr/work/opencv_contrib4/modules
--     Version control (extra):     4.9.0-68-g3c2bcbfe
Detailed description

This sample program is out of date to suitable currently libraries.

/home/kmtr/work/opencv_contrib4/modules/ovis/samples/aruco_ar_demo.cpp:6:10: fatal error: opencv2/aruco_detector.hpp: No such file or directory
    6 | #include <opencv2/aruco_detector.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Until it depends, skip it.

See opencv/opencv#23329

Steps to reproduce
sudo apt install libogre-1.12-dev
cmake -B build4-full2 -S opencv4 -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib4/modules -DBUILD_EXAMPLES=ON
cmake --build 
Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc