View Code? Open in Web Editor
NEW
基于sml2h3开源的ddddocr构建的java开源项目
License: Apache License 2.0
ddddocr-for-java's Introduction
- Focus on Java and Python development
- Focus on big data and AI
- Current work is about the application of AI in medical
- Here is my github blog page
- Interested in many magical tools
ddddocr-for-java's People
Contributors
Watchers
ddddocr-for-java's Issues
类似于这种的验证码
目前是在一个定时任务类中调用这个ocrEngine
我在代码块中初始化的engine
static {
engine = OCREngine.instance();
log.info("OCR引擎初始化完成");
}
现在存在的问题是每调用一次engine.recognize(read);内存就会彪高一点,直至把内存撑爆。
为了避免是使用错误,我还特意用了第三方的验证码识别服务,替换本地ocr识别的方式,测试了几个小时,发现内存很稳定,没有问题。大佬能帮忙分析下不
java版实测基本都在200ms左右,python版本在25ms左右