440
Docker Hub - Jonesckevin/ocr-webapp
A Docker-based web application for OCR text extraction with AI-powered translation support. This app is meant to work offline using local LLMs (Ollama, LM Studio) with optional online cloud LLM support (OpenAI, Anthropic, Google Gemini, etc.). Great for your HALp needs!

docker run -d -p 8080:5000 \
-v ./data/uploaded:/data/uploaded \
-v ./data/output:/data/output \
-v ./config.json:/app/config.json:ro \
jonesckevin/ocr-webapp
Clone the repository:
git clone https://github.com/Jonesckevin/OCR-WebApp.git
cd OCR-WebApp
Start the application:
docker compose up -d
Open your browser to http://localhost:8080
docker compose up --build
# or
docker build -t ocr-webapp .
docker run -d -p 8080:5000 \
ocr-webapp
Priority languages (highlighted in UI):
Additional languages:
| Endpoint | Method | Description |
|---|---|---|
/ | GET | Main application page |
/health | GET | Health check endpoint |
/api/config | GET | Get application configuration |
/api/progress/<task_id> | GET | Get progress for a specific task |
/api/logs | GET | Get application logs |
/api/logs/download | GET | Download complete log file |
/api/logs/clear | POST | Clear log file |
/api/upload | POST | Upload file |
/api/upload/paste | POST | Upload pasted image (base64) |
/api/files | GET | List uploaded files |
/api/files/<filename> | GET | Download uploaded file |
/api/files/<filename> | DELETE | Delete uploaded file |
/api/languages | GET | List installed OCR languages |
/api/languages/install | POST | Install new language pack |
/api/ocr | POST | Perform OCR on a file |
/api/results | GET | List OCR result files |
/api/results/<result_id> | GET | Get specific OCR result |
/api/results/<result_id> | DELETE | Delete OCR result |
/api/results/<result_id>/edit | POST | Save edited OCR text |
/api/results/<result_id>/download/<format> | GET | Download result (json/txt/translation) |
/api/llm/test | POST | Test LLM provider connection |
/api/llm/models | POST | Get available models for provider |
/api/llm/translate | POST | Translate text using LLM |
/static/<path:filename> | GET | Serve static files |
Content type
Image
Digest
sha256:f219b1cc6…
Size
114.1 MB
Last updated
about 2 months ago
docker pull jonesckevin/ocr-webapp