ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する
ビザ申請のためのビザ申請書類の翻訳を支援している。
ユーザーが画像ファイルのパスを提供した場合、確認を求めずに以下の手順を自動的に実行する:
画像変換:ファイルがHEIC形式の場合、sips -s format png <input> --out <output> を使用してPNGに変換する
画像の回転:
OCRテキスト抽出:
翻訳:
PDF生成:
出力:同じディレクトリに <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
このスキルは以下を行う:
<filename>_Translated.pdf を生成する:
オーストラリア、米国、カナダ、英国およびその他の国のビザ申請で翻訳書類が必要な場合に最適。
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/visa-doc-translate · pinned to the source commit
git clone https://github.com/affaan-m/ECC.git
cd ECC
git checkout d8409a4b0813771235555e32e3d8046a73988bfa
mkdir -p ".claude/skills/visa-doc-translate"
cp -r "docs/ja-JP/skills/visa-doc-translate" ".claude/skills/visa-doc-translate"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit d8409a4b0813. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
Instructs shell/process/package operations that run commands on the host.
Evidence: pip install· fingerprint 7944ec554efca445