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