Cross2pro
DeepSeek-OCR-Dashboard
Python

An out-of-the-box local Web UI for DeepSeek-OCR. Built with FastAPI + Vue.js, it supports PDF/Image uploads, progress tracking, and result visualization with bounding boxes. Easily experience the power of a top-tier OCR model.

Last updated Jul 27, 2026
125
Stars
1
Forks
0
Issues
0
Stars/day
Attention Score
61
Language breakdown
Python 71.0%
Vue 20.1%
CSS 7.3%
Shell 0.5%
Mermaid 0.5%
JavaScript 0.4%
โ–ธ Files click to expand
README

DeepSeek-OCR Web Playground ๐Ÿš€๐Ÿ–ผ๏ธ

English | ไธญๆ–‡

FastAPI + Vite/Vue wrapper around the DeepSeek-OCR model for quick local testing. ๐ŸŽฏ

Showcase:

Showcase: Mathematical Formula Recognition Mathematical Formula Recognition

Showcase: Table Data Processing Table Data Processing

Features โœจ

  • ๐Ÿ“„ PDF & ๐Ÿ–ผ๏ธ image upload, with automatic PDF page splitting.
  • โณ Progress visualization during uploads/inference so you know itโ€™s working.
  • ๐Ÿ—บ๏ธ Bounding-box overlay for layout/annotation visualization.
  • ๐Ÿ“‘ Annotation detail view for extracted labels/regions.
  • ๐Ÿ“œ History management: View and manage past OCR results.
  • ๐Ÿงฉ Modular UI: Specialized components for Upload, Prompt, Mode, and Actions.
  • ๐Ÿ“Š Enhanced Visualization: Visual preview, layout details, and page text inspection.
  • ๐Ÿ“ Logs & Workflow: Real-time logs and workflow step tracking.
Screenshots:
  • Overlay view: Annotation overlay
  • Annotation details: Annotation detail

Tested environment ๐Ÿงช

  • Conda env: ds-ocr
  • Python 3.10.19 (conda-forge)
  • PyTorch 2.6.0+cu118 (CUDA)
  • GPU: NVIDIA GeForce RTX 3090

Quick start (conda) โšก

# 1) create / activate
conda create -n ds-ocr python=3.10 -y
conda activate ds-ocr

2) backend deps (install torch CUDA build first if needed)

cd web_project/backend pip install --upgrade pip

offline / matching CUDA build:

pip install --no-index --find-links ../../wheels torch torchvision

pip install -r requirements.txt

3) frontend deps

cd ../frontend npm install

4) run dev (from repo root)

cd ../../ ./start.sh
./start.sh starts FastAPI on localhost:8000 and Vite dev server on localhost:5173. ๐ŸŒ

Run separately ๐Ÿงญ

# backend
cd web_project/backend
uvicorn app:app --host 0.0.0.0 --port 8000

frontend

cd web_project/frontend npm run dev

Key env vars ๐Ÿ› ๏ธ

  • OCRBACKENDPORT: backend port (default 8000)
  • DEEPSEEKOCRMODELPATH: model weights path override (default ocrproject/model)
  • DEEPSEEKATTNIMPL: attention impl, e.g. flashattention2
  • DEEPSEEKALLOWEDORIGINS: CORS allowlist, comma-separated
  • DEEPSEEKMAXIMAGE_MB: upload size limit in MB (default 15)

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท Cross2pro/DeepSeek-OCR-Dashboard ยท Updated daily from GitHub