Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.74 KB

File metadata and controls

38 lines (30 loc) · 1.74 KB

Contrib Modules Overview

zOpenCV includes bindings for 13 OpenCV Contrib modules.

Module List

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

Building with Contrib

zig build test -Dcontrib=true       # Run tests including contrib
zig build examples -Dcontrib=true   # Build examples including contrib

Usage

const cv = @import("zopencv");

// Access contrib modules via cv.contrib namespace
var tracker = try cv.contrib.tracking.TrackerKCF.init();
defer tracker.deinit();