Comments (3)
Facing the same issue . Just wanna know have you updated the plugins,dependencies , AndroidX migration ?
from dlib-android-app.
What I have done is updated the gradle plugin , dependencies , buildtool & targetSDK versions to its max. Finally tested the application on Android 10 O.S. Able to detect the face but not land marks were detected . Fortunately the reason for this is due to the privacy policies on the Android 10 and + i.e,, scopped storages . Yes if you are testing the application on the Android 10 and +
public static String getFaceShapeModelPath(Context context) {
File sdcard = context.getExternalFilesDir(null); // this got resolved the issue for me. Hope this will help you
String targetPath = sdcard.getAbsolutePath() + File.separator + "shape_predictor_68_face_landmarks.dat";
return targetPath;
}
from dlib-android-app.
The problem is that "shape_predictor_68_face_landmarks.dat" doesn't exists on the target device, hence the model is not loaded. I still have no idea how to get this file on the target device.
from dlib-android-app.
Related Issues (20)
- Add keypoints for iris detection HOT 1
- How to compare two images? HOT 2
- how to use face detect function on armeabi-v7 (32bits) phone?
- Crashes for some devices with Android 9
- How to Use Detector on Full Camera Image and How to Use Front-Facing Camera?
- How do you detect actions like blinking, shaking your head, and opening your mouth? Is there a code sample? Thank you
- Compiling dlib for android HOT 1
- No Detectings in the app.There weren't any rectangles in the screen. HOT 1
- FAILURE: Build failed with an exception.
- What's purpose of generating aar?
- working with custom made detector
- working with custom made detector(svm file)
- Create new .SO file.
- dlib in android,Kivy
- Getting crashed when sending one frame in the camera in some devices
- Can I use 5 point algorithm?
- Could not find com.tzutalin.dlib-android-app:dlib:1.0.4 HOT 1
- where is C code?
- Deep
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlib-android-app.