-
Notifications
You must be signed in to change notification settings - Fork 38
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
Can we use it for Android? #43
Comments
Yes, it is usable on android. First, you will need to download/compile opencv with opencv_contrib included. Then you need to build ArucoUnityPlugin linking to your android opencv build, and using the android toolchain. Finally you place the generated |
Thanks
…On Tue, 4 May 2021 at 04:34, danem ***@***.***> wrote:
Yes, it is usable on android.
First, you will need to download/compile opencv with opencv_contrib
included. Then you need to build ArucoUnityPlugin
<https://github.com/NormandErwan/ArucoUnityPlugin> linking to your
android opencv build, and using the android toolchain. Finally you place
the generated .so in your assets folder and specify that it should only
be used on Android.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBPJMEJPU7IGDDWFJOC6T3TL4XHLANCNFSM424UXKCA>
.
|
Heyho, I know it may be a bit late, but if anyone else stumbles over this and does not have as much experience with building from sources and building for android in general. I have struggled a bunch on this topic, here is what exactly you need to build arucounity from sources for Android(on Windows): Download (Versions are very important):(Only if you don't have it already --> Cmake Gui and MinGW installer )
Generate OpenCV MakeFiles with OpenContrib using AndroidToolchain:
Generate ArUcoUnityPlugin MakeFiles linked with [Android OpenCV with OpenContrib] using AndroidToolchain
Build OpenCV with OpenContrib using Android Toolchain:
Build ArUcoUnityPlugin
After this you got the needed "libArucoUnityPlugin.so" in $BuildDirectoryArUcoUnityPlugin |
Hi @Surlix, Thank you for the detailed steps. Can you please suggest a turn around? |
im not sure if this would still be relevant to you, but I got the same issue and resolved it by replacing the offending line with "cv::drawFrameAxes(*image, *cameraMatrix, *distCoeffs, *rvec, *tvec, length);" it seems that cv::aruco::drawAxis was removed and replaced with the above |
Thanks for awesome plugin. Can it be used for mobile phone (android)?
The text was updated successfully, but these errors were encountered: