a
This commit is contained in:
parent
747e55df39
commit
b3ff32ce9e
|
|
@ -301,9 +301,6 @@ class FacialVerificationAPI {
|
|||
];
|
||||
}
|
||||
|
||||
var_dump($this->maxAttempts);
|
||||
exit;
|
||||
|
||||
// 2. Vérifier le nombre de tentatives
|
||||
if ($request['attempts'] >= $this->maxAttempts) {
|
||||
$this->updateVerificationStatus($token, 'failed');
|
||||
|
|
@ -317,6 +314,9 @@ class FacialVerificationAPI {
|
|||
// 3. Enregistrer la photo capturée
|
||||
$capturedPhotoPath = $this->saveCapturedImage($request['assure_id'], $capturedImageBase64);
|
||||
|
||||
var_dump($capturedPhotoPath);
|
||||
exit;
|
||||
|
||||
// 4. Comparer les visages
|
||||
$comparisonResult = $this->compareFaces(
|
||||
$request['photo_reference_path'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user