OpenParable
Skip to content
← Back to skills

Decode Qrcode

Documents
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 时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/image/decode_qrcode/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/decode-qrcode, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

decode_qrcode Skill

解析二维码

功能描述

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

所属分类

office/skills/image/decode_qrcode/

调用方式

from office.skills.image import decode_qrcode

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

参数说明

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

返回值

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

使用示例

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

原始函数

office.api.image.decode_qrcode