通过Javascript或PHP将图像转换为文本? [重复]

时间:2022-03-05 23:35:56

Possible Duplicate:
How can I implement OCR on a website using PHP?

可能重复:如何使用PHP在网站上实现OCR?

Are there any scripts out there to convert an image containing text into plain text, preferably using Javscript or PHP? For example, take the image below:

是否有任何脚本将包含文本的图像转换为纯文本,最好使用Javscript或PHP?例如,拍下面的图片:

通过Javascript或PHP将图像转换为文本? [重复]

I would like this image to be converted to simply "ABCDEFGHIJK."

我希望将此图像转换为“ABCDEFGHIJK”。

2 个解决方案

#1


3  

Yes, this is called Optical Character Recognition (OCR) and there are lots of libraries available for most languages.

是的,这称为光学字符识别(OCR),并且有大量的库可供大多数语言使用。

#2


1  

maybe this would help you .. php:

也许这会帮助你.. php:

http://www.phpclasses.org/package/2874-PHP-Recognize-text-objects-in-graphical-images.html

#1


3  

Yes, this is called Optical Character Recognition (OCR) and there are lots of libraries available for most languages.

是的,这称为光学字符识别(OCR),并且有大量的库可供大多数语言使用。

#2


1  

maybe this would help you .. php:

也许这会帮助你.. php:

http://www.phpclasses.org/package/2874-PHP-Recognize-text-objects-in-graphical-images.html