atharvakale31 / Real-Time_Face_Recognition_Android

Real-Time Face Recognition App using Tensorflow Lite
https://play.google.com/store/apps/details?id=com.atharvakale.facerecognition
180 stars 67 forks source link

One face from multiple recognisions #17

Closed Said-Khamis closed 2 years ago

Said-Khamis commented 2 years ago

Hi, Thank you for this app. but one of the problem i am facing with is. when i have more than one picture it provides recognition result of multiple faces from list of recognition especially black faces. what could be the problem\?

atharvakale31 commented 2 years ago

Hey @Said-Khamis , I am not sure if I wholly understand your problem. Even though I will try to answer. Before Face Recognition, Face Detection is done for which we use Google's ML Kit. In the scenario of multiple faces in the picture, I am taking the face for which the ML kit returns the highest probability of being a face.

If this does not answer your question, please let me know. Thanks.

Said-Khamis commented 2 years ago

Nope i mea that when i add huge amount of faces then on scanning it gives different result. It can detect unexisting face as the one which exist in sharepreference..gives error like false negative

On 2 Apr 2022 15:11, "Atharva Kale" @.***> wrote:

Hey @Said-Khamis https://github.com/Said-Khamis , I am not sure if I wholly understand your problem. Even though I will try to answer. Before Face Recognition, Face Detection is done for which we use Google's ML Kit. In the scenario of multiple faces in the picture, I am taking the face for which the ML kit returns the highest probability of being a face.

If this does not answer your question, please let me know. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/atharvakale31/Real-Time_Face_Recognition_Android/issues/17#issuecomment-1086626656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARD5Z7UXJFYLPBBDBTYSX6LVDA2OVANCNFSM5SENDYXQ . You are receiving this because you were mentioned.Message ID: <atharvakale31/Real-Time_Face_Recognition_Android/issues/17/1086626656@ github.com>

atharvakale31 commented 2 years ago

I understand now, that this could be the model's accuracy issue. This can be mitigated by tuning the hyperparameter (which in this case is the Euclidian distance between faces, the lower the distance -> more accurate the match). I have pushed the ability to tune this parameter just 4 days ago! I will be updating the app on playstore in a few days.

Said-Khamis commented 2 years ago

Awesome, thanks! So i can now push the code then it will work fine?

On Wed, 6 Apr 2022 at 19:31, Atharva Kale @.***> wrote:

I understand now, that this could be the model's accuracy issue. This can be mitigated by tuning the hyperparameter (which in this case is the Euclidian distance between faces, the lower the distance -> more accurate the match). I have pushed the ability to tune this parameter just 4 days ago! I will be updating the app on playstore in a few days.

— Reply to this email directly, view it on GitHub https://github.com/atharvakale31/Real-Time_Face_Recognition_Android/issues/17#issuecomment-1090528717, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARD5Z7Q3GJ4Y72NFJCLWX5DVDXC7TANCNFSM5SENDYXQ . You are receiving this because you were mentioned.Message ID: <atharvakale31/Real-Time_Face_Recognition_Android/issues/17/1090528717@ github.com>

-- SAID KHAMIS. BACHELOR OF SCIENCE IN HEALTH INFORMATION SYSTEM(BSC HIS) @.***

Said-Khamis commented 2 years ago

pull*

On Thu, 7 Apr 2022 at 14:49, said Hamic @.***> wrote:

Awesome, thanks! So i can now push the code then it will work fine?

On Wed, 6 Apr 2022 at 19:31, Atharva Kale @.***> wrote:

I understand now, that this could be the model's accuracy issue. This can be mitigated by tuning the hyperparameter (which in this case is the Euclidian distance between faces, the lower the distance -> more accurate the match). I have pushed the ability to tune this parameter just 4 days ago! I will be updating the app on playstore in a few days.

— Reply to this email directly, view it on GitHub https://github.com/atharvakale31/Real-Time_Face_Recognition_Android/issues/17#issuecomment-1090528717, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARD5Z7Q3GJ4Y72NFJCLWX5DVDXC7TANCNFSM5SENDYXQ . You are receiving this because you were mentioned.Message ID: <atharvakale31/Real-Time_Face_Recognition_Android/issues/17/1090528717@ github.com>

-- SAID KHAMIS. BACHELOR OF SCIENCE IN HEALTH INFORMATION SYSTEM(BSC HIS) @.***

-- SAID KHAMIS. BACHELOR OF SCIENCE IN HEALTH INFORMATION SYSTEM(BSC HIS) @.***

atharvakale31 commented 2 years ago

Yes, you can pull the code or download the apk from the link in Readme.

Said-Khamis commented 2 years ago

Cool, thanks!

On Sat, 9 Apr 2022 at 16:11, Atharva Kale @.***> wrote:

Yes, you can pull the code or download the apk from the link in Readme.

— Reply to this email directly, view it on GitHub https://github.com/atharvakale31/Real-Time_Face_Recognition_Android/issues/17#issuecomment-1094040345, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARD5Z7XRD65MK3E57ADQA4DVEGFXVANCNFSM5SENDYXQ . You are receiving this because you were mentioned.Message ID: <atharvakale31/Real-Time_Face_Recognition_Android/issues/17/1094040345@ github.com>

-- SAID KHAMIS. BACHELOR OF SCIENCE IN HEALTH INFORMATION SYSTEM(BSC HIS) @.***