-
Notifications
You must be signed in to change notification settings - Fork 56
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
My results always return 1. #14
Comments
I do have found the fact that the uploaded model pretrained from replay/3dmad database will kill too much live faces(dont remember the ratio but quite high) on other databases, though they do work well on single database. Cross-database validation still a big problem here so far as i know. Personally, i choose other approaches to detect attack, since i dont think a cropped and resized face contain sufficient info to tell difference here. what is worse, in practical scene, you could not handle the uploaded image quality, and this has never been considered in most available database. |
@cvtower return 1 means live face, or attack face? and I found that it returns 1 when prob > 0.5 and it returns 0 when prob < 0.5. |
@Jason-xin 1 is attack.0 is real. I suggest you train your own model.I trained on replay-attack and the acc is 0.96. |
@cvtower So what other approaches you apply. Can you please specify? |
@cvtower |
I just use the FASNet.py,run on Keras(Using TensorFlow backend) using the weights REPLAY-ftweights18.h5.I Pre-processing the input data ( find the face and cropped to a window sized 96 pixels ).But the result always return 1.Does anyone know why?
The text was updated successfully, but these errors were encountered: