Enum opencv::videoio::VideoCaptureAPIs
source · #[repr(C)]pub enum VideoCaptureAPIs {
Show 29 variants
CAP_ANY,
CAP_VFW,
CAP_FIREWIRE,
CAP_QT,
CAP_UNICAP,
CAP_DSHOW,
CAP_PVAPI,
CAP_OPENNI,
CAP_OPENNI_ASUS,
CAP_ANDROID,
CAP_XIAPI,
CAP_AVFOUNDATION,
CAP_GIGANETIX,
CAP_MSMF,
CAP_WINRT,
CAP_INTELPERC,
CAP_OPENNI2,
CAP_OPENNI2_ASUS,
CAP_OPENNI2_ASTRA,
CAP_GPHOTO2,
CAP_GSTREAMER,
CAP_FFMPEG,
CAP_IMAGES,
CAP_ARAVIS,
CAP_OPENCV_MJPEG,
CAP_INTEL_MFX,
CAP_XINE,
CAP_UEYE,
CAP_OBSENSOR,
}
Expand description
cv::VideoCapture API backends identifier.
Select preferred API for a capture object. To be used in the VideoCapture::VideoCapture() constructor or VideoCapture::open()
Note: Backends are available only if they have been built with your OpenCV binaries. See [videoio_overview] for more information.
Variants§
CAP_ANY
Auto detect == 0
CAP_VFW
Video For Windows (obsolete, removed)
CAP_FIREWIRE
IEEE 1394 drivers
CAP_QT
QuickTime (obsolete, removed)
CAP_UNICAP
Unicap drivers (obsolete, removed)
CAP_DSHOW
DirectShow (via videoInput)
CAP_PVAPI
PvAPI, Prosilica GigE SDK
CAP_OPENNI
OpenNI (for Kinect)
CAP_OPENNI_ASUS
OpenNI (for Asus Xtion)
CAP_ANDROID
Android - not used
CAP_XIAPI
XIMEA Camera API
CAP_AVFOUNDATION
AVFoundation framework for iOS (OS X Lion will have the same API)
CAP_GIGANETIX
Smartek Giganetix GigEVisionSDK
CAP_MSMF
Microsoft Media Foundation (via videoInput)
CAP_WINRT
Microsoft Windows Runtime using Media Foundation
CAP_INTELPERC
RealSense (former Intel Perceptual Computing SDK)
CAP_OPENNI2
OpenNI2 (for Kinect)
CAP_OPENNI2_ASUS
OpenNI2 (for Asus Xtion and Occipital Structure sensors)
CAP_OPENNI2_ASTRA
OpenNI2 (for Orbbec Astra)
CAP_GPHOTO2
gPhoto2 connection
CAP_GSTREAMER
GStreamer
CAP_FFMPEG
Open and record video file or stream using the FFMPEG library
CAP_IMAGES
OpenCV Image Sequence (e.g. img_%02d.jpg)
CAP_ARAVIS
Aravis SDK
CAP_OPENCV_MJPEG
Built-in OpenCV MotionJPEG codec
CAP_INTEL_MFX
Intel MediaSDK
CAP_XINE
XINE engine (Linux)
CAP_UEYE
uEye Camera API
CAP_OBSENSOR
For Orbbec 3D-Sensor device/module (Astra+, Femto)
Trait Implementations§
source§impl Clone for VideoCaptureAPIs
impl Clone for VideoCaptureAPIs
source§fn clone(&self) -> VideoCaptureAPIs
fn clone(&self) -> VideoCaptureAPIs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VideoCaptureAPIs
impl Debug for VideoCaptureAPIs
source§impl PartialEq<VideoCaptureAPIs> for VideoCaptureAPIs
impl PartialEq<VideoCaptureAPIs> for VideoCaptureAPIs
source§fn eq(&self, other: &VideoCaptureAPIs) -> bool
fn eq(&self, other: &VideoCaptureAPIs) -> bool
self
and other
values to be equal, and is used
by ==
.