Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
Kumataro opened this issue May 1, 2024 · 0 comments · Fixed by #3735
Closed
4 tasks done

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

Kumataro opened this issue May 1, 2024 · 0 comments · Fixed by #3735

Comments

@Kumataro
Copy link
Contributor

Kumataro commented May 1, 2024

  • 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
asmorkalov pushed a commit that referenced this issue May 15, 2024
ovis: force camera extent update to get correct bbox #3735

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake

---
fixes #3732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants