Skip to content
FunCoding

decode_qrcode

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

Star
1,372
License
Apache-2.0
Last commit
Oct 29, 2026

skills/image/decode_qrcode/SKILL.md

View on GitHub

decode_qrcode Skill

解析二维码

功能描述

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

所属分类

office/skills/image/decode_qrcode/

调用方式

from skills.image import decode_qrcode

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

参数说明

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

返回值

str(二维码中的文本内容;同时也会直接打印输出;未识别到二维码时为空字符串)

使用示例

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

原始函数

office.api.image.decode_qrcode

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills203k2,822 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills203k2,822 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k1,401 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k818 new stars in the last 7 days

design-motion

GAgarrytan/gstack143k524 new stars in the last 7 days