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

two questions,thanx #58

Closed
dongdongmaster opened this issue Feb 21, 2018 · 6 comments
Closed

two questions,thanx #58

dongdongmaster opened this issue Feb 21, 2018 · 6 comments

Comments

@dongdongmaster
Copy link

dongdongmaster commented Feb 21, 2018

1.test.py,some of my jpgs can not detect feature,most is side face pics,but other algorithm works well,
2.what is the similarity value for face recognition as one person,0.6? 0.7?0.8?

@dongdongmaster dongdongmaster changed the title two question,thx two questions,thanx Feb 21, 2018
@dongdongmaster
Copy link
Author

for question1,face_embedding.py,"ret" is None,then returned

ret = self.detector.detect_face_limited(face_img, det_type = self.args.det)
if ret is None:
return None

@nttstar
Copy link
Collaborator

nttstar commented Feb 21, 2018

MTCNN failed, I think. You may need to change the parameters of MTCNN or use stronger facial landmarks detector to deal with it.

Cosine threshold may differ in different environments. To find a optimal value by cross validation.

@dongdongmaster
Copy link
Author

thank u @nttstar

@dongdongmaster
Copy link
Author

sorry,
"MTCNN failed, I think. You may need to change the parameters of MTCNN" ,where i can do this,change this value?
test.py
"parser.add_argument('--det', default=2, type=int, help='mtcnn option, 2 means using R+O, else using O')"

@nttstar
Copy link
Collaborator

nttstar commented Feb 22, 2018

thresholds, min-size, etc... Read the source code.

@nttstar nttstar closed this as completed Feb 22, 2018
@brealisty
Copy link

for question1,face_embedding.py,"ret" is None,then returned

ret = self.detector.detect_face_limited(face_img, det_type = self.args.det)
if ret is None:
return None

I also meet the same problem,I do it in insight_pytorch get the face_bbox(ret not none), but this code is always return None. And I change the ret to 2 or some other interger, face_bbox performence not well

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

3 participants