PHP code example of kwn / recognizeim
1. Go to this page and download the library: Download kwn/recognizeim library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kwn / recognizeim example snippets
use RecognizeIm\Client\RestApi;
use RecognizeIm\Client\SoapApi;
use RecognizeIm\Configuration;
use RecognizeIm\Model\Image;
use RecognizeIm\RecognizeImApi;
// [...]
// create a configuration object first
$configuration = new Configuration('CLIENT_ID', 'API_KEY', 'CLAPI_KEY');
// depending on your needs you can use soap or rest api
$soapApi = new SoapApi($configuration);
$restApi = new RestApi($configuration, new ImageVerificator());
// or you can create an object that
php composer.phar update kwn/recognizeim