Qualeams / Android-Face-Recognition-with-Deep-Learning-Library

Face Recognition library for Android devices is an Android library (module) which includes several face recognition methods.
Apache License 2.0
371 stars 135 forks source link

x86 supporting #35

Closed thanoue closed 3 years ago

thanoue commented 3 years ago

how can i build the jni libs with x86 platform ?

sladomic commented 3 years ago

you'd need to add x86 and/or x86_64 in this file https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/blob/master/jni-build/jni/Application.mk before executing the make command https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library#android-ndk---c

sladomic commented 3 years ago

I'm not 100% sure if the OpenCV x86 files are included though..if not, then you have to download and replace the OpenCV library as well as seen here https://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/android_dev_intro.html

thanoue commented 3 years ago

I fixed opencv issue, but when i use authentication, it crashed cause of missing so file of your library

On Tue, Aug 25, 2020, 8:21 PM sladomic notifications@github.com wrote:

I'm not 100% sure if the OpenCV x86 files are included though..if not, then you have to download and replace the OpenCV library as well as seen here https://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/android_dev_intro.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/issues/35#issuecomment-680021059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK6P4WPOSBEKG32MHZBNWLSCO3FJANCNFSM4QKKTEIQ .

sladomic commented 3 years ago

first follow this https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/issues/35#issuecomment-680013392 and then this:

Android NDK - C++

The libs for LIBSVM can be compiled outside of Android Studio with the make command (the Makefile is located under /jni-build). There are 3 different usages:

thanoue commented 3 years ago

first follow this #35 (comment) and then this:

Android NDK - C++

The libs for LIBSVM can be compiled outside of Android Studio with the make command (the Makefile is located under /jni-build). There are 3 different usages:

  • make clean (executes ndk-build clean)
  • make (executes ndk-build)
  • make install (copies the libs to the folder /src/main/jniLibs/armeabi-v7a)

i build ndk-build by android studio, but it got error ERROR: executing external native build for ndkBuild, how can i fix it, thanks

thanoue commented 3 years ago

Thank you very much for the information. I have built successfully

On Tue, Aug 25, 2020, 9:49 PM sladomic notifications@github.com wrote:

first follow this #35 (comment) https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/issues/35#issuecomment-680013392 and then this: Android NDK - C++

The libs for LIBSVM can be compiled outside of Android Studio with the make command (the Makefile is located under /jni-build). There are 3 different usages:

  • make clean (executes ndk-build clean)
  • make (executes ndk-build)
  • make install (copies the libs to the folder /src/main/jniLibs/armeabi-v7a)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/issues/35#issuecomment-680072185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK6P4XBU4LUU4VXPC2LNZLSCPFP5ANCNFSM4QKKTEIQ .