You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: New Endpoint for recognise_face()
Description
We need a new endpoint, recognise_face(), that accepts a base64 string as input. This endpoint should convert the base64 string into embeddings using the same process as the create_new_faceEntry() endpoint.
Once the embeddings are calculated, the endpoint should run a vector search query on our MongoDB Atlas database. The search should use Euclidean distance as the similarity measure to find the most similar face in the database.
Expected Behavior
The endpoint should return the EmployeeCode and other associated information of the most similar face found in the database. If no similar face is found, the endpoint should return an appropriate error message.
Benefits
This feature will allow us to identify faces from images without having to manually compare the embeddings. This could be useful in a variety of scenarios, such as employee check-in/check-out, security checks, etc.
Tasks
Implement the recognise_face() endpoint.
Write tests for the new endpoint.
Update the API documentation to include the new endpoint.
The text was updated successfully, but these errors were encountered:
Feature Request: New Endpoint for
recognise_face()
Description
We need a new endpoint,
recognise_face()
, that accepts a base64 string as input. This endpoint should convert the base64 string into embeddings using the same process as thecreate_new_faceEntry()
endpoint.Once the embeddings are calculated, the endpoint should run a vector search query on our MongoDB Atlas database. The search should use Euclidean distance as the similarity measure to find the most similar face in the database.
Expected Behavior
The endpoint should return the
EmployeeCode
and other associated information of the most similar face found in the database. If no similar face is found, the endpoint should return an appropriate error message.Benefits
This feature will allow us to identify faces from images without having to manually compare the embeddings. This could be useful in a variety of scenarios, such as employee check-in/check-out, security checks, etc.
Tasks
recognise_face()
endpoint.The text was updated successfully, but these errors were encountered: