varunr89/claude-marketplace/image-ocr

Claude Code and agent skill by varunr89/claude-marketplace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract text from a directory of JPG/JPEG images into a single Markdown file using Apple Vision, tesseract, or MLX OCR

Install

npx vskill@latest install varunr89/claude-marketplace/image-ocr

SKILL.md

Image OCR

Batch-processes a directory of JPG/JPEG images and produces a combined Markdown file containing the OCR text from each image.

When to use

Use this skill when the user wants to extract text from one or more JPG/JPEG images -- for example scanned documents, photos of whiteboards, or screenshots.

Backends

  • vision (default on macOS/Apple Silicon) -- Uses Apple's Vision framework via PyObjC. Fast, on-device, GPU-accelerated. Requires pyobjc-core and pyobjc-framework-Vision.
  • tesseract -- Uses the tesseract CLI binary. Cross-platform. Optional preprocessing (grayscale, autocontrast, upscale) via Pillow.
  • mlx_ocr -- Uses MLX-based OCR on Apple Silicon. Runs in a subprocess to isolate potential Metal crashes. Requires Python 3.10+ and mlx-ocr.
  • auto -- Tries vision first, falls back to tesseract.

Usage

bash
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/ocr_jpgs_to_markdown.py \
--input <directory-of-jpgs> \
--output <output.md> \
[--backend auto|vision|tesseract|mlx_ocr] \
[--start N] [--limit N] \
[--languages en-US] \
[--fast] \
[--workers N] \
[--tesseract-lang eng] [--tesseract-psm 6] [--tesseract-oem 1] \
[--preprocess] [--preprocess-scale 2.0] \
[--det-lang eng] [--rec-lang lat] \
[--mlx-worker-python /path/to/python3.11]

Key arguments

ArgumentDefaultDescription
--inputezgif-...Directory containing .jpg/.jpeg files
--outputtraining_plan_ocr.mdOutput Markdown file path
--backendautoOCR backend: auto, vision, tesseract, mlx_ocr
--start0Start index (0-based) within sorted file list
--limitNoneMax files to process
--languagesen-USComma-separated recognition languages (Vision)
--fastfalseUse faster, less accurate recognition level (Vision)
--workersCPU countNumber of parallel workers
--preprocessfalseGrayscale/autocontrast/upscale before tesseract
--preprocess-scale2.0Upscale factor for preprocessing

Dependencies

  • macOS + PyObjC for Vision backend (pip install pyobjc-core pyobjc-framework-Vision)
  • tesseract binary for tesseract backend (brew install tesseract)
  • mlx-ocr + Python 3.10+ for MLX backend
  • Pillow for preprocessing and MLX

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/varunr89/claude-marketplace/image-ocr/badge)](https://verified-skill.com/skills/varunr89/claude-marketplace/image-ocr)

Something wrong with this skill or its page? Tell us.