Communitygithub.com

비자 문서 번역

비자 신청 서류 이미지를 영어로 번역하고 원본과 번역문이 포함된 이중 언어 PDF를 생성합니다. 비자 신청 문서 이미지를 영어로 번역하여 이중 언어 PDF로 만들어야 할 때 사용합니다.

비자 문서 번역란 무엇인가요?

이 스킬은 비자 신청을 위한 서류(은행 잔고 증명서, 재직 증명서, 퇴직 증명서 등) 이미지를 받아 자동으로 OCR로 텍스트를 추출하고, 전문적인 영어 번역을 수행한 후 원본 이미지와 번역문이 나란히 포함된 이중 언어 PDF를 생성합니다. macOS, Windows, Linux에서 모두 동작하며, macOS Vision 프레임워크, EasyOCR, Tesseract OCR을 순차적으로 시도하여 최대한 정확하게 텍스트를 추출합니다. HEIC 파일을 자동으로 변환하고 EXIF 방향 정보를 기반으로 이미지를 올바르게 회전시킨 후 처리합니다. 생성된 PDF는 A4 용지에 원본 문서 이미지(1페이지)와 전문 영어 번역문(2페이지)을 깔끔하게 배치하며, 마지막에 '이는 원본 문서의 공인 영어 번역본입니다.'라는 문구를 추가합니다. 호주, 미국, 캐나다, 영국 등 비자 신청에 필요한 서류 번역에 최적화되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/visa-doc-translate

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

비자 신청 서류 번역을 도와드립니다.

지침

사용자가 이미지 파일 경로를 제공하면, 확인을 요청하지 않고 다음 단계를 자동으로 실행하세요:

  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페이지: 적절한 형식으로 영어 번역문을 표시하세요:
      • 제목은 중앙 정렬 및 굵게
      • 내용은 왼쪽 정렬 및 적절한 간격
      • 공식 문서에 적합한 전문 레이아웃
    • 하단에 다음 문구를 추가하세요: "이는 원본 문서의 공인 영어 번역본입니다."
    • 스크립트를 실행하여 PDF를 생성하세요.
  6. 출력: 동일한 디렉토리에 <원본_파일명>_Translated.pdf 파일을 생성하세요.

지원 문서

  • 은행 잔고 증명서 (存款证明)
  • 소득 증명서 (收入证明)
  • 재직 증명서 (在职证明)
  • 퇴직 증명서 (退休证明)
  • 부동산 증명서 (房产证明)
  • 사업자 등록증 (营业执照)
  • 신분증 및 여권
  • 기타 공식 문서

기술 구현

OCR 방법 (순서대로 시도)

  1. macOS Vision 프레임워크 (macOS 전용):

    import Vision
    from Foundation import NSURL
    
  2. EasyOCR (크로스 플랫폼):

    pip install easyocr
    
  3. Tesseract OCR (사용 가능한 경우):

    brew install tesseract tesseract-lang
    pip install pytesseract
    

필요한 Python 라이브러리

pip install pillow reportlab

macOS Vision 프레임워크의 경우:

pip install pyobjc-framework-Vision pyobjc-framework-Quartz

중요 지침

  • 각 단계마다 사용자 확인을 요청하지 마세요.
  • 최적의 회전 각도를 자동으로 결정하세요.
  • 하나의 OCR 방법이 실패하면 여러 방법을 시도하세요.
  • 모든 숫자, 날짜, 금액이 정확하게 번역되었는지 확인하세요.
  • 깔끔하고 전문적인 형식을 사용하세요.
  • 전체 프로세스를 완료하고 최종 PDF 위치를 보고하세요.

사용 예시

/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg

출력 예시

이 스킬은 다음을 수행합니다:

  1. 사용 가능한 OCR 방법으로 텍스트 추출
  2. 전문적인 영어로 번역
  3. 다음 내용이 포함된 <파일명>_Translated.pdf 생성:
    • 1페이지: 원본 문서 이미지
    • 2페이지: 전문 영어 번역문

호주, 미국, 캐나다, 영국 등 서류 번역이 필요한 국가의 비자 신청에 완벽합니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬