mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-18 08:03:28 +08:00
docs(zh-CN): sync Chinese docs with latest upstream changes (#304)
* docs(zh-CN): sync Chinese docs with latest upstream changes * update --------- Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
91
docs/zh-CN/skills/visa-doc-translate/README.md
Normal file
91
docs/zh-CN/skills/visa-doc-translate/README.md
Normal file
@@ -0,0 +1,91 @@
|
||||
# 签证文件翻译器
|
||||
|
||||
自动将签证申请文件从图像翻译为专业的英文 PDF。
|
||||
|
||||
## 功能
|
||||
|
||||
* 🔄 **自动 OCR**:尝试多种 OCR 方法(macOS Vision、EasyOCR、Tesseract)
|
||||
* 📄 **双语 PDF**:原始图像 + 专业英文翻译
|
||||
* 🌍 **多语言支持**:支持中文及其他语言
|
||||
* 📋 **专业格式**:适合官方签证申请
|
||||
* 🚀 **完全自动化**:无需人工干预
|
||||
|
||||
## 支持的文件类型
|
||||
|
||||
* 银行存款证明(存款证明)
|
||||
* 在职证明(在职证明)
|
||||
* 退休证明(退休证明)
|
||||
* 收入证明(收入证明)
|
||||
* 房产证明(房产证明)
|
||||
* 营业执照(营业执照)
|
||||
* 身份证和护照
|
||||
|
||||
## 使用方法
|
||||
|
||||
```bash
|
||||
/visa-doc-translate <image-file>
|
||||
```
|
||||
|
||||
### 示例
|
||||
|
||||
```bash
|
||||
/visa-doc-translate RetirementCertificate.PNG
|
||||
/visa-doc-translate BankStatement.HEIC
|
||||
/visa-doc-translate EmploymentLetter.jpg
|
||||
```
|
||||
|
||||
## 输出
|
||||
|
||||
创建 `<filename>_Translated.pdf`,包含:
|
||||
|
||||
* **第 1 页**:原始文件图像(居中,A4 尺寸)
|
||||
* **第 2 页**:专业英文翻译
|
||||
|
||||
## 要求
|
||||
|
||||
### Python 库
|
||||
|
||||
```bash
|
||||
pip install pillow reportlab
|
||||
```
|
||||
|
||||
### OCR(需要以下之一)
|
||||
|
||||
**macOS(推荐)**:
|
||||
|
||||
```bash
|
||||
pip install pyobjc-framework-Vision pyobjc-framework-Quartz
|
||||
```
|
||||
|
||||
**跨平台**:
|
||||
|
||||
```bash
|
||||
pip install easyocr
|
||||
```
|
||||
|
||||
**Tesseract**:
|
||||
|
||||
```bash
|
||||
brew install tesseract tesseract-lang
|
||||
pip install pytesseract
|
||||
```
|
||||
|
||||
## 工作原理
|
||||
|
||||
1. 如有需要,将 HEIC 转换为 PNG
|
||||
2. 检查并应用 EXIF 旋转
|
||||
3. 使用可用的 OCR 方法提取文本
|
||||
4. 翻译为专业英文
|
||||
5. 生成双语 PDF
|
||||
|
||||
## 完美适用于
|
||||
|
||||
* 🇦🇺 澳大利亚签证申请
|
||||
* 🇺🇸 美国签证申请
|
||||
* 🇨🇦 加拿大签证申请
|
||||
* 🇬🇧 英国签证申请
|
||||
* 🇪🇺 欧盟签证申请
|
||||
|
||||
## 许可证
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user