---
name: coderwanfeng-decode-qrcode
description: "解析二维码图片并提取其中的文本内容。当用户提到二维码识别、扫二维码、读二维码、解码 QR 时使用。"
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "3ec5f548-eee9-4432-9f3b-87805591c658"
  decimalai-version-id: "9a584e40-fc52-45b8-b8ff-1637b1bd32e2"
  decimalai-version: "2"
  decimalai-body-sha256: "663fdce261962ef2c79be710550212e7c385d29d20241a72ead2f60d0be27f5d"
  decimalai-name: "coderwanfeng/decode_qrcode"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "productivity"
  decimalai-source: "https://app.decimal.ai/s/coderwanfeng-decode-qrcode@2/SKILL.md"
---
# 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`
