This commit is contained in:
2026-02-23 23:41:24 +00:00
parent 506a90c5de
commit 70c89fe4c1
2 changed files with 27 additions and 2 deletions

View File

@@ -62,15 +62,16 @@ class FacialVerificationAPI {
array(
"referenceImagePath" => $referenceImagePath,
"capturedImageBase64" => $capturedImageBase64,
"photoAssureCrypte" => $_SESSION['photoAssureCrypte'],
)
);
exit;
// Option 1: Azure Face API (Recommandé)
return $this->compareWithAzureFaceAPI($referenceImagePath, $capturedImageBase64);
// return $this->compareWithAzureFaceAPI($referenceImagePath, $capturedImageBase64);
// Option 2: AWS Rekognition
// return $this->compareWithAWSRekognition($referenceImagePath, $capturedImageBase64);
return $this->compareWithAWSRekognition($referenceImagePath, $capturedImageBase64);
// Option 3: Solution locale avec OpenCV/dlib (avancé)
// return $this->compareWithLocalFaceRecognition($referenceImagePath, $capturedImageBase64);