-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with recognition #48
Comments
Hi @ramvdixit Did you fixed the issue? |
Nope. I moved on to implementing it a different way, I combined OpenCV, SVM with KNN and my own camera implementation derived from the OtaliaStudios CameraView library. I am still working on it, so would abstain from giving you advice yet. But I would definitely tell you to try other engines - TensorFlow SVM, KNN, Caffe, etc. EigenFaces did not really work too well or give the accuracy that I needed. |
Thanks @ramvdixit |
Did you got a better accuracy through different ML algorithms?? |
My best bet would be TensorFlow with SVM/KNN. It's quite satisfactory. I get a positive result almost all the time. Keep in mind that there are a bunch of variables you have to take into account - Distance of camera from face, angle of camera, available light, etc. I also would suggest you use frames from a live video feed rather than a single snap from the camera, experiment with a bunch of frames in a loop to get a positive result and break out of the loop when you get it. |
Okay got it! |
You mean the processed files? sure you can. But why localhost? You either store it on a remote server or maintain them on the local device. |
yes, i mean the the images stored (along with their labels) of training dataset. |
If you are opting to use TensorFlow with SVM, you dont need the images after the training is completed. Just the training dataset containing the vector classifications is enough, which you can store in a server or maintain it locally. My personal need was to have face recognition capability on the local device and have no dependency on a server, when there is no connectivity. So, yeah, sure you can store it anywhere you want. |
In this project is the training data being saved in SQLLite database?? |
Yes, I have a SQLCipher database that stores the class data. |
@ramvdixit sir, are you got the success? Could you please guide me. I move the bot code in different activity/fragment. When I train the dataset it's working fine. Could you please give me any reference link to implement as You Done. Thanks |
Please share your source code with us |
Hi, I am struggling from few days to recognize the face using facenet in Android application. Here are the steps I have followed:-
Kindly help. |
Hello,
So after my previous query, everything is sorted and works, except for one glitch. Please note that the offical PlayStore app also has this problem. I am not sure if the cause is the same as I can only talk about my logs.
Here is my scenario:
The problem:
FYI: I am using another camera library [https://github.com/natario1/CameraView] for this, as I need it for other purposes. I also can process frames directly instead of extracting it from a video file. Please note, it offers both camera1 and camera2 support. I am using the camera2 api support.
I have attached four files:
Sorry about the .txt extensions, .java files are not allowed as attachments.
Can you please take a look and tell me where I am going wrong? I hope I am wrong, because your library is awesome and I would hate it if there is an inherent problem with it.
Thanks and Cheers!
MainActivity.txt
RecognitionActivity.txt
face-lib.txt
shared_preferences.txt
The text was updated successfully, but these errors were encountered: