Back to directory

DeepSeek-OCR Web Playground

A FastAPI and Vue local web UI wrapper around the DeepSeek-OCR model, letting a user upload a PDF or image, watch inference progress, and inspect the extracted text with bounding-box overlays, including math formulas and tables.

DeepSeek-OCR Web Playground

This project is an out-of-the-box local web UI for the DeepSeek-OCR model, wrapping it with a FastAPI backend and a Vite and Vue frontend for quick local testing. It supports PDF and image uploads with automatic PDF page splitting, and shows upload and inference progress so the user can see the job is running.

Results are shown with a bounding-box overlay for layout and annotation, a detail view for extracted labels and regions, and history management to review past OCR runs; the model has been shown handling mathematical formula recognition and table data extraction. The UI is split into modular components for upload, prompt, mode and actions, with additional visualization for layout details and page-text inspection, plus real-time logs and workflow step tracking.

It is tested with a Conda environment running Python 3.10 and PyTorch 2.6 with CUDA on an NVIDIA GeForce RTX 3090, starting the backend on port 8000 and a Vite dev server on port 5173, with environment variables for the backend port, model path, attention implementation, CORS allowlist and upload size limit.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.