Omar-Khaleel

QR Code Generator & Reader

設計創意v1.0.0
作者:Omar-Khaleel更新於 2026-05-11qr-code-intelligence@clawhub_omar-khaleel/qr-code-intelligence
圖片生成

據 AlphaMoat 統計,截至 2026-09,QR Code Generator & Reader 累計下載 2,776 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 3,890 位,在「設計創意」分類(512 個)中排名第 375 位。

累計安裝
131
累計下載
2776
星標
1
全站排名
#3,890
全站前 77% · 「設計創意」前 74%
平台累計安裝累計下載星標評論
ClawHub ↗8025221-
SkillHub ↗13127761—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

可將文字、連結或其他資料編碼為二維碼圖片,也可解碼 PNG、JPG 或截圖中的二維碼。生成和讀取使用不同 Python 依賴;解碼能力還取決於平台的 zbar 安裝。可復現部署時應固定依賴版本,並在執行前核對指令碼路徑是否與實際包佈局一致。

資料釋出於 2026-10-29

可以用來做什麼

  • 需要生成二維碼圖片或從現有圖片中提取二維碼內容的開發者與 agent 使用者。

什麼時候用

  • 生成前確認編碼內容可以公開或分享;解碼前確認依賴和平台元件可用,並核實指令碼路徑。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

說明生成二維碼與讀取截圖二維碼所需的依賴;不要建立圖片或讀取任何圖像。

月度資料趨勢

累計下載2776
1611223728622026-03 · 累計下載 16972026-05 · 累計下載 20232026-06 · 累計下載 21482026-07 · 累計下載 23602026-08 · 累計下載 24882026-09 · 累計下載 277626-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092776—1
2026-082488+5.4%1
2026-072360+9.9%1
2026-062148+6.2%1
2026-052023—1
2026-031697—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.7 KB · ClawHub v1.0.0
---
name: qr-code
description: 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.
---

# QR Code

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

## Capabilities
展開全部(共 87 行)

- 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

```bash
pip install qrcode pillow
```

### For Reading

```bash
pip install pillow pyzbar
```

On Windows, pyzbar requires Visual C++ Redistributable.
On macOS: `brew install zbar`
On Linux: `apt install libzbar0`

## Generate QR Code

```bash
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:

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

## Read QR Code

```bash
python scripts/qr_read.py image.png
```

Returns the decoded text/URL from the QR code.

## Quick Examples

Generate QR for a URL:

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

Read QR from image:

```python
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

「設計創意」分類下的熱門技能

Omar-Khaleel 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。