web-atrio/tesseract-php

PHP class for Tesseract command line

0.2 2017-10-13 13:45 UTC

This package is not auto-updated.

Last update: 2024-04-28 01:18:53 UTC


README

PHP class for Tesseract command line

Requirements

You should have Tesseract installed.

Installation

The package can be installed via composer:

$ composer require web-atrio/tesseract-php

Usage

Read image file or PDF file. For PDF file the temp property is required.

$tesseract = new TesseractPHP("test.png");
$output = $tesseract->run();

License

The MIT License (MIT). Please see License File for more information.