首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > php-tesseract

php-tesseract

  • 资源大小:0.00 B
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Php-tesseract is a wrapper class for Tesseract OCR that allows any conventional image files (JPG, GIF ,PNG , TIFF and etc) to be read and decoded into readable languages. No temporary file will be created during the OCR processing. ``` Init(".","eng",$modeoroem=OEM_DEFAULT); $api->SetPageSegMode(PSM_AUTO); $mImgFile = "eurotext.jpg"; $handle=fopen($mImgFile,"rb"); $mBuffer=fread($handle,filesize($mImgFile)); print strlen($mBuffer); $result=ProcessPagesBuffer($mBuffer,strlen($mBuffer),$api); print "result(ProcessPagesBuffer)="; print $result; $result = ProcessPagesFileStream($mImgFile,$api); print "result(ProcessPagesFileStream)="; print $result; ?> ```
VIP VIP
  • Zzz 1天前 成为了本站会员

  • Katou Megumi 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 流浪 1天前 成为了本站会员

  • 也是一生 1天前 成为了本站会员

  • king666 2天前 成为了本站会员

  • ﹏約啶℡ 2天前 成为了本站会员

  • Long for 2天前 成为了本站会员

  • 2天前 成为了本站会员

  • 金. 2天前 成为了本站会员

0.169421s