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

DetectorParameters and CharucoBoard could not be found errors #51

Open
trevormangum opened this issue Jan 13, 2023 · 2 comments
Open

DetectorParameters and CharucoBoard could not be found errors #51

trevormangum opened this issue Jan 13, 2023 · 2 comments

Comments

@trevormangum
Copy link

Hello!

I purchased the OpenCV for Unity asset on January 10th. I have been following the steps in the README.md to get the example project to work correctly on unity. However, I have been able to resolve some errors, so I am unable to actually run or build the project in Unity. I have included an image of the errors in Unity.

image

After combing through the documentation of OpenCV for Unity, I think there may be missing files causing this issue. The documentation for the the CharucoBoard is found at https://enoxsoftware.github.io/OpenCVForUnity/3.0.0/doc/html/class_open_c_v_for_unity_1_1_aruco_module_1_1_charuco_board.html. At the bottom of the webpage, it says that "The documentation for this class was generated from the following file:
OpenCVForUnity/org/opencv_contrib/aruco/CharucoBoard.cs". However, in the OpenCVForUnity that I imported, those files are not included. (See Below)

image

The same story goes for the DetectorParameters as well. I'm pretty sure I imported everything correctly from the most recent OpenCVForUnity. Am I just missing a couple of files and that's what's causing my error, or is it something else? Any guidance would be appreciated. Thanks in advance!

@EnoxSoftware
Copy link
Owner

Thanks for the report.
With the latest opencv (4.7.0) changes, the example using the ArUco class no longer works.
A fixed version (1.0.7) is now available, so please try it.

@trevormangum
Copy link
Author

Thanks for the response. The new version works perfectly! Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants