PHP/jQuery/JavaScript 中的免费 OCR 处理 API
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14284656/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
free OCR processing API in PHP/jQuery/JavaScript
提问by Stefan
Is there any free PHP OCR API, that is well documented in PHP, jQuery or JavaScript?
是否有任何免费的 PHP OCR API,在 PHP、jQuery 或 JavaScript 中有详细记录?
I'm programming a web app for iOS and I'd like to utilize the new photo upload API in iOS 6 safari to use for OCR image processing.
我正在为 iOS 编写一个网络应用程序,我想利用 iOS 6 Safari 中新的照片上传 API 来进行 OCR 图像处理。
Thanks a ton! :)
万分感谢!:)
(Edit:Oh and a Google-Googles like API for image recognition would also suffice, it doesn't have to be OCR, though I would pefer it. :)
(编辑:哦,像用于图像识别的 API 之类的 Google-Googles 也足够了,它不必是 OCR,尽管我更喜欢它。:)
回答by Stefan
Tesseractis really simple to use. Someone has even written a PHP wrapper for it so you won't have to deal with the exec() command. Have a look at this here: http://github.com/thiagoalessio/tesseract-ocr-for-php
Tesseract使用起来非常简单。有人甚至为它编写了一个 PHP 包装器,这样您就不必处理 exec() 命令。在这里看看这个:http: //github.com/thiagoalessio/tesseract-ocr-for-php
回答by kmhigashioka
You can try http://www.newocr.com/api.php
It uses REST API.
您可以尝试http://www.newocr.com/api.php
它使用 REST API。

