我正在为OCR应用程序使用Google Vision Android库(根据),当我运行该应用程序时,textRecognizer.isOperational()方法总是返回false。我认为这是因为Google Play Services无法下载所需的OCR文件,但它在某些设备中工作。是否可以手动下载并添加所需的文件?
我使用图像上传对OCR进行了一些测试,但希望对远程图像使用OCR。这些图像位于Google存储空间中,但我有以下错误:
image-annotator::error(10): Can not open file: gs://my_sample_api.appspot.com/my_sample_image.jpg
以下是相关的文档:
有什么想法吗?谢谢
我在我的项目中使用AspriseOCR从图像中识别文本。aspriseOCR.jar文件被正确地配置为我的Eclipse库,但是得到了下面的错误。有人能指点我怎么解决这个问题吗?
java.lang.UnsatisfiedLinkError: no AspriseOCR in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary
我开始学习Asprise技术。我想使用一种将图像转换为文本(OCR)的方法。
import com.asprise.util.ocr.OCR;
public class Test {
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("D:\\HEAD2.png"));
String s = new OCR().recognizeEverything(image);
大家好,我有一个用java编写的代码,在net beans中运行得很好,但是当我想在eclipse中运行时,这个异常出现了。
Exception in thread "main" class com.aspose.ocr.internal.g: Culture Name: en-US-EN is not a supported culture
com.aspose.ocr.internal.aP.b(Unknown Source)
com.aspose.ocr.internal.aP.<init>(Unknown Source)
com.aspose.ocr.in