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

Refactor code, add tests, and update dependencies #6

Closed Devasy23 closed 6 months ago

Devasy23 commented 6 months ago

Description

This pull request merges the split-tests-mark-2 branch into main. The changes include splitting the test cases in test_face_cycle.py into smaller tests for each endpoint, creating a new file test_face_endpoints.py to separately test each endpoint, and removing deprecated code from various modules to improve performance and maintainability.

Type of change

How Has This Been Tested?

The changes have been tested by running the test suite and all tests pass. The new test cases in test_face_endpoints.py have been verified to correctly test each endpoint.

Checklist:

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 96.96970% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 89.64%. Comparing base (dcff0d0) to head (a4913c6). Report is 1 commits behind head on main.

Files Patch % Lines
testing/test_face_endpoints.py 96.92% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6 +/- ## ========================================== + Coverage 87.03% 89.64% +2.60% ========================================== Files 5 6 +1 Lines 216 280 +64 ========================================== + Hits 188 251 +63 - Misses 28 29 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.