a
This commit is contained in:
parent
add8b71ec5
commit
22455a65e6
|
|
@ -97,6 +97,14 @@ class FacialVerificationAPI {
|
|||
// $referenceImageData = file_get_contents($referenceImagePath);
|
||||
$referenceImageData = $referenceImagePath;
|
||||
$capturedImageData = base64_decode(explode(',', $capturedImageBase64)[1]);
|
||||
|
||||
var_dump(
|
||||
array(
|
||||
"referenceImageData" => $referenceImageData,
|
||||
"capturedImageData" => $capturedImageData,
|
||||
)
|
||||
);
|
||||
exit;
|
||||
|
||||
$result = $rekognitionClient->compareFaces([
|
||||
'SourceImage' => ['Bytes' => $capturedImageData],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user