AI-QR-code-scanning-
Manifest validQR/barcode scanner for DeepSeek Harness: decode images, the live screen or a webcam with zxing-cpp (WASM), and generate QR codes. 4 model tools, ~14 ms per decode.
AI-QR-code-scanning-
QR / barcode scanning for DeepSeek Harness (DSH): give the model eyes for codes — from image files, the live screen, or a webcam — plus QR generation.
Decoding is powered by zxing-cpp compiled to WebAssembly (zxing-wasm), the same C++ core behind most desktop scanners, so rotated, inverted, tiny, perspective-skewed and multi-symbol images all work.
Tools
| Tool | What it does | Input |
|---|---|---|
qr_scan | Decode every code in an image, with positions | path, glob, http(s) URL |
qr_scan_screen | Capture the screen (optionally a region) and decode | region: "x,y,w,h" |
qr_scan_camera | Grab one webcam frame and decode | optional device name |
qr_make | Render text/URL as a QR PNG | writes to .dsh-qr/ in the workspace |
{
"ok": true,
"source": "C:\\shots\\poster.png",
"results": [
{ "text": "http://cloud.example.com/embed/76e3ca", "format": "QR Code", "kind": "url", "box": [215, 403, 300, 489] }
]
}
kind classifies the payload as url / wifi / contact / email / phone / sms / numeric / text.
Install
From GitHub (recommended; add the dsh-plugin topic and the marketplace picks it up automatically):
dsh plugin --profile web add github:mkingyixing/AI-QR-code-scanning-
From npm: not published yet. npm rejects uppercase package names, so publishing would need a lowercase name (e.g. ai-qr-code-scanning) — see PUBLISHING.md.
Local install (desktop profile, no network):
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1
Restart DeepSeek Harness afterwards. Uninstall with -Uninstall.
Why a plugin instead of a script
On the shared 10-image corpus (rotation, inversion, 78px thumbnail, blurry JPEG, perspective, two codes in one frame) zxing-cpp scores 10/10 — see tools/_bench/results.md. Running it in-process removes the interpreter startup:
| Metric | Python script | This plugin |
|---|---|---|
| One decode (cold) | ~750 ms | 92 ms (WASM load) |
| One decode (warm) | ~750 ms | 13.6 ms |
| Full-screen capture + decode | ~1 500 ms | 227 ms |
Config
- insert:
- id: tool-qr-scanner
name: AI-QR-code-scanning-
config:
outputDir: .dsh-qr
maxInputBytes: 20971520
timeoutMs: 20000
Privacy
Everything runs locally: WASM decoding, GDI screen capture, ffmpeg frame grabs. No network calls unless you pass an explicit http(s) URL to qr_scan. Screenshots stay in memory unless save: true.
Limitations
- Screen capture uses Win32 GDI via
koffi, so it is Windows-only;qr_scanandqr_makestill work elsewhere. - Webcam capture needs
ffmpegonPATH(orDSH_FFMPEG). - Image formats: PNG/JPEG/WebP/GIF/BMP/TIFF/AVIF (decoded by sharp).
License
MIT
Comments
Loading…
Similar plugins
by hellosky983
Offline QR code (SVG/PNG/ASCII) and barcode (Code128/EAN-13) generator for DeepSeek Harness, no network and no shell.
★ 2
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-qrcodeby Raiyan007-gb
Scan a QR code in Settings to open the DeepSeek Harness web UI on your phone inside the active session via a cloudflared quick tunnel.
★ 2
↓ 109/wk
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-remote-tunnel-easyby yuehancn
DeepSeek Harness plugin
★ 0
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-tool-qrcodeby dttxorg
Auditable vision and cross-platform Computer Use runtime for DeepSeek Harness — strict evidence, health-checked failover, original pixels, and Token accounting.
★ 7
↓ 84/wk
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add @dttxorg/deepseekeyesby xlight
使用 DeepSeek 官方多模态视觉模型让你的 Agent 不再眼瞎(支持 DSH、Zed、OpenCode、Codex、Claude Code、Cursor、Claude Desktop)
★ 17
↓ 46/wk
Rust
Oct 20, 2026
dsh plugin --profile web add @xlight-oss/visionary-dshby jing-hy
Windows-only computer use for DeepSeek Harness: captures the virtual screen and drives mouse & keyboard through 9 tools built on PowerShell and Win32 SendInput; pairs with picturereader so text-only m
★ 4
↓ 798/wk
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add computer-user