visa-doc-translate
ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する
Original · translation did not pass checksTarget: PDF. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original Japanese text
Topics in the source
- 手順
- 対応ドキュメント
- 技術実装
- OCR方法(順番に試す)
- 必要なPythonライブラリ
- 重要なガイドライン
- 使用例
- 出力例
ビザ申請のためのビザ申請書類の翻訳を支援している。 ユーザーが画像ファイルのパスを提供した場合、確認を求めずに以下の手順を自動的に実行する: 1. 画像変換:ファイルがHEIC形式の場合、sips -s format png --out を使用してPNGに変換する 2. 画像の回転: EXIFの向きデータを確認する EXIFデータに基づいて画像を自動的に回転させる EXIFの向きが6の場合は、反時計回りに90度回転させる 必要に応じて追加の回転を適用する(ドキュメントが上下逆に見える場合は180度をテストする) 3. OCRテキスト抽出: 複数のOCR方法を自動的に試みる: macOS Visionフレームワーク(macOS優先) EasyOCR(クロスプラットフォーム、tesseract不要) Tesseract OCR(利用可能な場合) ドキュメントからすべてのテキスト情報を抽出する ドキュメントの種類を識別する(預金証明書、在職証明書、退職証明書など) 4. 翻訳: すべてのテキストコンテンツをプロフェッショナルに英語に翻訳する 元のドキュメントの構造とフォーマットを維持する ビザ申請に適した専門的な用語を使用する 固有名詞は元の言語を保持し、括弧内に英語を追記する 中国語の名前には拼音フォーマットを使用する(例:WU Zhengye) すべての数字、日付、金額を正確に保持する 5. PDF生成: PILとreportlabライブラリを使用してPythonスクリプトを作成する 第1ページ:回転後の元の画像を中央に配置し、A4ページに合わせてスケーリングして表示する 第2ページ:適切なフォーマットで英語翻訳を表示する: タイトルは中央揃えで太字 コンテンツは左揃え、適切な間隔 公式文書に適したプロフェッショナルなレイアウト 下部に注記を追加する:"This is a certified English translation of the original document" スクリプトを実行してPDFを生成する 6. 出力:同じディレクトリに Translated.pdf という名前のPDFファイルを作成する 銀行預金証明書 (存款证明) 収入証明書 (收入证明) 在職証明書 (在职证明) 退職証明書 (退休证明) 不動産証明書 (房产证明) 営業許可証 (营业执照) 身分証明書とパスポート その他の公式文書 1. macOS Visionフレームワーク(macOSのみ): 2. EasyOCR(クロスプラットフォーム): 3. Tesseract OCR(利用可能な場合): macOS Visionフレームワークの場合: 各ステップでユーザーに確認を求めない 最適な回転角度を自動的に判断する 1つのOCR方法が失敗した場合は複数の方法を試みる すべて
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- docs/ja-JP/skills/visa-doc-translate/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.795Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.