# textsnap

> textsnap is a self-hosted OCR CLI extracting text from images, screenshots, URLs, and webpages using local CPU models with no GPU or cloud required.

- **Category:** Document Processing
- **Licence:** MIT
- **Latest version:** v0.4.0
- **Open source:** oss
- **Languages:** Python
- **Platforms:** pip
- **Tags:** Markdown, CLI, Onnx, Screenshot, Offline, Ocr, Batch Processing, Portable, Transcription, Text extraction, Paddleocr, Image To Text, Paddlepaddle, Image2text

## Description

textsnap is a Python command-line tool for optical character recognition on images, screenshots, direct image URLs, and webpage URLs. It uses a two-engine approach: PP-OCRv6 medium for fast default OCR, with an optional fallback to PaddleOCR-VL-1.5 for difficult pages or structured markdown output with tables and headings. The engines run on ONNX Runtime on plain CPU cores with no CUDA or M-series requirements. Models download on first run and then work fully offline. Features include clipboard input and output, batch processing, portable mode for copying the folder to run anywhere, multi-language support, and plain text or markdown output. Installs via pip with commands 'textsnap' and 'ocr' alias.

## Links

- [Homepage](https://github.com/kouhxp/textsnap)
- [GitHub Repository](https://github.com/kouhxp/textsnap)

---
Source: https://selfhost.directory/project/textsnap