Comments (8)
Do you still have the issue? Can you give some more information?
There was an issue with eye detection but this should have been fixed a month ago.
from android-face-recognition-with-deep-learning-test-framework.
I cloned the latest code 4 days ago, I tested it on Nexus5x and on Nexus5 in both cases it failed to recognize, and from the debug I did on Nexus5x, I saw that the origin was the eye detection.
As I said before, I used the default configuration, added 2 persons, and training was successful.
When I tried to recognize, it simply didn't detected , and always got out in this line of code (RecognitionActivity, onCameraFrame):
if(images == null || images.size() == 0 || faces == null || faces.length == 0 || ! (images.size() == faces.length)){
// skip
Log.i(TAG, "skipping image not processing");
return imgRgba;
}
This is because the images was null (and when I debugged a little more, I saw that it simply does not recognize the eyes).
Hope this helps,
If you need me to deeg a little more, please tell me, love to help.
from android-face-recognition-with-deep-learning-test-framework.
Do you have the latest library version? If not, try the following from the project root:
- git submodule init
- git submodule update --recursive
Did you add the 2 persons using the "Add Person" function? There it also should have had problems with the eyes.
Can you debug the getEyes function in the FaceDetection class (e.g. the if condition "if (rightEyes.empty() || leftEyes.empty() || rightEyes.toArray().length > 1 || leftEyes.toArray().length > 1)")
Thanks for the help
from android-face-recognition-with-deep-learning-test-framework.
Do you have the latest library version? If not, try the following from the project root:
git submodule init
git submodule update --recursive
OK, did it.
Using this:
versionCode 20
versionName "1.3.0"
Did you add the 2 persons using the "Add Person" function? There it also should have had problems with the eyes.
Did not have any problems, at the end, I got a toast "training successful"
Can you debug the getEyes function in the FaceDetection class (e.g. the if condition "if (rightEyes.empty() || leftEyes.empty() || rightEyes.toArray().length > 1 || leftEyes.toArray().length > 1)")
both leftEyes, and rightEyes are empty.
I did it a lot of times, and made sure that the picture have eyes and it has good quality.
Thanks for the help
No problem, please tell me how do you want to proceed.
I did this tests on nexus5 to make sure this is not related to arm64_v8a
from android-face-recognition-with-deep-learning-test-framework.
Can you try this in the getEyes method:
FileHelper fh = new FileHelper();
MatName m = new MatName("ImageUsedInGetEyes", img);
fh.saveMatToImage(m, FileHelper.DATA_PATH);
Your image will be stored under /sdcard/Pictures/facerecognition/data. Maybe a preprocessing step is doing something strange.
I won't be able to work on it these days since I'm very busy with another project https://github.com/literacyapp-org/literacyapp-android
But I see, that you could help us with your WiFi Direct experience if you have some spare time?
from android-face-recognition-with-deep-learning-test-framework.
from android-face-recognition-with-deep-learning-test-framework.
If you don't mind, you could join the Slack channel found under the literacyapp repository or send me an email to [email protected] so I can write to you.
from android-face-recognition-with-deep-learning-test-framework.
@elich11 can you please try again with the latest release?
from android-face-recognition-with-deep-learning-test-framework.
Related Issues (20)
- Regarding Unknown Face HOT 7
- Runing code HOT 2
- Face liveness detection HOT 2
- I get the warning of Configuration
- How can it run on the x86 CPU HOT 1
- How to count eye blinking while capturing image? HOT 1
- How to rotate camera ? HOT 2
- On accuracy evaluation HOT 2
- Pretrained model HOT 8
- On training
- Figuring out input and output layer in a model
- How to get recognition person name? HOT 1
- how implement eye blink detection in this source code
- How to detect unknown face? HOT 1
- Is there some way to print the name of the person detected on screen? HOT 7
- repo clone problem HOT 4
- Face Recognition a bit slow
- Need customization in this - Paid job
- How i get recognized face name (RecognitionActivity)? please help me on this
- Error comes.
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 android-face-recognition-with-deep-learning-test-framework.