# WeVisDoc

> Open-source vision-language model converting complex document images to structured Markdown

WeVisDoc is an end-to-end vision-language model developed by Tencent's WeChat Vision Team for document parsing and OCR. Built on Qwen-VL architecture in 2B and 4B sizes, it transforms scanned page images into structured Markdown complete with LaTeX formulas and HTML tables. It is designed to maintain high parsing accuracy even on blurry, distorted, or heavily degraded documents.

Website: https://huggingface.co/tencent/WeVisDoc-2B

## What it is for

- Convert scanned pages and PDFs into clean Markdown documents
- Extract mathematical formulas directly into LaTeX formatting
- Parse complex, multi-row financial tables into structured HTML
- Transcribe low-quality or degraded real-world document scans

## Features

- End-to-end image-to-Markdown document parsing
- LaTeX formula extraction and HTML table formatting
- Available in 2B and 4B parameter sizes based on Qwen-VL
- High robustness on degraded and distorted scans
- vLLM server support with OpenAI-compatible API endpoint
- Local inference script support via Hugging Face Transformers
- Support for PNG, JPEG, and WebP input formats

## Pricing

Open source

## Details

- Type: AI model
- Category: [AI](https://xiry.app/topics/ai.md)
- Open source: yes
- Platforms: Linux, Self-hosted, API, Command line
- For: Developers and ML engineers building document extraction pipelines and RAG workflows.
- Alternative to: DeepSeek-OCR, olmOCR, FireRed-OCR, Nougat
- Tags: ocr, document parsing, vlm, vision language, latex, markdown, open source

## Why it was saved

- [@isaac_flath, 26 September 2026](https://www.instagram.com/p/DdwToSNDQ9g/): Solves common OCR failures on difficult scans like financial statements and mathematical formulas by using targeted data augmentation during training.

## Related

- [NuMarkdown-8B-Thinking](https://xiry.app/resources/numarkdown-8b-thinking): Open-source vision-language model converting complex documents into structured Markdown using reasoning. (AI model, Open source)
- [stepfun-ai/Step3-VL-10B](https://xiry.app/resources/stepfun-ai-step3-vl-10b): Open 10B multimodal model with parallel reasoning competitive with frontier systems (AI model, Open source)
- [Unlimited-OCR](https://xiry.app/resources/unlimited-ocr): Open-source vision-language model for parsing multi-page documents in one pass (AI model, Open source)
- [Reducto](https://xiry.app/resources/reducto): Agentic document parsing and extraction platform for AI pipelines. (Web app, Freemium)
- [Pinokio](https://xiry.app/resources/pinokio): Browser that installs and runs open-source AI apps with one click (Desktop app, Free)
- [Hermes 3](https://xiry.app/resources/hermes-3): Open-weights fine-tune of Llama 3.1 built for agentic function calling. (AI model, Open source)

Updated 8 October 2026. Page: https://xiry.app/resources/wevisdoc

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
