This commit is contained in:
KANE LAZENI 2026-02-24 00:53:55 +00:00
parent ddad227fb1
commit b01ef7f77c

View File

@ -94,7 +94,8 @@ class FacialVerificationAPI {
]);
$referenceImageData = file_get_contents($referenceImagePath);
// $referenceImageData = file_get_contents($referenceImagePath);
$referenceImageData = $referenceImagePath;
$capturedImageData = base64_decode(explode(',', $capturedImageBase64)[1]);
$result = $rekognitionClient->compareFaces([
@ -105,7 +106,7 @@ class FacialVerificationAPI {
var_dump($result);
exit;
if (empty($result['FaceMatches'])) {
return [
'match' => false,