zOpenCV includes bindings for 13 OpenCV Contrib modules.
| Module | Description | Functions |
|---|---|---|
| aruco | ArUco marker detection and generation | 6 |
| bgsegm | Background segmentation (CNT, GMG) | 8 |
| bioinspired | Bio-inspired retina model | 6 |
| dnn_superres | DNN-based super resolution | 7 |
| face | Face recognition (LBPH) | 8 |
| img_hash | Perceptual image hashing | 9 |
| optflow | Dense optical flow (DualTVL1) | 3 |
| saliency | Saliency detection | 4 |
| text | Text detection and OCR | 7 |
| tracking | Object tracking (KCF) | 6 |
| xfeatures2d | Extended features (SURF, BRIEF) | 6 |
| ximgproc | Extended image processing | 9 |
| xphoto | Extended photography | 10 |
zig build test -Dcontrib=true # Run tests including contrib
zig build examples -Dcontrib=true # Build examples including contribconst cv = @import("zopencv");
// Access contrib modules via cv.contrib namespace
var tracker = try cv.contrib.tracking.TrackerKCF.init();
defer tracker.deinit();