VideoCaptureAPIs enum
cv::VideoCapture API backends identifier.
Select preferred API for a capture object. To be used in the VideoCapture::VideoCapture() constructor or VideoCapture::open()
- Backends are available only if they have been built with your OpenCV binaries. See @ref videoio_overview for more information.
- Microsoft Media Foundation backend tries to use hardware accelerated transformations if possible. Environment flag "OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS" set to 0 disables it and may improve initialization time. More details: https://learn.microsoft.com/en-us/windows/win32/medfound/mf-readwrite-enable-hardware-transforms
Values
- CAP_ANY → const VideoCaptureAPIs
-
Auto detect == 0
const VideoCaptureAPIs(0) - CAP_V4L → const VideoCaptureAPIs
-
Video For Windows (obsolete, removed) V4L/V4L2 capturing support
const VideoCaptureAPIs(200) - CAP_V4L2 → const VideoCaptureAPIs
-
Same as CAP_V4L
const VideoCaptureAPIs(200) - CAP_FIREWIRE → const VideoCaptureAPIs
-
IEEE 1394 drivers
const VideoCaptureAPIs(300) - CAP_FIREWARE → const VideoCaptureAPIs
-
Same value as CAP_FIREWIRE
const VideoCaptureAPIs(300) - CAP_IEEE1394 → const VideoCaptureAPIs
-
Same value as CAP_FIREWIRE
const VideoCaptureAPIs(300) - CAP_DC1394 → const VideoCaptureAPIs
-
Same value as CAP_FIREWIRE
const VideoCaptureAPIs(300) - CAP_CMU1394 → const VideoCaptureAPIs
-
Same value as CAP_FIREWIRE
const VideoCaptureAPIs(300) - CAP_QT → const VideoCaptureAPIs
-
QuickTime (obsolete, removed)
const VideoCaptureAPIs(500) - CAP_UNICAP → const VideoCaptureAPIs
-
Unicap drivers (obsolete, removed)
const VideoCaptureAPIs(600) - CAP_DSHOW → const VideoCaptureAPIs
-
DirectShow (via videoInput)
const VideoCaptureAPIs(700) - CAP_PVAPI → const VideoCaptureAPIs
-
PvAPI, Prosilica GigE SDK
const VideoCaptureAPIs(800) - CAP_OPENNI → const VideoCaptureAPIs
-
OpenNI (for Kinect)
const VideoCaptureAPIs(900) - CAP_OPENNI_ASUS → const VideoCaptureAPIs
-
OpenNI (for Asus Xtion)
const VideoCaptureAPIs(910) - CAP_ANDROID → const VideoCaptureAPIs
-
MediaNDK (API Level 21+) and NDK Camera (API level 24+) for Android
const VideoCaptureAPIs(1000) - CAP_XIAPI → const VideoCaptureAPIs
-
XIMEA Camera API
const VideoCaptureAPIs(1100) - CAP_AVFOUNDATION → const VideoCaptureAPIs
-
AVFoundation framework for iOS (OS X Lion will have the same API)
const VideoCaptureAPIs(1200) - CAP_GIGANETIX → const VideoCaptureAPIs
-
Smartek Giganetix GigEVisionSDK
const VideoCaptureAPIs(1300) - CAP_MSMF → const VideoCaptureAPIs
-
Microsoft Media Foundation (via videoInput). See platform specific notes above.
const VideoCaptureAPIs(1400) - CAP_WINRT → const VideoCaptureAPIs
-
Microsoft Windows Runtime using Media Foundation
const VideoCaptureAPIs(1410) - CAP_INTELPERC → const VideoCaptureAPIs
-
RealSense (former Intel Perceptual Computing SDK)
const VideoCaptureAPIs(1500) - CAP_REALSENSE → const VideoCaptureAPIs
-
Synonym for CAP_INTELPERC
const VideoCaptureAPIs(1500) - CAP_OPENNI2 → const VideoCaptureAPIs
-
OpenNI2 (for Kinect)
const VideoCaptureAPIs(1600) - CAP_OPENNI2_ASUS → const VideoCaptureAPIs
-
OpenNI2 (for Asus Xtion and Occipital Structure sensors)
const VideoCaptureAPIs(1610) - CAP_OPENNI2_ASTRA → const VideoCaptureAPIs
-
OpenNI2 (for Orbbec Astra)
const VideoCaptureAPIs(1620) - CAP_GPHOTO2 → const VideoCaptureAPIs
-
gPhoto2 connection
const VideoCaptureAPIs(1700) - CAP_GSTREAMER → const VideoCaptureAPIs
-
GStreamer
const VideoCaptureAPIs(1800) - CAP_FFMPEG → const VideoCaptureAPIs
-
Open and record video file or stream using the FFMPEG library
const VideoCaptureAPIs(1900) - CAP_IMAGES → const VideoCaptureAPIs
-
OpenCV Image Sequence (e.g. img_%02d.jpg)
const VideoCaptureAPIs(2000) - CAP_ARAVIS → const VideoCaptureAPIs
-
Aravis SDK
const VideoCaptureAPIs(2100) - CAP_OPENCV_MJPEG → const VideoCaptureAPIs
-
Built-in OpenCV MotionJPEG codec
const VideoCaptureAPIs(2200) - CAP_INTEL_MFX → const VideoCaptureAPIs
-
Intel MediaSDK
const VideoCaptureAPIs(2300) - CAP_XINE → const VideoCaptureAPIs
-
XINE engine (Linux)
const VideoCaptureAPIs(2400) - CAP_UEYE → const VideoCaptureAPIs
-
uEye Camera API
const VideoCaptureAPIs(2500) - CAP_OBSENSOR → const VideoCaptureAPIs
-
For Orbbec 3D-Sensor device/module (Astra+, Femto, Astra2, Gemini2, Gemini2L, Gemini2XL, Gemini330, Femto Mega) attention: Astra2 cameras currently only support Windows and Linux kernel versions no higher than 4.15, and higher versions of Linux kernel may have exceptions.
const VideoCaptureAPIs(2600)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
VideoCaptureAPIs> - A constant List of the values in this enum, in order of their declaration.