我正在跟进this http://kurup87.blogspot.ca/2012/03/android-ocr-tutorial-image-to-text.html编译教程this https://github.com/rmtheis/tess-two适用于 Android 的 Tesseract(光学字符识别包)的分支。我正在使用 Cygwin 为 Tesseract Android 项目构建 NDK。调用 ndk-build (从 tess-two 目录)时出现以下错误:
c:/android-ndk-r8b-windows/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: cannot find ./obj/local/armeabi-v7a/libgnustl_static.a: Permission denied
什么可能导致此错误?顺便说一句,是否有更简单的方法可以在 Android 上启动并运行 Tesseract?
在 Windows 下,以管理员身份运行命令提示符并重试:
搜索->cmd.exe->右键->以管理员身份运行
Cygwin 是不必要的——只需使用Windows 本身。您可以按照README https://github.com/rmtheis/tess-two关于 Tesseract fork 的构建说明。您正在关注的博客使该过程变得不必要的复杂。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)