Skip to content
Automation
Skill

/decode_qrcode

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

BOOST
From plugin
python-office
1.4k74 skills
Install
$ npx -y skills add coderwanfeng/python-office --skill decode_qrcode --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/decode_qrcode

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

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

decode_qrcode Skill

> 解析二维码

功能描述

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

所属分类

`office/skills/image/decode_qrcode/`

调用方式

from skills.image import decode_qrcode

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

参数说明

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

返回值

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

使用示例

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

原始函数

`office.api.image.decode_qrcode`

Ships withpython-office

pip install python-office 自动化办公专用库

Get the whole plugin
Stats
1,358
Stars
303
Forks
Maintained
Maintenance
Python
Language
Apache-2.0
License
1mo ago
Last commit
4y ago
Created
1d ago
Added

Repo: coderwanfeng/python-office

Other skills on python-office.