[package]
name = "opencv"
description = "Rust bindings for OpenCV"
documentation = "https://docs.rs/opencv"
repository = "https://github.com/twistedfall/opencv-rust"
readme = "README.md"
keywords = ["opencv", "vision"]
license = "MIT"
version = "0.81.1"
edition = "2021"
rust-version = "1.59"
resolver = "1"
authors = ["Pro <twisted.fall@gmail.com>", "Mathieu Poumeyrol <kali@zoy.org>"]
autoexamples = false
exclude = ["/.github", "/ci", "/tools", "release.toml", "rustfmt.toml"]
[lib]
doctest = false
[badges]
maintenance = { status = "actively-developed" }
[workspace]
members = ["binding-generator"]
[[example]]
name = "discrete_fourier_transform"
[[example]]
name = "hough_lines"
[[example]]
name = "opencl"
[[example]]
name = "video_capture"
[[example]]
name = "video_facedetect"
[[example]]
name = "video_features"
[[example]]
name = "video_to_gray"
[[example]]
name = "warp_perspective_demo"
[[example]]
name = "window"
[dependencies]
libc = "0.2"
num-traits = "0.2"
once_cell = "1"
rgb = { version = "0.8.20", features = ["argb"], optional = true }
[build-dependencies]
opencv-binding-generator = { version = "0.62.0", path = "binding-generator" }
cc = { version = "1", features = ["parallel"] }
clang = { version = "2", features = ["clang_6_0", "runtime"] }
dunce = "1"
jobserver = "0.1.25"
once_cell = "1"
pkg-config = "0.3"
semver = "1"
shlex = "1"
vcpkg = "0.2.9"
[dev-dependencies]
matches = "0.1"
[features]
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",
]
alphamat = []
aruco = []
aruco_detector = ["aruco"]
barcode = []
bgsegm = ["video"]
bioinspired = []
calib3d = ["features2d"]
ccalib = ["features2d"]
cudaarithm = []
cudabgsegm = ["video"]
cudacodec = []
cudafeatures2d = ["features2d"]
cudafilters = []
cudaimgproc = ["imgproc"]
cudaobjdetect = ["objdetect"]
cudaoptflow = []
cudastereo = ["calib3d"]
cudawarping = []
cvv = []
dnn = []
dnn_superres = []
dpm = []
face = ["objdetect"]
features2d = ["flann"]
flann = []
freetype = []
fuzzy = []
gapi = []
hdf = []
hfs = []
highgui = []
img_hash = []
imgcodecs = []
imgproc = []
intensity_transform = []
line_descriptor = []
mcc = ["dnn"]
ml = []
objdetect = []
optflow = ["video"]
ovis = []
phase_unwrapping = []
photo = []
plot = []
quality = ["ml"]
rapid = []
rgbd = []
saliency = []
sfm = []
shape = []
stereo = []
stitching = ["features2d", "imgproc"]
structured_light = []
superres = []
surface_matching = []
text = []
tracking = ["video"]
video = []
videoio = []
videostab = ["features2d"]
viz = []
xfeatures2d = ["features2d"]
ximgproc = ["calib3d"]
xobjdetect = []
xphoto = ["photo"]
wechat_qrcode = []
[package.metadata.docs.rs]
no-default-features = true