Skip to content

Dual Authentication: Using face-recognition and iris-recognition for more accurate authentication based on FastAPI system.

Notifications You must be signed in to change notification settings

mertz1999/Dual-Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dual Authentication

Dual Authentication: Using face-recognition and iris-recognition for more accurate authentication based on FastAPI system.

We using FaceNet model in Deepface for face recognition and daugman algorithm for iris recognition.

App Screenshot

Requirements

  • fastapi
  • uvicorn
  • sqlalchemy
  • passlib
  • python-multipart
  • python-opencv
  • deepface
  • sklearn

How to use

First clone this project and go to dual-authentication folder

git clone git@github.com:mertz1999/Dual-Authentication.git
cd Dual-Authentication

Then install requirements packages in requirements.txt file:

pip install -r requirements.txt

for running server you need to start uvicorn:

uvicorn main:app --reload

After this you will be see something like this:

INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [9616] using StatReload
INFO:     Started server process [11052]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

you got host ip and port to use it. you can use your browser or curl command in shell for use this api.

Adding new user is available on http://127.0.0.1:8000/add and verifying a user is on http://127.0.0.1:8000/verify

Note: use http://127.0.0.1:8000/docs for Swagger UI.

About

Dual Authentication: Using face-recognition and iris-recognition for more accurate authentication based on FastAPI system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages