Comprehensive computer vision and image processing using OpenCV WebAssembly.
使用此技能的场景:
openclaw-wasm-sandbox~/.openclaw/skills/opencv/files/opencv-component.wasm
Download if missing: bash
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"
Use wasm-sandbox-run tool with the WASM file:
javascript
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/opencv/files/opencv-component.wasm",
args: ["<operation>", ...args]
})
For file access, use workDir or mapDir to expose directories to the sandbox.
CategoryOperationsImage Processresize, blur, threshold, morphology, sharpen, crop, statsDetectioncascade, dnn (YOLO), hog, contour, circle, lineFeaturesorb, sift, akaze, match, homography, optflow, templateStitchingpanorama, stitchPhotodenoise, inpaint, stylize, hdr, pencil, detailCalibrationchessboard, undistort, corners, poseMLtrain-knn, train-svm, predict, kmeansBatchbatch-process, batch-convert, batch-stats
See references/operations.md for complete operation reference with arguments, examples, and sandbox notes.