qbil-software/abbyy-cloud

Interface for communication with ABBYY cloud OCR

v1.0.1 2018-01-27 20:23 UTC

This package is auto-updated.

Last update: 2024-03-29 02:53:08 UTC


README

Interface for communication with ABBYY cloud OCR

Usage

First, you have to register with ABBYY Cloud: https://cloud.ocrsdk.com/Account/Register

1. Init
use QbilSoftware\AbbyyCloud\AbbyyClient;
$abbyy = new AbbyyClient('my app name', 'my-app-key');
2. Submit image (and wait for a while)
$imagePath = '/absolute/path/to-image.jpg';
$text = $abbyy->performOcr($imagePath);
3. Results!
echo $text;