PHP code example of qbil-software / abbyy-cloud

1. Go to this page and download the library: Download qbil-software/abbyy-cloud 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/ */

    

qbil-software / abbyy-cloud example snippets


use QbilSoftware\AbbyyCloud\AbbyyClient;
$abbyy = new AbbyyClient('my app name', 'my-app-key');

$imagePath = '/absolute/path/to-image.jpg';
$text = $abbyy->performOcr($imagePath);

echo $text;