Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 485 Bytes

File metadata and controls

28 lines (19 loc) · 485 Bytes

abbyy-cloud

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;