【发布时间】:2012-03-08 13:55:14
【问题描述】:
Tesseract 可以通过 putty 使用此命令行“/usr/bin/tesseract image.tif 文件”正常工作,但不能通过 php 脚本工作:
exec("/usr/local/bin/convert image.jpg image.tif");
exec("/usr/bin/tesseract image.tif file ");
$f=fopen("file","r");
我只有 image.tif 由 imagemagick 转换:/
有人对此有想法吗?
提前谢谢你
【问题讨论】: