affaan-m avatar

Visa Doc Translate

Drop in an image of a visa document in any language and this spins up a bilingual PDF with the original on page one and a professional English translation on page two. It handles the annoying bits automatically: converts HEIC files, reads EXIF data to rotate images correctly, tries multiple OCR engines (macOS Vision, EasyOCR, Tesseract) until one works, then translates everything while keeping names in pinyin and preserving exact numbers. Built for the specific grind of visa applications where you need bank statements, employment letters, or retirement certificates in English. Saves you from manually copying text out of crooked phone photos and formatting translation documents by hand.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill visa-doc-translate --agent claude-code

Installs into .claude/skills of the current project.

Files

You are helping translate visa application documents for visa applications.

Instructions

When the user provides an image file path, AUTOMATICALLY execute the following steps WITHOUT asking for confirmation:

  1. Image Conversion: If the file is HEIC, convert it to PNG using sips -s format png <input> --out <output>

  2. Image Rotation:

    • Check EXIF orientation data
    • Automatically rotate the image based on EXIF data
    • If EXIF orientation is 6, rotate 90 degrees counterclockwise
    • Apply additional rotation as needed (test 180 degrees if document appears upside down)
  3. OCR Text Extraction:

    • Try multiple OCR methods automatically:
      • macOS Vision framework (preferred for macOS)
      • EasyOCR (cross-platform, no tesseract required)
      • Tesseract OCR (if available)
    • Extract all text information from the document
    • Identify document type (deposit certificate, employment certificate, retirement certificate, etc.)

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Documentation, Automation & Workflows, Office & Documents
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1conorbronsdon avataravoid-ai-writingconorbronsdon/avoid-ai-writingAudit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI 5.1Kskills.sh installs
2raphaelsalaja avataruserinterface-wikiraphaelsalaja/userinterface-wikiUI/UX best practices for web interfaces. Use when reviewing animations, CSS, audio, typography, UX patterns, prefetching, or icon implementations. Covers 11 cat4.7Kskills.sh installs
3claude-office-skills avatardoc-pipelineclaude-office-skills/skillsChain document operations into reusable pipelines4.7Kskills.sh installs
4egonex-ai avatarunderstand-explainegonex-ai/understand-anythingUse when you need a deep-dive explanation of a specific file, function, or module in the codebase4.2Kskills.sh installs
5dotnet avatarwriting-mstest-testsdotnet/skillsWrite, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs. USE FOR: write, create, review, or modernize MSTest tests and asserti4.2Kskills.sh installs
6softaworks avatarship-learn-nextsoftaworks/agent-toolkitTransform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when us4Kskills.sh installs