Crate opencv

Source
Expand description

Rust bindings for the OpenCV computer vision library

Git | Readme | Docs | Sponsor

Please note that this documentation is automatically generated from the C++ headers. So expect references to C++ items, code examples in C++ and other strange things.

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

alphamat
Alpha Matting
aruco
Aruco markers, module functionality was moved to objdetect module
bgsegm
Improved Background-Foreground Segmentation Methods
bioinspired
Biologically inspired vision models and derivated tools
boxed_ref
calib3d
Camera Calibration and 3D Reconstruction
ccalib
Custom Calibration Pattern for 3D reconstruction
core
Core functionality
cudaarithm
Operations on Matrices
cudabgsegm
Background Segmentation
cudacodec
Video Encoding/Decoding
cudafeatures2d
Feature Detection and Description
cudafilters
Image Filtering
cudaimgproc
Image Processing
cudalegacy
Legacy support
cudaobjdetect
Object Detection
cudaoptflow
Optical Flow
cudastereo
Stereo Correspondence
cudawarping
Image Warping
cvv
GUI for Interactive Visual Debugging of Computer Vision Programs
dnn
Deep Neural Network module
dnn_superres
DNN used for super resolution
dpm
Deformable Part-based Models
error
face
Face Analysis
features2d
2D Features Framework
flann
Clustering and Search in Multi-Dimensional Spaces
freetype
Drawing UTF-8 strings with freetype/harfbuzz
fuzzy
Image processing based on fuzzy mathematics
gapi
\defgroup gapi_ref G-API framework
hdf
Hierarchical Data Format I/O routines
hfs
Hierarchical Feature Selection for Efficient Image Segmentation
highgui
High-level GUI
hub_prelude
img_hash
The module brings implementations of different image hashing algorithms.
imgcodecs
Image file reading and writing
imgproc
Image Processing
intensity_transform
The module brings implementations of intensity transformation algorithms to adjust image contrast.
line_descriptor
Binary descriptors for lines extracted from an image
mcc
Macbeth Chart module
ml
Machine Learning
mod_prelude
Prelude for generated modules and types
mod_prelude_sys
Prelude for sys (externs) module and types
objdetect
Object Detection
optflow
Optical Flow Algorithms
ovis
OGRE 3D Visualiser
phase_unwrapping
Phase Unwrapping API
photo
Computational Photography
platform_types
Reexported platform types that are used by OpenCV
plot
Plot function for Mat data
prelude
quality
rapid
silhouette based 3D object tracking
rgbd
RGB-Depth Processing
saliency
Saliency API
sfm
Structure From Motion
shape
Shape Distance and Matching
signal
Signal Processing
stereo
Stereo Correspondance Algorithms
stitching
Images stitching
structured_light
Structured Light API
superres
Super Resolution
surface_matching
Surface Matching
text
Scene Text Detection and Recognition
tracking
Tracking API
traits
types
video
Video Analysis
videoio
Video I/O
videostab
Video Stabilization
viz
3D Visualizer
wechat_qrcode
WeChat QR code detector for detecting and parsing QR code.
xfeatures2d
Extra 2D Features Framework
ximgproc
Extended Image Processing
xobjdetect
Extended object detection
xphoto
Additional photo processing algorithms

Macros§

not_opencv_branch_4
Conditional compilation macro based on OpenCV branch version for usage in external crates.
not_opencv_branch_5
Conditional compilation macro based on OpenCV branch version for usage in external crates.
not_opencv_branch_34
Conditional compilation macro based on OpenCV branch version for usage in external crates.
opencv_branch_4
Conditional compilation macro based on OpenCV branch version for usage in external crates.
opencv_branch_5
Conditional compilation macro based on OpenCV branch version for usage in external crates.
opencv_branch_34
Conditional compilation macro based on OpenCV branch version for usage in external crates.
opencv_has_inherent_feature_algorithm_hint
Conditional compilation macro based on whether OpenCV was built with or without the algorithm_hint feature
opencv_has_inherent_feature_cuda
Conditional compilation macro based on whether OpenCV was built with or without the cuda feature
opencv_has_inherent_feature_hfloat
Conditional compilation macro based on whether OpenCV was built with or without the hfloat feature
opencv_has_inherent_feature_opencl
Conditional compilation macro based on whether OpenCV was built with or without the opencl feature
opencv_has_module_3d
Conditional compilation macro based on whether the 3d OpenCV module is enabled
opencv_has_module_alphamat
Conditional compilation macro based on whether the alphamat OpenCV module is enabled
opencv_has_module_aruco
Conditional compilation macro based on whether the aruco OpenCV module is enabled
opencv_has_module_aruco_detector
Conditional compilation macro based on whether the aruco_detector OpenCV module is enabled
opencv_has_module_barcode
Conditional compilation macro based on whether the barcode OpenCV module is enabled
opencv_has_module_bgsegm
Conditional compilation macro based on whether the bgsegm OpenCV module is enabled
opencv_has_module_bioinspired
Conditional compilation macro based on whether the bioinspired OpenCV module is enabled
opencv_has_module_calib
Conditional compilation macro based on whether the calib OpenCV module is enabled
opencv_has_module_calib3d
Conditional compilation macro based on whether the calib3d OpenCV module is enabled
opencv_has_module_ccalib
Conditional compilation macro based on whether the ccalib OpenCV module is enabled
opencv_has_module_core
Conditional compilation macro based on whether the core OpenCV module is enabled
opencv_has_module_cudaarithm
Conditional compilation macro based on whether the cudaarithm OpenCV module is enabled
opencv_has_module_cudabgsegm
Conditional compilation macro based on whether the cudabgsegm OpenCV module is enabled
opencv_has_module_cudacodec
Conditional compilation macro based on whether the cudacodec OpenCV module is enabled
opencv_has_module_cudafeatures2d
Conditional compilation macro based on whether the cudafeatures2d OpenCV module is enabled
opencv_has_module_cudafilters
Conditional compilation macro based on whether the cudafilters OpenCV module is enabled
opencv_has_module_cudaimgproc
Conditional compilation macro based on whether the cudaimgproc OpenCV module is enabled
opencv_has_module_cudalegacy
Conditional compilation macro based on whether the cudalegacy OpenCV module is enabled
opencv_has_module_cudaobjdetect
Conditional compilation macro based on whether the cudaobjdetect OpenCV module is enabled
opencv_has_module_cudaoptflow
Conditional compilation macro based on whether the cudaoptflow OpenCV module is enabled
opencv_has_module_cudastereo
Conditional compilation macro based on whether the cudastereo OpenCV module is enabled
opencv_has_module_cudawarping
Conditional compilation macro based on whether the cudawarping OpenCV module is enabled
opencv_has_module_cvv
Conditional compilation macro based on whether the cvv OpenCV module is enabled
opencv_has_module_dnn
Conditional compilation macro based on whether the dnn OpenCV module is enabled
opencv_has_module_dnn_superres
Conditional compilation macro based on whether the dnn_superres OpenCV module is enabled
opencv_has_module_dpm
Conditional compilation macro based on whether the dpm OpenCV module is enabled
opencv_has_module_face
Conditional compilation macro based on whether the face OpenCV module is enabled
opencv_has_module_features
Conditional compilation macro based on whether the features OpenCV module is enabled
opencv_has_module_features2d
Conditional compilation macro based on whether the features2d OpenCV module is enabled
opencv_has_module_flann
Conditional compilation macro based on whether the flann OpenCV module is enabled
opencv_has_module_freetype
Conditional compilation macro based on whether the freetype OpenCV module is enabled
opencv_has_module_fuzzy
Conditional compilation macro based on whether the fuzzy OpenCV module is enabled
opencv_has_module_gapi
Conditional compilation macro based on whether the gapi OpenCV module is enabled
opencv_has_module_hdf
Conditional compilation macro based on whether the hdf OpenCV module is enabled
opencv_has_module_hfs
Conditional compilation macro based on whether the hfs OpenCV module is enabled
opencv_has_module_highgui
Conditional compilation macro based on whether the highgui OpenCV module is enabled
opencv_has_module_img_hash
Conditional compilation macro based on whether the img_hash OpenCV module is enabled
opencv_has_module_imgcodecs
Conditional compilation macro based on whether the imgcodecs OpenCV module is enabled
opencv_has_module_imgproc
Conditional compilation macro based on whether the imgproc OpenCV module is enabled
opencv_has_module_intensity_transform
Conditional compilation macro based on whether the intensity_transform OpenCV module is enabled
opencv_has_module_line_descriptor
Conditional compilation macro based on whether the line_descriptor OpenCV module is enabled
opencv_has_module_mcc
Conditional compilation macro based on whether the mcc OpenCV module is enabled
opencv_has_module_ml
Conditional compilation macro based on whether the ml OpenCV module is enabled
opencv_has_module_objdetect
Conditional compilation macro based on whether the objdetect OpenCV module is enabled
opencv_has_module_optflow
Conditional compilation macro based on whether the optflow OpenCV module is enabled
opencv_has_module_ovis
Conditional compilation macro based on whether the ovis OpenCV module is enabled
opencv_has_module_phase_unwrapping
Conditional compilation macro based on whether the phase_unwrapping OpenCV module is enabled
opencv_has_module_photo
Conditional compilation macro based on whether the photo OpenCV module is enabled
opencv_has_module_plot
Conditional compilation macro based on whether the plot OpenCV module is enabled
opencv_has_module_quality
Conditional compilation macro based on whether the quality OpenCV module is enabled
opencv_has_module_rapid
Conditional compilation macro based on whether the rapid OpenCV module is enabled
opencv_has_module_rgbd
Conditional compilation macro based on whether the rgbd OpenCV module is enabled
opencv_has_module_saliency
Conditional compilation macro based on whether the saliency OpenCV module is enabled
opencv_has_module_sfm
Conditional compilation macro based on whether the sfm OpenCV module is enabled
opencv_has_module_shape
Conditional compilation macro based on whether the shape OpenCV module is enabled
opencv_has_module_signal
Conditional compilation macro based on whether the signal OpenCV module is enabled
opencv_has_module_stereo
Conditional compilation macro based on whether the stereo OpenCV module is enabled
opencv_has_module_stitching
Conditional compilation macro based on whether the stitching OpenCV module is enabled
opencv_has_module_structured_light
Conditional compilation macro based on whether the structured_light OpenCV module is enabled
opencv_has_module_superres
Conditional compilation macro based on whether the superres OpenCV module is enabled
opencv_has_module_surface_matching
Conditional compilation macro based on whether the surface_matching OpenCV module is enabled
opencv_has_module_text
Conditional compilation macro based on whether the text OpenCV module is enabled
opencv_has_module_tracking
Conditional compilation macro based on whether the tracking OpenCV module is enabled
opencv_has_module_video
Conditional compilation macro based on whether the video OpenCV module is enabled
opencv_has_module_videoio
Conditional compilation macro based on whether the videoio OpenCV module is enabled
opencv_has_module_videostab
Conditional compilation macro based on whether the videostab OpenCV module is enabled
opencv_has_module_viz
Conditional compilation macro based on whether the viz OpenCV module is enabled
opencv_has_module_wechat_qrcode
Conditional compilation macro based on whether the wechat_qrcode OpenCV module is enabled
opencv_has_module_xfeatures2d
Conditional compilation macro based on whether the xfeatures2d OpenCV module is enabled
opencv_has_module_ximgproc
Conditional compilation macro based on whether the ximgproc OpenCV module is enabled
opencv_has_module_xobjdetect
Conditional compilation macro based on whether the xobjdetect OpenCV module is enabled
opencv_has_module_xphoto
Conditional compilation macro based on whether the xphoto OpenCV module is enabled
opencv_has_module_xstereo
Conditional compilation macro based on whether the xstereo OpenCV module is enabled