visa-doc-translate

Converts visa document images into bilingual English PDFs with preserved layout.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cescrafli/compyrasion --skill visa-doc-translate-cescrafli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visa-doc-translate
Source: https://github.com/cescrafli/compyrasion/tree/main/skills/visa-doc-translate
Command: npx skills add https://github.com/cescrafli/compyrasion --skill visa-doc-translate-cescrafli

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? This Skill eliminates the manual effort of translating visa-related documents and producing a publication-ready bilingual PDF that preserves layout and terminology.

## Core Features & Use Cases

  • OCR-driven extraction from images; language-agnostic translation to professional English with proper handling of names and numbers.
  • Page 1 shows the original rotated image; Page 2 shows the professional English translation in a clean, official format.
  • Supports multi-language input (including Chinese) with pinyin for names and accurate date/amount preservation.
  • Use Case: Prepare translated documents for visa applications to Australia, USA, Canada, UK, or EU.

### Quick Start Provide a visa document image path to automatically translate it into a bilingual English PDF.

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 scanned visa document image into a bilingual PDF?

To translate a scanned visa document into a bilingual PDF, provide the image path to trigger automated OCR extraction, professional English translation, and bilingual PDF formatting. The process handles automatic image rotation and EXIF data to preserve the original layout.

Does the bilingual PDF translation preserve names, numbers, and original layout?

Yes, the bilingual PDF translation preserves names, numbers, and original layout. It applies multi-OCR fallback methods to accurately extract text and maintains formatting for official use, even adding pinyin for Chinese names.

Can I use photographed IDs and certificates for visa application translation?

Yes, you can use photographed IDs and certificates for visa application translation. The Skill processes both scanned and photographed document images, handling automatic rotation and EXIF adjustments to produce a professional English translation.

What is the structure of the generated bilingual PDF for visa documents?

The structure of the generated bilingual PDF places the original rotated document image on page one. The second page displays the professional English translation in a clean, official format suitable for visa applications.

Do I need Python libraries like Pillow and reportlab to generate the bilingual PDF?

Yes, the bilingual PDF generation relies on Python libraries like Pillow and reportlab. These dependencies handle image preprocessing, EXIF management, and the creation of the final formatted bilingual output document.

What languages are supported for OCR extraction and English translation?

The OCR extraction and English translation support multi-language input, including Chinese. It accurately preserves dates, amounts, and names, generating pinyin for Chinese names to satisfy official visa compliance requirements.