Skip to content

greycode/ocrlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OcrLite

介绍

本项目是对 chineseocr_lite 的一个简单封装,详情请参考该项目文档。

如何使用

Maven 添加依赖:

<dependency>
  <groupId>io.github.greycode</groupId>
  <artifactId>ocrlite</artifactId>
  <version>1.0.3-RELEASE</version>
</dependency>

将最新的 动态链接库模型文件 放到 resouces 目录下。

测试代码:

OcrDriver.initializeEngine();

String imagePath = "run-test/test_imgs/c.png";

OcrTextResult ocrResult = OcrDriver.detect(imagePath);

特别注意:1.0.3-RELEASE 为最新的简易封装版本。2.x.x 版本为实验版本,原项目自带的动态链接库不适用。

About

A Chinese OCR tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages