{"id":35113288,"url":"https://github.com/hellokaton/ppocr-api","last_synced_at":"2026-05-23T14:33:03.196Z","repository":{"id":186025254,"uuid":"674500688","full_name":"hellokaton/ppocr-api","owner":"hellokaton","description":"飞桨 OCR API Docker 镜像","archived":false,"fork":false,"pushed_at":"2023-08-04T06:25:30.000Z","size":5,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T16:48:02.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellokaton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-04T05:19:14.000Z","updated_at":"2025-08-11T07:50:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f433295-a535-4f33-895a-7e0c50a05923","html_url":"https://github.com/hellokaton/ppocr-api","commit_stats":null,"previous_names":["hellokaton/ppocr-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellokaton/ppocr-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fppocr-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fppocr-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fppocr-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fppocr-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellokaton","download_url":"https://codeload.github.com/hellokaton/ppocr-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fppocr-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33400247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T20:15:18.142Z","updated_at":"2026-05-23T14:33:03.191Z","avatar_url":"https://github.com/hellokaton.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimplePaddleOCRApi\n\n一个可 Docker(compose) 部署的, 基于 `FastAPI` 的简易版 Paddle OCR Web API.\n\n## 接口功能\n\n- [x] 局域网范围内路径图片 OCR 识别\n- [x] Base64 数据识别\n- [x] 上传文件识别\n\n## 部署方式\n\n在 `Centos7` 的服务器中测试成功, 需要先安装好 `Docker`\n\n```shell\ngit clone https://ghproxy.com/https://github.com/hellokaton/ppocr-api.git\ncd ppocr-api\n\n# 制作 Docker 镜像\ndocker build -t ppocrapi:1.0 .\n```\n\n编辑 `docker-compose.yml`\n\n```yaml\nversion: \"3\"\n\nservices:\n  app:\n    container_name: ppocr-api\n    image: ppocrapi:1.0\n    environment:\n      - \"TZ=Asia/Hong_Kong\"\n    ports:\n      - \"10778:8000\"\n    restart: unless-stopped\n```\n\n4. 生成 Docker 容器并运行\n\n```shell\ndocker-compose up -d\n```\n\n5. 访问接口\n\n- 识别上传文件：`http://[host]:10778/ocr/predict-by-file`\n- 识别Base64图片：`http://[host]:10778/ocr/predict-by-base64`\n\n项目修改自 https://github.com/cgcel/SimplePaddleOCRApi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Fppocr-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokaton%2Fppocr-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Fppocr-api/lists"}