qr-code-toolkit

二维码/条形码全能工具集 - 支持生成、识别、美化、批量处理。Use when: (1) 需要生成二维码(URL/文本/WiFi/名片/支付), (2) 需要识别/解码二维码或条形码, (3) 需要美化二维码(添加logo/改变颜色/样式), (4) 需要批量生成或识别二维码, (5) 需要生成条形码(EAN/UPC/Code128)

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "qr-code-toolkit" with this command: npx skills add qr-barcode-toolkit

QR Code Toolkit

二维码与条形码全能工具集,基于 Python + qrcode + opencv + zxing 实现。

核心能力

1. 二维码生成

  • 基础二维码(文本/URL)
  • WiFi 连接二维码
  • vCard 名片二维码
  • 邮箱/短信/电话二维码
  • 支付二维码模板

2. 二维码美化

  • 添加中心 Logo
  • 自定义颜色(前景/背景)
  • 圆角/点状/液态样式
  • 嵌入背景图片

3. 二维码识别

  • 图片解码(PNG/JPG/BMP)
  • 摄像头实时识别
  • 批量识别目录内图片
  • 支持损坏/模糊二维码修复

4. 条形码生成

  • Code128(通用)
  • EAN-13(商品条码)
  • UPC-A(北美商品码)
  • Code39 / ITF / Codabar

5. 批量处理

  • 批量生成二维码(CSV/Excel 数据源)
  • 批量识别并导出结果
  • 批量美化处理

快速开始

# 生成基础二维码
python3 scripts/generate_qr.py "https://example.com" --output qr.png

# 生成 WiFi 二维码
python3 scripts/generate_wifi.py --ssid MyWiFi --password secret123 --output wifi_qr.png

# 识别二维码
python3 scripts/decode_qr.py qr.png

# 美化二维码(加logo)
python3 scripts/style_qr.py qr.png --logo logo.png --output styled_qr.png

# 生成条形码
python3 scripts/generate_barcode.py "123456789012" --type ean13 --output barcode.png

# 批量生成
python3 scripts/batch_generate.py data.csv --output-dir ./qrs/

依赖安装

pip install -r requirements.txt

核心依赖:qrcode, pillow, opencv-python, pyzbar, python-barcode

脚本说明

脚本功能
generate_qr.py生成基础二维码
generate_wifi.py生成 WiFi 连接二维码
generate_vcard.py生成名片二维码
decode_qr.py识别/解码二维码
style_qr.py美化二维码
generate_barcode.py生成条形码
batch_generate.py批量生成
batch_decode.py批量识别
verify_qr.py二维码验证与质量检测

详细用法

参见 references/ 目录:

  • qr-standards.md - 二维码标准与容量说明
  • barcode-types.md - 条形码类型参考
  • api-reference.md - 脚本 API 参考

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated