Closed Devasy23 closed 1 month ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Failed conditions
7 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
6.2% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
This pull request adds a new
vector_search
function to thedatabase.py
file, which performs a pipeline aggregation vector search on the MongoDB Atlas database. It also improves the face recognition code by refactoring it to use the Facenet512 model for better accuracy. Additionally, error handling has been added for cases where no match is found in face recognition. The pull request also includes code for therecognize_face
API.