PaddleOCR-API aims to provide an out-of-the-box ocr recognition interface, the ocr algorithm comes from PaddleOCR.
docker build -f Dockerfile-env.yml -t m986883511/paddleocr:env .
docker build -f Dockerfile-api.yml -t m986883511/paddleocr:api .
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
When the docker run, open localhost:8000 you can see the interface.
This project is released under Apache 2.0 license