RESTful API for face recognition built using Flask and DeepFace.
- Clone the repository:
git clone https://github.com/AymanMujahid/face-recognition-api.git
Endpoint: /add_face_encoding (POST)
{ "name" : "name",
"image" : "image" }
{ "message" : "Face encoding added successfully" }
Endpoint: /recognize_face (POST)
{ "name" : "name",
"image" : "image" }
{ "message" : "Face recognized as name",
"similarity" : 0.85,
"embedding" : [0.1, 0.2, ..., 0.9] }
///////////////
the clone URL, make sure to customize the content according to Face Recognition API functionality and requirements.