周总批发商场
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
599 B

<?php
require('../../vendor/autoload.php');
use Volc\Service\Visual;
$client = Visual::getInstance();
// call below method if you dont set ak and sk in ~/.volc/config
$client->setAccessKey($ak);
$client->setSecretKey($sk);
echo "\nDemo OCRNormal\n";
$response = $client->OCRNormal(['form_params' => ['image_base64' => '']]);
echo $response;
// echo "\nDemo ID Card\n";
// $response = $client->OCRNormal(['form_params' => ['image_base64' => '']]);
// echo $response;
// echo "\nDemo Bank Card\n";
// $response = $client->OCRNormal(['form_params' => ['image_base64' => '']]);
// echo $response;