Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocParser Pro v3

99% accuracy document extraction with human review.

What's new in v3

  • Claude AI Vision — primary extraction engine, reads vector PDFs, handwriting, stamps
  • Structured text output — headings, label:value pairs, paragraphs all classified
  • Fully editable results — click any cell, field, or text to correct it
  • Light theme — clean professional UI
  • Human review mode — toggle edit mode, fix any error, save changes

Setup (Windows)

Prerequisites

If you must use Python 3.14

The main.py includes a compatibility patch for the pkgutil.find_loader removal.

Backend

cd docparser_v3\backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python -m uvicorn main:app --reload --port 8000

Frontend

cd docparser_v3\frontend
npm install
npm start

How accuracy works

  1. Claude Vision API (primary) — analyzes the rendered page image, understands layout, tables, handwriting. Returns structured JSON.
  2. PyMuPDF native (for real-text PDFs) — perfect extraction when text is embedded.
  3. Tesseract OCR (fallback) — used when Claude API is unavailable.
  4. Human Review — edit mode lets you fix any remaining errors inline.

Troubleshooting

Error Fix
pkgutil.find_loader ImportError Already patched in main.py
pymupdf build fails pip install pymupdf==1.27.2.3 (pre-built wheel)
Tables empty Install Tesseract + restart backend
Claude API 401 API key is injected automatically in the artifact context

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages