{"repo":"velviagris/PaddleOCRFastAPI","free":true,"listed":false,"github":"https://github.com/velviagris/PaddleOCRFastAPI","clone":"git clone https://github.com/velviagris/PaddleOCRFastAPI.git","description":"A simple way to deploy PaddleOCR based on FastAPI. (PaddleOCR 的 FastAPI 快速部署方案)","language":"Python","stars":173,"topics":["docker","docker-compose","dockerfile","fastapi","paddleocr","ocr"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"PaddleOCRFastAPI 中文 A simple way to deploy PaddleOCR based on FastAPI . Support Version PaddleOCR Branch :--: :--: v2.5 paddleocr-v2.5 v2.7 paddleocr-v2.7 Features - [x] Local path image recognition - [x] Base64 data recognition - [x] Upload file recognition Deployment Methods Deploy Directly 1. Copy the project to the deployment path The master branch is the most recent version of PaddleOCR supported by the project. To install a specific version, clone the branch with the corresponding version number. 2. (Optional) Create new virtual environment to avoid dependency conflicts 3. Install required dependencies 4. Run FastAPI Docker Deployment Test completed in Centos 7 , Ubuntu 20.04 , Ubuntu 22.04 , Windows 10 , Windows 11 , requires Docker to be installed. 1. Copy the project to the deployment path The master branch is the most recent version of PaddleOCR supported by the project. To install a specific version, clone the branch with the corresponding version number. 2. Building a Docker Image 3. Edit docker-compose.yml 4. Create the Docker container and run 5. Swagger Page at localhost: /docs Change language 1. Clone this repo to localhost. 2. Edit routers/ocr.py , modify the parameter \"lang\": Before modify, read the supported language list. 3. Rebuild the docker image, or run the main.py directly. Screenshots API Docs: /docs Todo - [x] support ppocr v4 - [ ] GPU mode - [x] Image url recognition License PaddleOCRFastAPI is licensed under the MIT license. Refer to LICENSE for ","default_branch":null,"files":null,"tree":[],"storefront":"/r/velviagris","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/velviagris/PaddleOCRFastAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}