Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.git

cd MiniOCR

docker build -f min-ocr.dockerfile -t mini-ocr:1.0.1 .
```

2. 仓库拉取

```
docker run --name MiniOCR -p 8866:8866 skay98/mini-ocr
```