FastAPI service for OCR tasks
Top 37.5% on sourcepulse
This project provides a high-performance OCR API service using FastAPI and DdddOcr, targeting developers needing to integrate image text recognition, sliding captcha matching, and object detection into their applications. It offers a simple, Docker-friendly deployment for quick integration.
How It Works
The API leverages the DdddOcr library to perform OCR tasks. It exposes three main endpoints: /ocr
for general text recognition, /slide_match
for comparing images in sliding captcha puzzles, and /detection
for object detection within images. Requests can be made using either image files or Base64 encoded strings, with options to control output verbosity and image processing.
Quick Start & Requirements
git clone https://github.com/your-repo/ddddocr-api.git
cd ddddocr-api
docker build -t ddddocr-api .
docker run -d -p 8000:8000 --name ddddocr-api-container ddddocr-api
python app/main.py
or uvicorn app.main:app --reload
http://localhost:8000/docs
for Swagger UI.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
8 months ago
Inactive