OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Query I/O API backends registry

This section contains API description how to query/configure available Video I/O backends. More...

Collaboration diagram for Query I/O API backends registry:

Functions

cv::String cv::videoio_registry::getBackendName (VideoCaptureAPIs api)
 Returns backend API name or "UnknownVideoAPI(xxx)". More...
 
std::vector< VideoCaptureAPIscv::videoio_registry::getBackends ()
 Returns list of all available backends. More...
 
std::vector< VideoCaptureAPIscv::videoio_registry::getCameraBackends ()
 Returns list of available backends which works via cv::VideoCapture(int index) More...
 
std::vector< VideoCaptureAPIscv::videoio_registry::getStreamBackends ()
 Returns list of available backends which works via cv::VideoCapture(filename) More...
 
std::vector< VideoCaptureAPIscv::videoio_registry::getWriterBackends ()
 Returns list of available backends which works via cv::VideoWriter() More...
 
bool cv::videoio_registry::hasBackend (VideoCaptureAPIs api)
 Returns true if backend is available. More...
 

Detailed Description

This section contains API description how to query/configure available Video I/O backends.

Runtime configuration options:

Function Documentation

◆ getBackendName()

cv::String cv::videoio_registry::getBackendName ( VideoCaptureAPIs  api)

#include <opencv2/videoio/registry.hpp>

Returns backend API name or "UnknownVideoAPI(xxx)".

Parameters
apibackend ID (VideoCaptureAPIs)

◆ getBackends()

std::vector<VideoCaptureAPIs> cv::videoio_registry::getBackends ( )

#include <opencv2/videoio/registry.hpp>

Returns list of all available backends.

◆ getCameraBackends()

std::vector<VideoCaptureAPIs> cv::videoio_registry::getCameraBackends ( )

#include <opencv2/videoio/registry.hpp>

Returns list of available backends which works via cv::VideoCapture(int index)

◆ getStreamBackends()

std::vector<VideoCaptureAPIs> cv::videoio_registry::getStreamBackends ( )

#include <opencv2/videoio/registry.hpp>

Returns list of available backends which works via cv::VideoCapture(filename)

◆ getWriterBackends()

std::vector<VideoCaptureAPIs> cv::videoio_registry::getWriterBackends ( )

#include <opencv2/videoio/registry.hpp>

Returns list of available backends which works via cv::VideoWriter()

◆ hasBackend()

bool cv::videoio_registry::hasBackend ( VideoCaptureAPIs  api)

#include <opencv2/videoio/registry.hpp>

Returns true if backend is available.