Open
Description
Using the example I have this:
include_once 'face/FppClient.php';
use Fpp\FppClient;
$host = 'https://api-us.faceplusplus.com/facepp/v3/detect';
$apiKey = '{{key}}';
$apiSecret = '{{secret}}';
$client = new FppClient($apiKey, $apiSecret, $host);
$data = array(
'image_url' => "{{photo}}",
'return_landmark' => '2',
'return_attributes' => 'age,headpose,gender'
);
$resp = $client->detectFace($data);
var_dump($resp);
The response is this:
object(Fpp\Response)#5 (3) { ["headers"]=> NULL ["body"]=> array(1) { ["error_message"]=> string(13) "API_NOT_FOUND" } ["status"]=> int(404) }
How to get this to work?
Metadata
Metadata
Assignees
Labels
No labels