Git Product home page Git Product logo

juan-csv / face_liveness_detection-anti-spoofing Goto Github PK

View Code? Open in Web Editor NEW
255.0 7.0 69.0 140.71 MB

face liveness detection activate, the script asks the person to generate an action, for example one of the actions they may ask you to do is smile, turn your face to the right, get angry, blink, etc. The actions are requested randomly, after fulfilling all the actions it generates a message saying "liveness successful" or "liveness fail"

License: MIT License

Python 98.12% Dockerfile 1.88%
liveness-detection anti-spoofing face-liveness-detection python face-anti-spoofing profile-detection emotion-detection blink-detection face-detection face-antispoofing

face_liveness_detection-anti-spoofing's Introduction

face_liveness_detection-Anti-spoofing

face liveness detection activate, the script asks the person to generate an action, for example one of the actions they may ask you to do is smile, turn your face to the right, get angry, blink, etc. The actions are requested randomly, after fulfilling all the actions it generates a message saying "liveness successful" or "liveness fail".

How to install:

pip install -r requirements.txt 

How to run:

The code is tested in python 3.7.8 and macOS Catalina

python face_anti_spoofing.py 

alt text

alt text

References

face_liveness_detection-anti-spoofing's People

Contributors

deepsourcebot avatar juan-csv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

face_liveness_detection-anti-spoofing's Issues

How to render it in HTML

Hi I am new to python.
Would you please show me how can I run this code using 'flask run' command and render it in html? (any links or resources may help)
Or would you please make a txt file which includes steps to achieve the goal mentioned above?
It would help me greatly.

output:LIFENESS FAIL

hi
thank for you
Each time output test:LIFENESS FAIL
And I do all the movements correctly

How can you help me?
thank you

Dependency issue

I am trying this code in a conda environment using anaconda on windows10. There are lots of dependency issues. Which python version are you using and OS?

Emotion detector takes long time to initialise

I have noticed the program freezes for a few seconds while the emotion detector initializes during the first few frames of the stream. Is there a way to speed it up, or even better, somehow we can initialize it before the stream opens up. I want to figure out a way to give lag free stream to the user.

Any help would be appreciated. thanks :)

model_dropout

What is the architecture of the model for emotion detection(model corresponding to model_dropout.hdf5) or how does it work.
@juan-csv .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.