Skip to content
Back to Libraries

OpenCV.js

79k

OpenCV compiled to JavaScript for browser-based computer vision

⚡ WASM🔥 TrendingComputer Vision
License
Apache-2.0
Released
2017
Stars
79k

Use Cases

Face detection, object tracking, image filtering, edge detection, feature matching

Code Example

const cv = await import('@techstark/opencv-js');
const src = cv.imread('image');
const dst = new cv.Mat();
cv.cvtColor(src, dst, cv.COLOR_RGBA2GRAY);
cv.imshow('output', dst);

Related Libraries