a
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user