visa-doc-translate

Installation
Summary

Translate visa application documents to English and generate bilingual PDFs automatically.

  • Handles multiple document types: bank certificates, employment letters, retirement certificates, property documents, IDs, and passports
  • Automatically converts HEIC to PNG, detects and corrects image orientation via EXIF data, and extracts text using macOS Vision, EasyOCR, or Tesseract OCR
  • Translates extracted text professionally while preserving structure, proper names, dates, and amounts; uses pinyin for Chinese names
  • Generates a two-page PDF with the original image on page 1 and formatted English translation on page 2, suitable for official visa submissions
SKILL.md

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)
Related skills
Installs
3.3K
GitHub Stars
179.7K
First Seen
Feb 24, 2026