Local LLM Deployment

Local Vision Models: Read Documents, Screenshots and Receipts Without Uploading Them

Your documents contain the sensitive stuff — contracts, receipts, client files. A local vision model reads them on your own machine, so nothing is ever uploaded, and there is no per-page fee.

FreeLast tested: 2026-11-09Audience: Small teams & privacy-minded professionals

Why a local model should read your documents

Every time you upload a document to a cloud AI, you hand a copy of it to someone else's server. For a marketing draft that is fine. For a client contract, a medical letter, an employee's payslip or a stack of supplier invoices, it is a leak you chose. A local vision-language model flips the deal: the model runs on your machine, the document never leaves it, and there is no per-page bill at the end of the month.

A vision-language model (VLM) is a language model with eyes. You give it an image — a photo of a receipt, a screenshot, a scanned PDF page — and ask it questions in plain English. It reads the text, understands the layout, and answers. It is not a traditional OCR tool: it does not just transcribe characters, it understands what the document means, so you can ask "what is the total, and which line items are travel?" instead of getting a raw text dump.

Three things make this practical in 2026 that were not true two years ago: small vision models (7–11 billion parameters) are now good enough for everyday documents, they run on a normal laptop or a single consumer GPU, and ollama makes installation a one-line command. If you already run local text models, adding vision is a small step, not a new project.

Pick a model for the job, not the leaderboard

For document work, the biggest model is rarely the right one. What matters is reading accuracy on real-world images — slightly tilted photos, low-contrast scans, cramped tables — and whether the model fits your hardware. These four cover almost every small-team need:

ModelSizeNeedsBest for
Qwen2.5-VL 7B~5 GB8 GB VRAM or 16 GB RAMDense documents, tables, multilingual text — the best all-rounder
Llama 3.2 Vision 11B~8 GB12 GB VRAM or 24 GB RAMCharts, diagrams and image captioning
MiniCPM-V 2.6 (8B)~6 GB8 GB VRAMHigh-resolution images on modest hardware
llava:7b~5 GB8 GB VRAM or 16 GB RAMQuick general-purpose image Q&A

Start with Qwen2.5-VL 7B. In our testing it handles the messy reality — phone photos of receipts, screenshots with small fonts, two-column PDFs — more reliably than the others, and it reads Chinese and English equally well. If your machine struggles, drop to its 3B version: noticeably faster, slightly worse at tiny print. If you only ever read screenshots, llava:7b is lighter and fast enough. Our earlier guides to Ollama and llama.cpp for private local models and quantization on consumer GPUs cover the hardware side in more detail.

Set it up in fifteen minutes

Install Ollama, pull the model, and send it your first image. That is the whole setup:

brew install ollama # macOS — or download the installer for Windows / Linux ollama pull qwen2.5vl:7b ollama run qwen2.5vl:7b "Describe this image in detail" ./receipt.jpg

For repeatable work, skip the chat interface and use the API — the same OpenAI-compatible endpoint pattern covered in our guide to local OpenAI-compatible API endpoints. A small script can loop over a folder of scans and write structured results to a CSV:

curl http://localhost:11434/api/generate -d '{ "model": "qwen2.5vl:7b", "prompt": "Extract vendor, date, total and currency as JSON. If a field is unreadable, write null.", "images": ["<base64 of receipt.jpg>"], "stream": false }'

Two practical tips: convert PDF pages to PNG at 200 DPI before sending them (a 300 DPI scan is sharper but slower, and rarely more accurate), and crop to the region that matters — a full A4 page at low resolution makes small numbers blur together, while a cropped table reads cleanly.

Three workflows that pay for themselves

1. Invoices and receipts, straight into a spreadsheet

Photograph or scan each receipt, ask for vendor, date, line items and total as JSON, and append the results to a CSV. A small business processing 50 receipts a month saves a few hours of typing — and the source images never touch a cloud OCR service, which matters when receipts carry bank details or client names.

2. Screenshots into usable notes

Error messages, dashboard snapshots, whiteboard photos, slides from a call: paste the image in and ask for a summary plus the exact text of any error code. This is the fastest way to turn a screenshot graveyard into searchable notes, and it works fully offline on a plane or a client site with no Wi-Fi.

3. Scanned paper, searchable again

Old contracts, signed forms and archived letters become searchable when you extract their text locally. Pair the vision model with a simple document store — the pattern in our local RAG guide for document analysis works unchanged, with the vision model doing the reading step that a text-only pipeline cannot.

Accuracy: trust, then verify

Local vision models are good, not perfect. Expect these failure modes and design around them:

The right mental model is a fast junior assistant, not a certified accountant: it does the bulk reading in seconds, and a human spends thirty seconds checking the numbers that matter.

Limits and notes

Local vision models are a privacy and cost win for everyday documents, not a replacement for every cloud capability. They are slower than a cloud API on a laptop CPU (expect 10–30 seconds per page), they struggle with genuinely complex layouts like engineering drawings, and they cannot match frontier cloud models on reasoning about what a document implies. Keep one cloud option for those cases — and keep sensitive pages local, which is the whole point. If your documents are regulated or client-confidential, the offline-first playbook in our offline-first privacy and compliance guide shows how to run the entire setup with networking disabled.

Start small: one model, one folder of receipts, one script. Once the numbers check out, expand to the rest of the paper pile.

Related reading

Limits and notes

收尾:适用边界、注意事项。