diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php index 7524ff1..36e6fc9 100644 --- a/Contestation/verify_facial_api.php +++ b/Contestation/verify_facial_api.php @@ -58,6 +58,14 @@ class FacialVerificationAPI { * Utilisez Azure Face API, AWS Rekognition, ou une solution locale */ private function compareFaces($referenceImagePath, $capturedImageBase64) { + var_dump( + array( + "referenceImagePath" => $referenceImagePath, + "capturedImageBase64" => $capturedImageBase64, + ) + ); + exit; + // Option 1: Azure Face API (Recommandé) return $this->compareWithAzureFaceAPI($referenceImagePath, $capturedImageBase64); @@ -314,9 +322,6 @@ class FacialVerificationAPI { // 3. Enregistrer la photo capturée $capturedPhotoPath = $this->saveCapturedImage($request['idBeneficiaire'], $capturedImageBase64); - var_dump($capturedPhotoPath); - exit; - // 4. Comparer les visages $comparisonResult = $this->compareFaces( $request['photo_reference_path'],