Repository navigation
Releases
Releases · lyehe/opencvjs_build
Latest Build (2026-02-09)
Latest OpenCV.js Build
Auto-updated on every push to main branch.
- Build Date: 2026-02-09
- Commit: 5536ff9
- OpenCV Version: 4.13.0
Available Builds
| Build | WASM Size | Use Case |
|---|---|---|
| Essential | 5.4M | Core image processing, fast loading |
| Full | 9.7M | All features including DNN, contrib, threading |
Feature Comparison
| Feature | Essential | Full |
|---|---|---|
| Core Modules | ||
| Basic operations (Mat, Scalar, Point) | ✅ | ✅ |
| Image processing (blur, threshold, morphology) | ✅ | ✅ |
| Edge detection (Canny, Sobel, Laplacian) | ✅ | ✅ |
| Drawing functions (lines, shapes, text) | ✅ | ✅ |
| Color conversion (BGR, HSV, Lab) | ✅ | ✅ |
| Contour detection | ✅ | ✅ |
| Feature detection (ORB, AKAZE, BRISK) | ✅ | ✅ |
| Camera calibration (calib3d) | ✅ | ✅ |
| Advanced Modules | ||
| DNN (deep neural network inference) | ❌ | ✅ |
| Object detection (Haar, HOG) | ❌ | ✅ |
| Photo (denoising, HDR, inpainting) | ❌ | ✅ |
| Video analysis (optical flow, tracking) | ❌ | ✅ |
| Machine learning (ml) | ❌ | ✅ |
| Stitching | ❌ | ✅ |
| Contrib Modules | ||
| ArUco marker detection | ❌ | ✅ |
| SIFT/SURF (xfeatures2d) | ❌ | ✅ |
| Face recognition | ❌ | ✅ |
| Extended image processing (ximgproc) | ❌ | ✅ |
| Background segmentation (bgsegm) | ❌ | ✅ |
| Object tracking (KCF, CSRT) | ❌ | ✅ |
| Image hashing (pHash) | ❌ | ✅ |
| WeChat QR code detection | ❌ | ✅ |
| Performance | ||
| SIMD optimization | ✅ | ✅ |
| Multi-threading (Web Workers) | ❌ | ✅ |
Download Files
| Build | JavaScript | WebAssembly |
|---|---|---|
| Essential | opencv-essential.js |
opencv_js-essential.wasm |
| Full | opencv-full.js |
opencv_js-full.wasm |
Quick Usage
// Essential build (smaller, faster)
import cv from 'opencv-contrib-wasm/essential';
// Full build (all features)
import cv from 'opencv-contrib-wasm/full';For stable releases, use a versioned release instead.