Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skye-z/miniocr
基于PaddlePaddle, 封装PaddleHub+PaddleOCR
https://github.com/skye-z/miniocr
Last synced: about 12 hours ago
JSON representation
基于PaddlePaddle, 封装PaddleHub+PaddleOCR
- Host: GitHub
- URL: https://github.com/skye-z/miniocr
- Owner: skye-z
- License: apache-2.0
- Created: 2020-12-04T06:55:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-04T07:54:55.000Z (almost 4 years ago)
- Last Synced: 2023-05-02T11:40:11.549Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MiniOCR
[![License](https://img.shields.io/badge/license-Apache%202-red.svg)](LICENSE)
![Version](https://img.shields.io/github/release/PaddlePaddle/PaddleHub.svg)
![Paddle](https://img.shields.io/badge/paddle-2.0.0rc0-orange.svg)
[![Docker](https://img.shields.io/badge/docker-skay98%2Fmini--ocr-brightgreen)](https://hub.docker.com/r/skay98/mini-ocr)PaddleHub: [项目地址](https://github.com/PaddlePaddle/PaddleHub) [国内仓库](https://gitee.com/PaddlePaddle/PaddleHub)
PaddleOCR: [项目地址](https://github.com/paddlepaddle/PaddleOCR) [国内仓库](https://gitee.com/PaddlePaddle/PaddleOCR)
## 重要提示
本项目基于PaddlePaddle2.0.0rc0, 封装了OCR服务, 但是并非使用官方推荐的模型!!!!
1. 检测模型: ch_ppocr_server_v1.1_det_infer
2. 方向分类器: ch_ppocr_mobile_v1.1_cls_infer
3. 识别模型: ch_ppocr_server_v1.1_rec_infer大小约为155M, 如果需要运行在低配置设备请修改dockerfile中的模型文件
## 构建方向
一键式服务化部署, 具体实现逻辑请参考[官方文档](https://gitee.com/paddlepaddle/PaddleOCR/blob/develop/deploy/hubserving/readme.md)
## 使用方法
1. 自行构建
```
git clone https://github.com/skai-zhang/MiniOCR.gitcd MiniOCR
docker build -f min-ocr.dockerfile -t mini-ocr:1.0.1 .
```2. 仓库拉取
```
docker run --name MiniOCR -p 8866:8866 skay98/mini-ocr
```