Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Cygwin:将tiff图像转换为文本时出错_Android_Cygwin - Fatal编程技术网

Android Cygwin:将tiff图像转换为文本时出错

Android Cygwin:将tiff图像转换为文本时出错,android,cygwin,Android,Cygwin,我想在tesseract ocr的帮助下制作名片扫描仪项目。我使用了这个链接 在这个链接中,我使用了非Windows mean cygwin来编译和运行tesseract ocr。现在的主要问题是,当我尝试使用以下命令将tiff图像转换为文本时,在执行make install命令之后:“tesseract eurotext.tif outputtext-l eng” 但是cygwin命令行给了我这样的错误: actual_tessdata_num_entries_<=TESSDATA_

我想在tesseract ocr的帮助下制作名片扫描仪项目。我使用了这个链接

在这个链接中,我使用了非Windows mean cygwin来编译和运行tesseract ocr。现在的主要问题是,当我尝试使用以下命令将tiff图像转换为文本时,在执行make install命令之后:“tesseract eurotext.tif outputtext-l eng”

但是cygwin命令行给了我这样的错误:

  actual_tessdata_num_entries_<=TESSDATA_NUM_ENTRIES:Error:Assert failed:in file
  tessdatamanager.cpp, line 55
  Segmentation fault <core dumpes>

actual\u tessdata\u num\u entries\up>您的语法是正确的。听起来你的英文定义文件不好。试试这个:

通过此链接:

尝试替换此文件:

附言:
这和“安卓”有什么关系?

嗨,谢谢你的回复。我使用xp实现了这一点,并且给出了这个过程是针对Linux的链接。此外,我还下载了eng.traineddata文件并将其复制到“C:\cygwin\usr\local\share\tessdata”中,但仍然存在相同的问题。请帮助。您好,非常感谢。我的代码运行得很好。我下载traineddata文件。但不是这个链接。当我在我的项目中使用这个链接和eng.traineddata时。它的工作。非常感谢。你让我开心。再次感谢你。