visa-doc-translate

Translates visa document images to English and generates bilingual PDFs.

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/ibytechaos/claude --skill visa-doc-translate-ibytechaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visa-doc-translate
Source: https://github.com/ibytechaos/claude/tree/main/plugins/everything-claude-code/skills/visa-doc-translate
Command: npx skills add https://github.com/ibytechaos/claude --skill visa-doc-translate-ibytechaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pillow, reportlab, pyobjc-framework-Vision, pyobjc-framework-Quartz, easyocr, pytesseract.

What problem does it solve? Visa applications often require certified English translations of official documents like bank deposit certificates, employment letters, and retirement certificates, which normally means paying translation services or manually retyping content. ## Core Features & Use Cases - Automatic OCR: Extracts text from document images using macOS Vision, EasyOCR, or Tesseract, with automatic fallback between methods. - Bilingual PDF Generation: Produces a two-page A4 PDF with the original image on page one and a professional English translation on page two. - Image Preprocessing: Converts HEIC to PNG and applies EXIF-based rotation so documents are correctly oriented before OCR. - Use Case: You have a Chinese retirement certificate photo for an Australian visa application; run the skill on the image and receive a translated PDF ready for submission. ## Quick Start Translate the attached document image RetirementCertificate.PNG into English and generate a bilingual PDF for my visa application.

Frequently Asked Questions about visa-doc-translate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate a Chinese document image to English for a visa application?

Provide the image file path and the skill runs OCR to extract the text, translates it into professional English, and generates a bilingual PDF. The output PDF contains the original image on page one and the English translation on page two.

What OCR tools can extract text from document photos?

This skill tries macOS Vision framework first on macOS, then falls back to EasyOCR for cross-platform use, and finally Tesseract OCR if installed. It automatically selects whichever method is available.

Does the translation work with HEIC images from iPhone?

Yes, HEIC files are converted to PNG using the macOS sips command before processing. EXIF orientation data is also checked and the image is rotated automatically so the document is upright before OCR.

What Python libraries are required for PDF generation?

Pillow and ReportLab are required for image handling and PDF creation, installed via pip install pillow reportlab. For macOS Vision OCR you also need pyobjc-framework-Vision and pyobjc-framework-Quartz.

Why does OCR fail on my document image?

OCR can fail when the image is rotated incorrectly, low resolution, or the chosen OCR engine lacks the language pack. The skill mitigates this by applying EXIF rotation and trying multiple OCR methods in sequence.