Translates visa application document images to English via OCR (macOS Vision, EasyOCR, Tesseract), rotates/converts formats, generates bilingual PDF with original image and formatted translation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code:visa-doc-translateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
你正在协助翻译用于签证申请的文件。
你正在协助翻译用于签证申请的文件。
当用户提供图像文件路径时,自动 (AUTOMATICALLY) 执行以下步骤,无需 (WITHOUT) 请求确认:
图像转换 (Image Conversion):如果文件是 HEIC 格式,使用 sips -s format png <input> --out <output> 将其转换为 PNG。
图像旋转 (Image Rotation):
OCR 文本提取 (OCR Text Extraction):
翻译 (Translation):
PDF 生成 (PDF Generation):
输出 (Output):在同一目录下创建一个名为 <original_filename>_Translated.pdf 的 PDF 文件。
macOS Vision 框架(仅限 macOS):
import Vision
from Foundation import NSURL
EasyOCR(跨平台):
pip install easyocr
Tesseract OCR(如果可用):
brew install tesseract tesseract-lang
pip install pytesseract
pip install pillow reportlab
对于 macOS Vision 框架:
pip install pyobjc-framework-Vision pyobjc-framework-Quartz
/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg
该技能(Skill)将:
<filename>_Translated.pdf:
非常适合向澳大利亚、美国、加拿大、英国和其他需要翻译文件的国家提交签证申请。
npx claudepluginhub xu-xiang/everything-claude-code-zhTranslates visa application document images (Chinese) into English and generates a bilingual PDF with original image and translation. Supports HEIC conversion, auto-rotation, OCR via macOS Vision/EasyOCR/Tesseract, and professional formatting.
Translate visa application documents (images) to English and create a bilingual PDF with original and translation
Routes PDF conversions through analysis to select the best extraction strategy and tools based on document type and output format.