a
This commit is contained in:
parent
ddad227fb1
commit
b01ef7f77c
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user