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

Training the faceantispoofing model #17

Open
nalinmittal opened this issue Jun 22, 2020 · 1 comment
Open

Training the faceantispoofing model #17

nalinmittal opened this issue Jun 22, 2020 · 1 comment

Comments

@nalinmittal
Copy link

nalinmittal commented Jun 22, 2020

I went through Dr. Liu's repository. I came to the understanding that it utilizes a depth map input image for training but the tflite model in your android app requires only RGB(bitmap) input image. I want to use only RGB input image for my project. I have a few questions

  • Can you suggest an idea on how to train without using depth map as an input?
  • Why do you calculate a Laplacian of the bitmap before passing it to the tflite model? I understand it is for detecting edges. I am very interested in your line of thinking for it.

I thank you for your code as it gave me a lot of insights to make a mobile app. I appreciate your reply.

@syaringan357
Copy link
Owner

Sorry, I'm too busy recently. I haven't paid attention to GitHub for a long time.

  1. The depth map is only used in training for back propagation.
  2. Laplacian is used to calculate the sharpness of images. Low definition images are directly considered attacks because this model can't anti it.

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

2 participants