Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-server

Flask application to host face recognition model.

Api Documentation

  • Here form-data and form-file is used to send data.
  • In authorization header Bearer token is used.

Register Face

curl -X POST http://localhost:8000/register_face \
  -H "Authorization: Bearer <your-secret-key>" \
  -F "name=John Doe" \
  -F "student_id=12345" \
  -F "face_image=@face_image.jpg"

Identify faces and provide student info

curl -X POST http://localhost:8000/check_face \
  -H "Authorization: Bearer <your-secret-key>" \
  -F "face_image=@face_image.jpg"

Run app

gunicorn -w 4 'server:create_app()'

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages