federicoginosa / textcleaner
This package is abandoned and no longer maintained.
No replacement package was suggested.
A wrapper to work with TextCleaner inside your PHP scripts.
v1.0
2015-04-17 17:47 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2017-05-05 13:31:15 UTC
README
A wrapper to work with Textcleaner, an imagemagick script to processes a scanned document of text to clean the text background
$textcleaner = new Textcleaner( dirname(__FILE__) . '/images/image.jpg' ); $textcleaner->execute();
Instalation
Via composer (https://packagist.org/packages/federicoginosa/textcleaner)
{
"require": {
"federicoginosa/textcleaner": ">= 1.0.0"
}
}
Dependencies
IMPORTANT: Make sure that the textcleaner
binary is on your $PATH.
If you're running PHP on a webserver, the user may be not you, but _www or
similar.
If you need, there is always the possibility of modify your $PATH:
$path = getenv('PATH'); putenv("PATH=$path:/usr/local/bin");