-
Notifications
You must be signed in to change notification settings - Fork 568
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
Aruco Detector crashes #35
Comments
I'm seeing the same crash. Other demos work ok, but Aruco crashes. Easiest repro is to run the sample and click the "Print Aruco Board" button. Crash occurs on call to ArucoInvoke.cveArucoGridBoardCreate. Exception details: Looks like the P/Invoke signature is incompatible with the definition in cvextern. I'd get the original source and try twiddling with it myself but EMGU website is apparently down and I can't access it. |
Fixed in the above commit. Website has a database issue yesterday and has been fixed too. Thanks for pointing that out. |
Did the trick! Thank you! |
The Aruco demo crashes on my PC with random exceptions, during calls of various functions in Emgu.CV.Aruco namespace. I did not recompile 3.3 with the above fix, but I tried to call cveArucoDictionaryCreate1() via the public Dictionary(int nMarkers, int markerSize) constructor with the 3.2 x86 binaries. The demo crashes there too, during the call or later, in GridBoard,Draw(), ArucoInvoke.DetectMarkers(), etc. The most typical exception is "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." |
I have the same issue like okazolab. Got EmguCV via NuGet though, will try to build the newest commit. |
The error also occurs for the latest commit. I get the message "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." for the ArucoInvoke.DetectMarkers method:
The same thing happens for the Aruco example. If ArucoInvoke.DetectMarkers is commented out, both run without crashing. |
This commit should have it fixed: |
Awesome, that works! |
Closing issue now. |
Hello
I am trying to use the aruco detector from opencv contrib with images from a kinect, but it crashes all the time.
Even the example crashes (using a standard logitech webcam) and i tested both the precompiled executable and running from source
Has anyone succeded detecting aruco markers, if yes how ?
Thanks a lot !
The text was updated successfully, but these errors were encountered: