# Decode Qrcode

> Decode Qrcode is an Agent Skill for documents published in the CoderWanFeng/python-office repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

解析二维码图片并提取其中的文本内容。当用户提到二维码识别、扫二维码、读二维码、解码 QR 时使用。

- Skill name: `decode_qrcode`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/image/decode_qrcode/SKILL.md
- Repository: CoderWanFeng/python-office (1,326 GitHub stars when collected)

## SKILL.md

# decode_qrcode Skill

> 解析二维码

## 功能描述

解析二维码图片，提取二维码中的内容。

## 所属分类

`office/skills/image/decode_qrcode/`

## 调用方式

```python
from office.skills.image import decode_qrcode

decode_qrcode(qrcode_path='./qrcode.png')
```

## 参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `qrcode_path` | str | 是 | - | 二维码图片的路径 |

## 返回值

`None`（解析结果直接打印输出）

## 使用示例

```python
from office.skills.image import decode_qrcode
decode_qrcode(qrcode_path='./my_qrcode.png')
```

## 原始函数

`office.api.image.decode_qrcode`

---

Source: https://www.openparable.com/skill/documents/decode-qrcode (OpenParable). Cite the canonical URL above.
