Cargo Features

[dependencies]
opencv = { version = "0.93.4", default-features = false, features = ["alphamat", "aruco", "aruco_detector", "barcode", "bgsegm", "bioinspired", "calib3d", "ccalib", "cudaarithm", "cudabgsegm", "cudacodec", "cudafeatures2d", "cudafilters", "cudaimgproc", "cudaobjdetect", "cudaoptflow", "cudastereo", "cvv", "dnn", "dpm", "face", "features2d", "flann", "highgui", "imgcodecs", "imgproc", "line_descriptor", "mcc", "ml", "objdetect", "optflow", "phase_unwrapping", "photo", "plot", "quality", "stereo", "stitching", "surface_matching", "text", "tracking", "video", "videoio", "videostab", "viz", "xfeatures2d", "ximgproc", "xobjdetect", "xphoto", "wechat_qrcode", "clang-runtime", "rgb"] }
default = alphamat, aruco, aruco_detector, barcode, bgsegm, bioinspired, calib3d, ccalib, cudaarithm, cudabgsegm, cudacodec, cudafeatures2d, cudafilters, cudaimgproc, cudaobjdetect, cudaoptflow, cudastereo, cudawarping, cvv, dnn, dnn_superres, dpm, face, features2d, flann, freetype, fuzzy, gapi, hdf, hfs, highgui, img_hash, imgcodecs, imgproc, intensity_transform, line_descriptor, mcc, ml, objdetect, optflow, ovis, phase_unwrapping, photo, plot, quality, rapid, rgbd, saliency, sfm, shape, stereo, stitching, structured_light, superres, surface_matching, text, tracking, video, videoio, videostab, viz, wechat_qrcode, xfeatures2d, ximgproc, xobjdetect, xphoto

These default features are set whenever opencv is added without default-features = false somewhere in the dependency tree.

alphamat default

OpenCV module features

aruco default aruco_detector
aruco_detector default = aruco
barcode default
bgsegm default = video
bioinspired default
calib3d default cudastereo ximgproc = features2d
ccalib default = features2d
cudaarithm default
cudabgsegm default = video
cudacodec default
cudafeatures2d default = features2d
cudafilters default
cudaimgproc default = imgproc
cudaobjdetect default = objdetect
cudaoptflow default
cudastereo default = calib3d
cudawarping cvv default
dnn default mcc
dnn_superres dpm default
face default = objdetect
features2d default calib3d ccalib cudafeatures2d stitching videostab xfeatures2d = flann
flann default features2d
freetype fuzzy gapi hdf hfs highgui default
img_hash imgcodecs default
imgproc default cudaimgproc stitching
intensity_transform line_descriptor default
mcc default = dnn
ml default quality
objdetect default cudaobjdetect face
optflow default = video
ovis phase_unwrapping default
photo default xphoto
plot default
quality default = ml
rapid rgbd saliency sfm shape stereo default
stitching default = features2d, imgproc
structured_light superres surface_matching default
text default
tracking default = video
video default bgsegm cudabgsegm optflow tracking
videoio default
videostab default = features2d
viz default
xfeatures2d default = features2d
ximgproc default = calib3d
xobjdetect default
xphoto default = photo
wechat_qrcode default
clang-runtime build

General features

Enables clang-runtime of opencv-binding-generator

Features from optional dependencies

rgb implicit feature

Enables rgb

version 0.8.20 doesn't contain the deficiency mentioned in https://deps.rs/crate/opencv/0.59.0#vulnerabilities