8000 更新README中实例图片的路径 by crystaldust · Pull Request #2 · jiangxiluning/chinese-ocr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

更新README中实例图片 8000 路径 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# 实现功能

- [x] 文字方向检测 0、90、180、270度检测
- [x] 文字方向检测 0、90、180、270度检测
- [x] 文字检测 后期将切换到keras版本文本检测 实现keras端到端的文本检测及识别
- [x] 不定长OCR识别
- [x] 不定长OCR识别

## 环境部署
``` Bash
Expand All @@ -16,51 +16,51 @@ sh setup-cpu.sh

# 模型训练

## 训练keras版本的crnn
## 训练keras版本的crnn

``` Bash
cd train & sh train-keras.sh
cd train & sh train-keras.sh
```

## 训练pytorch版本的crnn
## 训练pytorch版本的crnn

``` Bash
cd train & sh train-pytorch.sh
cd train & sh train-pytorch.sh
```
# 文字方向检测
基于图像分类,在VGG16模型的基础上,迁移训练0、90、180、270度的文字方向分类模型,详细代码参考angle/predict.py文件,训练图片100000张,准确率95.10%。
模型地址[百度云](https://pan.baidu.com/s/1nwEyxDZ)下载

# 文字检测
支持CPU、GPU环境,一键部署,
[文本检测训练参考](https://github.com/eragonruan/text-detection-ctpn)(https://github.com/eragonruan/text-detection-ctpn)
[文本检测训练参考](https://github.com/eragonruan/text-detection-ctpn)(https://github.com/eragonruan/text-detection-ctpn)


# OCR 端到端识别:GRU+CTC
## ocr识别采用GRU+CTC端到到识别技术,实现不分隔识别不定长文字
提供keras 与pytorch版本的训练代码,在理解keras的基础上,可以切换到pytorch版本,此版本更稳定
提供keras 与pytorch版本的训练代码,在理解keras的基础上,可以切换到pytorch版本,此版本更稳定


# 识别结果展示
## 文字检测及OCR识别结果
<div>
<img width="300" height="300" src="https://github.com/chineseocr/chinses-ocr/blob/master/img/tmp.jpg"/>
<img width="300" height="300" src="https://github.com/chineseocr/chinses-ocr/blob/master/img/tmp.png"/>
<img width="300" height="300" src="img/tmp.jpg"/>
<img width="300" height="300" src="img/tmp.png"/>
</div>

### 倾斜文字

<div>
<img width="300" height="300" src="https://github.com/chineseocr/chinses-ocr/blob/master/img/tmp1.jpg"/>
<img width="300" height="300" src="https://github.com/chineseocr/chinses-ocr/blob/master/img/tmp1.png"/>
<img width="300" height="300" src="img/tmp1.jpg"/>
<img width="300" height="300" src="img/tmp1.png"/>
</div>

## 参考

1.crnn https://github.com/meijieru/crnn.pytorch.git
1.crnn https://github.com/meijieru/crnn.pytorch.git

2.keras-crnn 版本实现参考 https://www.zhihu.com/question/59645822
2.keras-crnn 版本实现参考 https://www.zhihu.com/question/59645822

3.ctpn https://github.com/eragonruan/text-detection-ctpn , https://github.com/tianzhi0549/CTPN
3.ctpn https://github.com/eragonruan/text-detection-ctpn , https://github.com/tianzhi0549/CTPN


0