OpenCV
by @guyoung
Computer vision and image processing using OpenCV WebAssembly. Uses opencv-component.wasm running in openclaw-wasm-sandbox plugin. Supports image processing,...
clawhub install opencv📖 About This Skill
name: opencv description: Computer vision and image processing using OpenCV WebAssembly. Uses opencv-component.wasm running in openclaw-wasm-sandbox plugin. Supports image processing, object detection, feature extraction, panorama stitching, photo filters, camera calibration, and ML. 图像处理、OpenCV、目标检测、特征提取、图像拼接、相机标定、机器学习
OpenCV Computer Vision Skill
Comprehensive computer vision and image processing using OpenCV WebAssembly.
Trigger When
使用此技能的场景:
Prerequisites
openclaw-wasm-sandbox~/.openclaw/skills/opencv/files/opencv-component.wasm openclaw wasm-sandbox download \
"https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/opencv/files/opencv-component.wasm" \
"~/.openclaw/skills/opencv/files/opencv-component.wasm"
Tool
Use wasm-sandbox-run tool with the WASM file:
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/opencv/files/opencv-component.wasm",
args: ["", ...args]
})
For file access, use workDir or mapDir to expose directories to the sandbox.
Operations Overview
| Category | Operations | |----------|-----------| | Image Process | resize, blur, threshold, morphology, sharpen, crop, stats | | Detection | cascade, dnn (YOLO), hog, contour, circle, line | | Features | orb, sift, akaze, match, homography, optflow, template | | Stitching | panorama, stitch | | Photo | denoise, inpaint, stylize, hdr, pencil, detail | | Calibration | chessboard, undistort, corners, pose | | ML | train-knn, train-svm, predict, kmeans | | Batch | batch-process, batch-convert, batch-stats |
Detailed Usage
See references/operations.md for complete operation reference with arguments, examples, and sandbox notes.
⚙️ Configuration
openclaw-wasm-sandbox~/.openclaw/skills/opencv/files/opencv-component.wasm openclaw wasm-sandbox download \
"https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/opencv/files/opencv-component.wasm" \
"~/.openclaw/skills/opencv/files/opencv-component.wasm"