๐จ Ready-to-use DeepSeek-OCR Web UI | Modern Interface | 7 Recognition Modes | Batch Processing | Real-time Logging | Fully Responsive
443
stars
186
commits
TypeScript
primary language
Feb 20, 2026
updated
๐ English | ็ฎไฝไธญๆ | ็น้ซไธญๆ | ๆฅๆฌ่ช
Intelligent OCR System ยท Vue 3 Modern UI ยท Batch Processing ยท Multi-Mode Support
Features โข Quick Start โข Screenshots โข Contributors

Header shows OCR-2 model badge ยท Footer displays v4.1 ยท OCR-2
OCR-2 badge so users instantly know the model versionmodel_version โ /health endpoint now returns "model_version": "DeepSeek-OCR-2" for programmatic version detectionv4.1 ยท OCR-2๐ Major model upgrade to DeepSeek-OCR-2 (Visual Causal Flow) โ better accuracy, higher resolution!
flash_attention_2 support on CUDA for optimal inference speedDockerfile.v4.0)AutoProcessor to AutoTokenizer (aligned with official OCR-2 API)| Component | v3.6 (OCR v1) | v4.0 (OCR-2) |
|---|---|---|
| Model | deepseek-ai/DeepSeek-OCR | deepseek-ai/DeepSeek-OCR-2 |
image_size | 640 | 768 |
| Attention | eager | flash_attention_2 (CUDA) |
| Tokenizer | AutoProcessor | AutoTokenizer |
| Resolution | Fixed crops | Dynamic (0-6)ร768 + 1ร1024 |
๐ก All existing features from v3.6 (concurrency, rate limiting, queue management, Vue 3 frontend) are fully preserved.
๐ Performance optimization with smart queue management and rate limiting!
๐ Contributors: @cloudman6 (PR #41)
๐ Complete UI Overhaul with Modern Vue 3 + TypeScript Architecture!
| Home Page | Processing Page |
|---|---|
![]() | ![]() |
This project is the result of an outstanding collaboration. The Vue 3 frontend was developed through a successful merge of PR #34.
|
CloudMan ๐ Vue 3 Frontend Lead Developer 164 commits ยท Complete UI Rewrite |
neosun100 ๐ฏ Project Maintainer Backend ยท Docker ยท Integration |
๐ก About the Vue 3 Frontend: @cloudman6 contributed an exceptional Vue 3 + TypeScript frontend with 164 commits, including comprehensive E2E tests, modern UI components, and production-ready architecture. This collaboration transformed DeepSeek-OCR-WebUI into a professional-grade application!
DeepSeek-OCR-WebUI is an intelligent document recognition web application powered by the DeepSeek-OCR model. It provides a modern, intuitive interface for converting images and PDFs to structured text with high accuracy.
| Feature | Description |
|---|---|
| ๐ฏ 7 Recognition Modes | Document, OCR, Chart, Find, Freeform, and more |
| ๐ผ๏ธ Bounding Box Visualization | Find mode with automatic position annotation |
| ๐ฆ Batch Processing | Process multiple images/pages sequentially |
| ๐ PDF Support | Upload PDFs, auto-convert to images |
| ๐จ Modern Vue 3 UI | Responsive design with Naive UI |
| ๐ Multilingual | EN, ็ฎไฝไธญๆ, ็น้ซไธญๆ, ๆฅๆฌ่ช |
| ๐ Apple Silicon | Native MPS acceleration for M1/M2/M3/M4 |
| ๐ณ Docker Ready | One-command deployment |
| โก GPU Acceleration | NVIDIA CUDA support |
| Mode | Icon | Description | Use Cases |
|---|---|---|---|
| Doc to Markdown | ๐ | Preserve format and layout | Contracts, papers, reports |
| General OCR | ๐ | Extract all visible text | Image text extraction |
| Plain Text | ๐ | Pure text without format | Simple text recognition |
| Chart Parser | ๐ | Recognize charts and formulas | Data charts, math formulas |
| Image Description | ๐ผ๏ธ | Generate detailed descriptions | Image understanding |
| Find & Locate | ๐ | Find and annotate positions | Invoice field locating |
| Custom Prompt | โจ | Customize recognition needs | Flexible tasks |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ Page Sidebar โ ๐ Document Viewer โ
โ โโ Thumbnail List โ โโ High-res Image Display โ
โ โโ Drag & Drop Reorder โ โโ OCR Overlay Toggle โ
โ โโ Batch Selection โ โโ Zoom Controls โ
โ โโ Quick Actions โ โโ Status Indicators โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Processing Queue โ ๐ Result Panel โ
โ โโ Real-time Progress โ โโ Markdown Preview โ
โ โโ Cancel/Retry โ โโ Word/PDF Export โ
โ โโ Health Monitoring โ โโ Copy to Clipboard โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ

Clean, modern landing page with quick access to all features

Full-featured document processing with sidebar, viewer, and results panel

Step-by-step guide: Import files โ Select pages โ Choose OCR mode โ Get results
# Pull and run
docker pull neosun/deepseek-ocr:v4.1
docker run -d \
--name deepseek-ocr \
--gpus all \
-p 8001:8001 \
--shm-size=8g \
neosun/deepseek-ocr:v4.1
# Access: http://localhost:8001
| Tag | Description |
|---|---|
latest | Latest stable (= v4.1) |
v4.1 | UI improvements & model version display |
v4.0 | DeepSeek-OCR-2 model upgrade |
v3.6 | Backend concurrency & rate limiting |
v3.5 | Vue 3 frontend version |
v3.3.1-fix-bfloat16 | BFloat16 compatibility fix |
# Clone and setup
git clone https://github.com/neosun100/DeepSeek-OCR-WebUI.git
cd DeepSeek-OCR-WebUI
# Create conda environment
conda create -n deepseek-ocr python=3.11
conda activate deepseek-ocr
# Install dependencies
pip install -r requirements-mac.txt
# Start service
./start.sh
# Access: http://localhost:8001
# With NVIDIA GPU
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
./start.sh
import requests
# Single image OCR
with open("image.png", "rb") as f:
response = requests.post(
"http://localhost:8001/ocr",
files={"file": f},
data={"prompt_type": "ocr"}
)
print(response.json()["text"])
# PDF OCR (all pages)
with open("document.pdf", "rb") as f:
response = requests.post(
"http://localhost:8001/ocr-pdf",
files={"file": f},
data={"prompt_type": "document"}
)
print(response.json()["merged_text"])
Endpoints:
GET /health - Health checkPOST /ocr - Single image OCRPOST /ocr-pdf - PDF OCR (all pages)POST /pdf-to-images - Convert PDF to images๐ Full API Documentation: API.md
Enable AI assistants like Claude Desktop to use OCR:
{
"mcpServers": {
"deepseek-ocr": {
"command": "python",
"args": ["/path/to/mcp_server.py"]
}
}
}
๐ MCP Setup Guide: MCP_SETUP.md
| Language | Code | Status |
|---|---|---|
| ๐บ๐ธ English | en-US | โ Default |
| ๐จ๐ณ ็ฎไฝไธญๆ | zh-CN | โ |
| ๐น๐ผ ็น้ซไธญๆ | zh-TW | โ |
| ๐ฏ๐ต ๆฅๆฌ่ช | ja-JP | โ |
Switch language via the selector in the top-right corner.
๐ท๏ธ UI & API Enhancements:
model_version: "DeepSeek-OCR-2"v4.1 ยท OCR-2๐ง Major Model Upgrade:
AutoProcessor to AutoTokenizerimage_size upgraded from 640 to 768Dockerfile.v4.0 with pre-downloaded OCR-2 modelโก Performance Optimization:
๐ Contributors: @cloudman6 (PR #41)
๐จ Complete UI Overhaul:
๐ Contributors: @cloudman6 (164 commits)
| Document | Description |
|---|---|
| API.md | REST API reference |
| MCP_SETUP.md | MCP integration guide |
| DOCKER_HUB.md | Docker deployment |
| CHANGELOG.md | Version history |
Contributions welcome! Please:
git checkout -b feature/AmazingFeature)git commit -m 'Add AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License.
TypeScript
55.2%
HTML
21.1%
Python
12.9%
Vue
8.4%
JavaScript
1.3%
๐จ Ready-to-use DeepSeek-OCR Web UI | Modern Interface | 7 Recognition Modes | Batch Processing | Real-time Logging | Fully Responsive
443
stars
186
commits
TypeScript
primary language
Feb 20, 2026
updated
๐ English | ็ฎไฝไธญๆ | ็น้ซไธญๆ | ๆฅๆฌ่ช
Intelligent OCR System ยท Vue 3 Modern UI ยท Batch Processing ยท Multi-Mode Support
Features โข Quick Start โข Screenshots โข Contributors

Header shows OCR-2 model badge ยท Footer displays v4.1 ยท OCR-2
OCR-2 badge so users instantly know the model versionmodel_version โ /health endpoint now returns "model_version": "DeepSeek-OCR-2" for programmatic version detectionv4.1 ยท OCR-2๐ Major model upgrade to DeepSeek-OCR-2 (Visual Causal Flow) โ better accuracy, higher resolution!
flash_attention_2 support on CUDA for optimal inference speedDockerfile.v4.0)AutoProcessor to AutoTokenizer (aligned with official OCR-2 API)| Component | v3.6 (OCR v1) | v4.0 (OCR-2) |
|---|---|---|
| Model | deepseek-ai/DeepSeek-OCR | deepseek-ai/DeepSeek-OCR-2 |
image_size | 640 | 768 |
| Attention | eager | flash_attention_2 (CUDA) |
| Tokenizer | AutoProcessor | AutoTokenizer |
| Resolution | Fixed crops | Dynamic (0-6)ร768 + 1ร1024 |
๐ก All existing features from v3.6 (concurrency, rate limiting, queue management, Vue 3 frontend) are fully preserved.
๐ Performance optimization with smart queue management and rate limiting!
๐ Contributors: @cloudman6 (PR #41)
๐ Complete UI Overhaul with Modern Vue 3 + TypeScript Architecture!
| Home Page | Processing Page |
|---|---|
![]() | ![]() |
This project is the result of an outstanding collaboration. The Vue 3 frontend was developed through a successful merge of PR #34.
|
CloudMan ๐ Vue 3 Frontend Lead Developer 164 commits ยท Complete UI Rewrite |
neosun100 ๐ฏ Project Maintainer Backend ยท Docker ยท Integration |
๐ก About the Vue 3 Frontend: @cloudman6 contributed an exceptional Vue 3 + TypeScript frontend with 164 commits, including comprehensive E2E tests, modern UI components, and production-ready architecture. This collaboration transformed DeepSeek-OCR-WebUI into a professional-grade application!
DeepSeek-OCR-WebUI is an intelligent document recognition web application powered by the DeepSeek-OCR model. It provides a modern, intuitive interface for converting images and PDFs to structured text with high accuracy.
| Feature | Description |
|---|---|
| ๐ฏ 7 Recognition Modes | Document, OCR, Chart, Find, Freeform, and more |
| ๐ผ๏ธ Bounding Box Visualization | Find mode with automatic position annotation |
| ๐ฆ Batch Processing | Process multiple images/pages sequentially |
| ๐ PDF Support | Upload PDFs, auto-convert to images |
| ๐จ Modern Vue 3 UI | Responsive design with Naive UI |
| ๐ Multilingual | EN, ็ฎไฝไธญๆ, ็น้ซไธญๆ, ๆฅๆฌ่ช |
| ๐ Apple Silicon | Native MPS acceleration for M1/M2/M3/M4 |
| ๐ณ Docker Ready | One-command deployment |
| โก GPU Acceleration | NVIDIA CUDA support |
| Mode | Icon | Description | Use Cases |
|---|---|---|---|
| Doc to Markdown | ๐ | Preserve format and layout | Contracts, papers, reports |
| General OCR | ๐ | Extract all visible text | Image text extraction |
| Plain Text | ๐ | Pure text without format | Simple text recognition |
| Chart Parser | ๐ | Recognize charts and formulas | Data charts, math formulas |
| Image Description | ๐ผ๏ธ | Generate detailed descriptions | Image understanding |
| Find & Locate | ๐ | Find and annotate positions | Invoice field locating |
| Custom Prompt | โจ | Customize recognition needs | Flexible tasks |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ Page Sidebar โ ๐ Document Viewer โ
โ โโ Thumbnail List โ โโ High-res Image Display โ
โ โโ Drag & Drop Reorder โ โโ OCR Overlay Toggle โ
โ โโ Batch Selection โ โโ Zoom Controls โ
โ โโ Quick Actions โ โโ Status Indicators โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Processing Queue โ ๐ Result Panel โ
โ โโ Real-time Progress โ โโ Markdown Preview โ
โ โโ Cancel/Retry โ โโ Word/PDF Export โ
โ โโ Health Monitoring โ โโ Copy to Clipboard โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ

Clean, modern landing page with quick access to all features

Full-featured document processing with sidebar, viewer, and results panel

Step-by-step guide: Import files โ Select pages โ Choose OCR mode โ Get results
# Pull and run
docker pull neosun/deepseek-ocr:v4.1
docker run -d \
--name deepseek-ocr \
--gpus all \
-p 8001:8001 \
--shm-size=8g \
neosun/deepseek-ocr:v4.1
# Access: http://localhost:8001
| Tag | Description |
|---|---|
latest | Latest stable (= v4.1) |
v4.1 | UI improvements & model version display |
v4.0 | DeepSeek-OCR-2 model upgrade |
v3.6 | Backend concurrency & rate limiting |
v3.5 | Vue 3 frontend version |
v3.3.1-fix-bfloat16 | BFloat16 compatibility fix |
# Clone and setup
git clone https://github.com/neosun100/DeepSeek-OCR-WebUI.git
cd DeepSeek-OCR-WebUI
# Create conda environment
conda create -n deepseek-ocr python=3.11
conda activate deepseek-ocr
# Install dependencies
pip install -r requirements-mac.txt
# Start service
./start.sh
# Access: http://localhost:8001
# With NVIDIA GPU
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
./start.sh
import requests
# Single image OCR
with open("image.png", "rb") as f:
response = requests.post(
"http://localhost:8001/ocr",
files={"file": f},
data={"prompt_type": "ocr"}
)
print(response.json()["text"])
# PDF OCR (all pages)
with open("document.pdf", "rb") as f:
response = requests.post(
"http://localhost:8001/ocr-pdf",
files={"file": f},
data={"prompt_type": "document"}
)
print(response.json()["merged_text"])
Endpoints:
GET /health - Health checkPOST /ocr - Single image OCRPOST /ocr-pdf - PDF OCR (all pages)POST /pdf-to-images - Convert PDF to images๐ Full API Documentation: API.md
Enable AI assistants like Claude Desktop to use OCR:
{
"mcpServers": {
"deepseek-ocr": {
"command": "python",
"args": ["/path/to/mcp_server.py"]
}
}
}
๐ MCP Setup Guide: MCP_SETUP.md
| Language | Code | Status |
|---|---|---|
| ๐บ๐ธ English | en-US | โ Default |
| ๐จ๐ณ ็ฎไฝไธญๆ | zh-CN | โ |
| ๐น๐ผ ็น้ซไธญๆ | zh-TW | โ |
| ๐ฏ๐ต ๆฅๆฌ่ช | ja-JP | โ |
Switch language via the selector in the top-right corner.
๐ท๏ธ UI & API Enhancements:
model_version: "DeepSeek-OCR-2"v4.1 ยท OCR-2๐ง Major Model Upgrade:
AutoProcessor to AutoTokenizerimage_size upgraded from 640 to 768Dockerfile.v4.0 with pre-downloaded OCR-2 modelโก Performance Optimization:
๐ Contributors: @cloudman6 (PR #41)
๐จ Complete UI Overhaul:
๐ Contributors: @cloudman6 (164 commits)
| Document | Description |
|---|---|
| API.md | REST API reference |
| MCP_SETUP.md | MCP integration guide |
| DOCKER_HUB.md | Docker deployment |
| CHANGELOG.md | Version history |
Contributions welcome! Please:
git checkout -b feature/AmazingFeature)git commit -m 'Add AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License.
TypeScript
55.2%
HTML
21.1%
Python
12.9%
Vue
8.4%
JavaScript
1.3%