Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.35 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.35 KB

PaddleOCR-API

Introduction

PaddleOCR-API aims to provide an out-of-the-box ocr recognition interface, the ocr algorithm comes from PaddleOCR.

Docker Build

docker build -f Dockerfile-env.yml -t m986883511/paddleocr:env .
docker build -f Dockerfile-api.yml -t m986883511/paddleocr:api .

Docker Use

docker run --rm -it -p 8000:8000 -e DET_MODEL=/build/ch_PP-OCRv3_det_infer -e REC_MODEL=/build/ch_PP-OCRv3_rec_infer --gpus all --name PaddleOCR-API m986883511/paddleocr:api

Browser

When the docker run, open localhost:8000 you can see the interface.

📄 License

This project is released under Apache 2.0 license