| xqd
@@ -350,6 +350,11 @@ class UserController extends Controller
|
|
|
'image_type' => 'BASE64',
|
|
|
'liveness_control'=>'NORMAL',
|
|
|
),
|
|
|
+ array(
|
|
|
+ 'image' => base64_encode(file_get_contents('https://zhengda.oss-accelerate.aliyuncs.com/tinymce/images/cbc1fe6ae109bd0d11b32d066dcd4d7f60e7f1ee5d624.jpg')),
|
|
|
+ 'image_type' => 'BASE64',
|
|
|
+ 'liveness_control'=>'NORMAL',
|
|
|
+ ),
|
|
|
);
|
|
|
$res = $apiFace->match($images);
|
|
|
}catch (\Exception $exception){
|