Skip to content
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

facedb file #8

Open
anguoyang opened this issue Nov 30, 2017 · 7 comments
Open

facedb file #8

anguoyang opened this issue Nov 30, 2017 · 7 comments

Comments

@anguoyang
Copy link

Hi, guys, thank you so much for your great contribution, could please share the files under the data directory? especially the facedb file, I suppose that it is a sqlite file? thank you.

@tpys
Copy link
Owner

tpys commented Dec 14, 2017

@ sorry for delayed replay, there is no such file, just folder with person.jpg, eg: data/facedb/name1/aligned_face.jpg data/facedb/name2/aligned_face.jpg ..., as for named facedb, cause i have another python project i use sqlite stored my own face data. it has nothing to do with this project.

@anguoyang
Copy link
Author

hi@tpys, thank you for your answer, I have tried your demo, the detection is pretty good, but always display "unknow", anything wrong with me? thank you.

@anguoyang
Copy link
Author

my images in the facedb is the latest photo of myself, and I use my usb camera for testing, I tried to print out the log in your source code, the similarity is always under 0.4, which is lower than the threshold 0.6, I dont know why.

@tpys
Copy link
Owner

tpys commented Dec 19, 2017

@anguoyang how did you get your latest photot, through 'S' button through when runing this program, if not try this way, it will save the aligned face of yourself through webcam. if you already did this, still get low score, i guess this model doesn't work so well in your environment, I can't help much further.

@macheski
Copy link

macheski commented Jan 6, 2018

tpys:
Thanks for your contribution.
And when i press 'S' button, i only get an empty aligned_face.jpg file.
I also met similar problems of very low score, any must i make the alighned face with some special means?
Thanks.

@macheski
Copy link

macheski commented Jan 8, 2018

Hello every one!
I have found the reason why the program on my computer all ways can't recognize the faces.
To recognize the faces , the key points are below:
1 Establish subfolders such like Jobs/Messi/Gates in the facedb folder, and place a face photo of Jobs/Messi/Gates in each subfolder.And all the photos must be named with "aligned_face".
2 The photo must be 96(w) x 112(h).96 and 112 is the number I found in the face-everthing code.
I select frontal faces of 6 persons and test the program with a threshold of 0.4.It does work! The photos I selected for test are from the sphere face project lfw-112x96 folder.I replaced one of the person's aligned_face with an 114 x 145 picture and the program can't recognize this face.So it seems that size of the aligned_face must be 96 x 112 or keep the width/height ratio be 96/112(I guess ,without any test).All the aligned_face are frontal faces.I guess that faces in profile in the facedb may cause a performance degradation.However, it doesn't matter for the faces in profile in test set, they are all recognizable.I also make two aligned_face of 112x96, both can be recognized.

@arasharchor
Copy link

@macheski
Great.
Please consider my comment in #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants