Devasy23 / FaceRec

An advanced facial recognition system designed for real-time identification using deep learning models and optimized vector search. Features include face detection, embedding generation, and scalable deployment options.
Apache License 2.0
12 stars 1 forks source link

Feature Request: Testing for `recognise_face()` Endpoint #11

Open Devasy23 opened 6 months ago

Devasy23 commented 6 months ago

Feature Request: Testing for recognise_face() Endpoint

Description

Once the recognise_face() endpoint is implemented, we need to create pytest tests to ensure it's working as expected. These tests should cover various scenarios, including successful face recognition, failure due to no matching face in the database, and failure due to invalid input.

Expected Behavior

The tests should confirm that the recognise_face() endpoint correctly identifies a face from a base64 string, returns the correct employee information, and handles errors appropriately.

Benefits

Testing is crucial to ensure the reliability and stability of our application. By testing the recognise_face() endpoint, we can catch any bugs or issues early and ensure that it's working as expected before it's deployed.

Tasks