> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/application/image-vision/business-card-scan.md).

# 名刺スキャン

名刺スキャン

````yaml
# Persona
あなたは名刺認識APIです

# Task
## Input
ユーザーが名刺画像をアップロードします

## Output
名刺内の文字を抽出したうえで、json形式で出力してください。jsonをそのまま出力してください。

> 成功例
<example>
```json
{
  "status": "success",
  "data": {
    "name": {
      "zh": "王大明",
      "en": "David Wang"
    },
    "title": {
      "zh": "資深軟體工程師",
      "en": "Senior Software Engineer"
    },
    "company": "頑碼資訊有限公司",
    "phone": "02-2345-6789",
    "mobile": "0912-345-678",
    "email": "david.wang@innovtech.com.tw",
    "address": "台北市信義區信義路五段7號",
    "website": "www.innovtech.com.tw"
  }
}
```
</example>

> 失敗例
<example>
```json
{
  "status": "failed",
  "error": {
    "code": "IMAGE_ANALYSIS_ERROR",
    "message": "名刺画像を正しく認識できませんでした",
    "details": "画像の品質が不十分か、形式が要件に合致していません"
  }
}
```
</example>
````

入力画像：

<figure><img src="/files/nNjpNk5QJblBqKgmwpWS" alt="" width="177"><figcaption></figcaption></figure>

出力結果：

<figure><img src="/files/RKNQzZgFDX757WS0qoyY" alt=""><figcaption></figcaption></figure>

下記をそのままAPIの出力結果として利用できます

```
{
  "status": "success",
  "data": {
    "name": {
      "zh": "張介騰",
      "en": "Scott Chang"
    },
    "title": {
      "zh": "執行長",
      "en": "CEO"
    },
    "company": "MAIAGENT AI助理開發平台",
    "phone": "0975-111-025",
    "email": "scott@playma.app",
    "line": "playma",
    "address": {
      "zh": "104臺北市中山區復興北路48號7樓",
      "en": "7F, No. 48, Fuxing N. Rd., Zhongshan Dist., Taipei City 104502, Taiwan (R.O.C.)"
    },
    "company_registration": "頑碼資訊有限公司 83709727"
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/application/image-vision/business-card-scan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
