Skills DirectorySearch all skills ↗

AI agent skill · by @CoderWanFeng

Decode Qrcode

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

Archived 2026-10-23 · Source updated 2026-08-19 · License: Apache-2.0. Check the original repository for the latest version.

SKILL.md instructions

# decode_qrcode Skill

> 解析二维码

## 功能描述

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

## 所属分类

`office/skills/image/decode_qrcode/`

## 调用方式

```python
from skills.image import decode_qrcode

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

## 参数说明

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

## 返回值

`None`(解析结果直接打印输出)

## 使用示例

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

## 原始函数

`office.api.image.decode_qrcode`

Related skills