dlib-android | : dragon : Port dlib to Android | Android library
kandi X-RAY | dlib-android Summary
kandi X-RAY | dlib-android Summary
:dragon: Port dlib to Android
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dlib-android
dlib-android Key Features
dlib-android Examples and Code Snippets
Community Discussions
Trending Discussions on dlib-android
QUESTION
I have a simple face detection for android based on Dlib, I get this code from Here, I build project and it runs on my phone but it seems have got some problem, this code is made by Dlib and use some Native function, it shows me this Error (but this error doesn't stop build and I can generate APK).
For example I have this function:
...ANSWER
Answered 2018-Dec-24 at 03:14this post (Cannot resolve corresponding jni fuction) says such things are not surprising and you can simply ignore it or suppress it. It will work at run time.
QUESTION
i am trying to use some dnn features from dlib in https://github.com/tzutalin/dlib-android but i am always getting errors like
...ANSWER
Answered 2018-Feb-01 at 19:10This is https://github.com/android-ndk/ndk/issues/82
The fix for this is to switch from gnustl to libc++, but note that libc++ isn't as stable as gnustl is yet (working on fixing this ASAP, should be ready by the time r15 hits stable).
EDIT: As of NDK r16 libc++ is the recommended STL. Switch to using libc++ (see our docs) for full C++11 (and beyond) support.
QUESTION
I am trying to implement this answer, but I am getting always error. Please help.
My code:
...ANSWER
Answered 2017-Aug-01 at 15:28Looks like you need to change
QUESTION
while using the new Dlib library for Android I have noticed that to detect faces, you need to load a landmark points DAT file to your project. The main issue is that the "shape_predictor_68_face_landmarks.dat" file size is 98MB. Which is extremely slow to load when opening the Android camera to detect faces.
I have already seen this SO Question with a similar case, but I do not understand the answer at all.
Any way to reduce the file size? Thanks
...ANSWER
Answered 2017-Mar-01 at 08:29Shape predictor trained mode file size depends on the count of points model training parameters. Existing model has the size of 98 MB and provide state-of-the-art accuracy of facial points detection. So you have three main ways to solve the problem:
- some compression/quantization... that will change existing model. I will not help here - there are some answers in the question you are referenced
- use different model training params. Existing model is trained with the code provided in "train_shape_predictor_ex" example in dlib package, but the training params are little different. simple running this example as-is with the images from example folder will give you model with the size of 15 MB. Yes, this model will be less-accurate, but this is the price of its small size
- use less landmarks. to make this - use same "train_shape_predictor_ex" example, but remove some landmarks from training/testing dataset
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dlib-android
You can change the compiler architecture in dlib-android/jni/Application.mk
The way to build the shared library for Android application
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page