adynathos / AugmentedUnreality

Augmented reality for Unreal Engine 4
Other
287 stars 114 forks source link

arm64-v8a #10

Closed ANURAGX closed 6 years ago

ANURAGX commented 7 years ago

Hi Adynathos, First of all I wanted to thank you for this wonderful work of yours.

I need just some help to compiling libs for arm64-v8a architecture, I tried by myself but failed. I went through the opencv repository also, I could compile opencv libs but couldn't compile the aruco module as it's not available in opencv.

Could you please tell the exact version of openCV you are using, so that I can add the openCV libs for arm64-v8a platform.

I know this is not an issue, but there is no other way to contact you and get help from you. Thanking you in anticipation.

Regards.

adynathos commented 7 years ago

Hello Thank you for using the plugin.

The procedure of building OpenCV for the plugin is described here (there is also a link to OpenCV-contrib repository containing the additional modules like aruco)

Following that procedure, you should be able to compile OpenCV with the right modules and automatically copy the needed files to the plugin.

To build for arm64-v8a, maybe modify the CMake settings for android by adding:

set(ANDROID_ABI "arm64-v8a" CACHE STRING "")
ANURAGX commented 7 years ago

Really thanks mate.

On Sat, Sep 2, 2017, 11:01 PM Adynathos notifications@github.com wrote:

Hello Thank you for using the plugin.

The procedure of building OpenCV for the plugin is described here https://github.com/adynathos/AugmentedUnreality/tree/master/ThirdParty/opencv (there is also a link to OpenCV-contrib repository containing the additional modules like aruco)

Following that procedure, you should be able to compile OpenCV with the right modules and automatically copy the needed files to the plugin.

To build for arm64-v8a, maybe modify the CMake settings for android https://github.com/adynathos/AugmentedUnreality/blob/master/ThirdParty/opencv/cmake_settings/android.cmake by adding:

set(ANDROID_ABI "arm64-v8a" CACHE STRING "")

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/10#issuecomment-326758532, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XS7LwsY-GWpswWyT_50zVXNKVUSbTks5seZDYgaJpZM4PK4eT .

ANURAGX commented 7 years ago

I m using your work as a base for creating plugin using artoolkit 6.

Right now I m able to load a dynamic image on the fly and able to get it detected.

On Sat, Sep 2, 2017, 11:49 PM Anurag Sharma coolanuragdzxj@gmail.com wrote:

Really thanks mate.

On Sat, Sep 2, 2017, 11:01 PM Adynathos notifications@github.com wrote:

Hello Thank you for using the plugin.

The procedure of building OpenCV for the plugin is described here https://github.com/adynathos/AugmentedUnreality/tree/master/ThirdParty/opencv (there is also a link to OpenCV-contrib repository containing the additional modules like aruco)

Following that procedure, you should be able to compile OpenCV with the right modules and automatically copy the needed files to the plugin.

To build for arm64-v8a, maybe modify the CMake settings for android https://github.com/adynathos/AugmentedUnreality/blob/master/ThirdParty/opencv/cmake_settings/android.cmake by adding:

set(ANDROID_ABI "arm64-v8a" CACHE STRING "")

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/10#issuecomment-326758532, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XS7LwsY-GWpswWyT_50zVXNKVUSbTks5seZDYgaJpZM4PK4eT .

adynathos commented 7 years ago

I tried ARToolkit when I started this plugin, but OpenCV was easier to work with. Maybe that changed now.

But as far as I remember ARToolkit also works with fiducial markers?

It would be better to do it without markers, for example with the ROVIO library, using vision and the accelerometer.

On the other hand, maybe our efforts on AR plugins are futile, because of ARCore - AR integrated into Android, which should also work with Unreal.

ANURAGX commented 7 years ago

Thanks a lot for this information. I didn't know about ARCore.

On Sun, Sep 3, 2017, 12:10 AM Adynathos notifications@github.com wrote:

I tried ARToolkit when I started this plugin, but OpenCV was easier to work with. Maybe that changed now.

But as far as I remember ARToolkit also works with fiducial markers?

It would be better to do it without markers, for example with the ROVIO https://github.com/ethz-asl/rovio library, using vision and the accelerometer.

On the other hand, maybe our efforts on AR plugins are futile, because of ARCore https://www.blog.google/products/google-vr/arcore-augmented-reality-android-scale/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/10#issuecomment-326762491, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XS_pXd6rJisWBB8SB0mOSVkS-LS64ks5seaEigaJpZM4PK4eT .