A Streamlit WebRTC web app that can identify whether a face comes from a real person or a fake person and prevents the system from giving false verification.
https://github.com/jomariya23156/face-recognition-with-liveness-web-login
I would highly suggest all of you to take a look at this wonderful repo which served as the inspiration for my project.
The drawback of the approach taken by jomariya23156 is that although he claims that it is a web app it cannot be used in a server-client scenario as it lacks basic webrtc features.
For more info, please check out this link: https://blog.streamlit.io/how-to-build-the-streamlit-webrtc-component/
Start developing locally.
Fork the repository. then clone the repo locally by doing -
git clone https://github.com/birdowl21/Face-Liveness-Detection-Anti-Spoofing-Web-App.gitpip install virtualenv
python -m venv [env-name]
[env-name]Scriptsactivate cd Face-Liveness-Detection-Anti-Spoofing-Web-Apppip install -r requirements.txtstreamlit run app.pyYou should now have the application running and accessible at http://localhost:8501.
You could deploy the app to cloud platforms such as Streamlit-sharing and Heroku.
Deployment links:
If you are facing issues with deploying the app remotely, please refer to this link: https://docs.streamlit.io/knowledge-base/deploy/remote-start



After cloning & setting up the local project you can push the changes to your github fork and make a pull request.
git add .
git commit -m "feat: added new stuff"
git push YOUR_REPO_URL develop