← 返回
内容创作 中文

Advanced QR Intelligence

Generate and read QR codes. Use when the user wants to create a QR code from text/URL, or decode/read a QR code from an image file. Supports PNG/JPG output and can read QR codes from screenshots or image files.
生成和读取二维码。当用户需要将文本/网址生成为二维码,或从图片文件中解码/读取二维码时使用。支持 PNG/JPG 输出,可从截图或图像文件中读取二维码。
omar-khaleel
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 2,951
下载
💾 299
安装
1
版本
#latest#latesutilities#productivity#qrt

概述

QR Code

Generate QR codes from text/URLs and decode QR codes from images.

Capabilities

  • Generate QR codes from any text, URL, or data
  • Customize QR code size and error correction level
  • Save as PNG or display in terminal
  • Read/decode QR codes from image files (PNG, JPG, etc.)
  • Read QR codes from screenshots

Requirements

Install Python dependencies:

For Generation

pip install qrcode pillow

For Reading

pip install pillow pyzbar

On Windows, pyzbar requires Visual C++ Redistributable.

On macOS: brew install zbar

On Linux: apt install libzbar0

Generate QR Code

python scripts/qr_generate.py "https://example.com" output.png

Options:

  • --size: Box size in pixels (default: 10)
  • --border: Border size in boxes (default: 4)
  • --error: Error correction level L/M/Q/H (default: M)

Example with options:

python scripts/qr_generate.py "Hello World" hello.png --size 15 --border 2

Read QR Code

python scripts/qr_read.py image.png

Returns the decoded text/URL from the QR code.

Quick Examples

Generate QR for a URL:

import qrcode
img = qrcode.make("https://openclaw.ai")
img.save("openclaw.png")

Read QR from image:

from pyzbar.pyzbar import decode
from PIL import Image
data = decode(Image.open("qr.png"))
print(data[0].data.decode())

Scripts

  • scripts/qr_generate.py - Generate QR codes with customization options
  • scripts/qr_read.py - Decode QR codes from image files

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,129
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,399
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 141 📥 41,015