Comments (10)
@ZbkSou 执行brew安装tesseract之后还是同样的问题
from millionhero.
MAC 上安装tesseract 并下载了全部 语言文件 到 tessdata 目录后,问题依旧。但是,如果将识别语言设置为 “eng” ,运行正常。没明白问题到底出在了哪里,在 nguyenq/tess4j#26 这个问题中,虽然问题是关注状态,但是后面几个伙计的问题跟这个一样一样的,也是将被识别语言设置为 chi-sim 后无法正常执行,
from millionhero.
老铁,我也是 mac,你遇到了下面这样的问题吗?
获取图片成功/Users/XXX/projects/test/MillionHero/target/classes/20180110140809.png
Failed loading language 'chi_sim'
Tesseract couldn't load any languages!
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000136923ea8, pid=89440, tid=0x0000000000002603
#
# JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libtesseract.dylib+0x12ea8] _ZN9tesseract9Tesseract15recog_all_wordsEP8PAGE_RESP10ETEXT_DESCPK4TBOXPKci+0xaa
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/zyd/projects/test/MillionHero/hs_err_pid89440.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
from millionhero.
@Lnybb
nguyenq/tess4j#34
官方回复是没做过macos的兼容测试,我没找到解决方案
from millionhero.
执行这个
brew install tesseract
如果还有问题多多交流
from millionhero.
@Lnybb 我也遇到了这个问题,你解决了没?
from millionhero.
我也遇到了这个问题,解决了么?
from millionhero.
@CnPeng 改成eng后,出现文字识别乱码,有遇到同样的问题吗?
from millionhero.
MAC好像暂时不支持,建议使用百度OCR,具体使用参考wiki里面的步骤介绍
from millionhero.
这个是权限的问题,最简单的方式是通过sudo运行,就可以了
from millionhero.
Related Issues (20)
- 百度OCR识别出来很多乱码,无法给出最终答案 HOT 1
- 运行的时候,会在电脑行唤起浏览器并百度搜索,这是怎么回事 HOT 2
- qq交流群,欢迎加入
- 根据PMI值给出答案的算法,成功率有点低 HOT 2
- Caused by: java.io.IOException: CreateProcess error=5, 拒绝访问 HOT 2
- Error:(3, 30) java: 程序包net.sourceforge.tess4j不存在 HOT 1
- 版主,请问可以让搜索结果展示,出现多个结果吗? HOT 2
- 百度OCR识别出错
- 需要对百度OCR出来的JSON数据进行处理。
- 结果为啥完全看不懂 HOT 3
- maven 下载后提示缺少程序包 HOT 1
- as,eclipse 导入 HOT 3
- 提取问题的方法有bug
- 问题提取方案
- 搜索支持使用搜狗或其他搜索引擎。
- 支持安卓虚拟机
- adb pull图片在一些机型上偶尔失败 HOT 2
- mac系统可以使用么,adb配置完成一直不对 HOT 1
- 准确率还是有待提高。
- 版主,请教图片的坐标裁剪问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from millionhero.