请问,想做人脸的比对,facetoken有问题
Ta的回复 :同样的情况,在人脸库中获得的face_token不能用,本地拍照检测的可以用。 $res=$client->faceGetlist($userId, $groupId); $token1=$res['result']['face_list'][0]['face_token']; $token2 = "988784c9f27090ad3e48fd46f898e0f5"; dump($token1); $result = $client->match(array( array( 'image' => $token1, 'image_type' => 'FACE_TOKEN', ), array( 'image' => $token2, 'image_type' => 'FACE_TOKEN', ), )); dump($result); 下面是打印结果 string(32) "988784c9f27090ad3e48fd46f898e0f5" array(6) { ["error_code"] => int(222209) ["error_msg"] => string(20) "face token not exist" ["log_id"] => int(304592813239230911) ["timestamp"] => int(1571323923) ["cached"] => int(0) ["result"] => NULL }