edgeface icon indicating copy to clipboard operation
edgeface copied to clipboard

Add Face Verification API with FastAPI

Open AhmedYasserrr opened this issue 9 months ago • 0 comments

  • Added FastAPI server (api.py) for face verification.
  • Implemented Verifier class (verifier.py) for model loading and verification.
  • Introduced distance_utils.py for metric calculations with support for cosine similarity, Euclidean distance, and others.
  • Enhanced align.py to support multiple input types (paths, PIL images, NumPy arrays)
  • Added __init__.py for face_alignment to function as expected
  • Updated README.md with API usage.
  • Fixed requirements.txt (pytorch to torch) and added API requirements.

AhmedYasserrr avatar May 23 '25 12:05 AhmedYasserrr