5#ifndef OPENCV_VIDEOIO_REGISTRY_HPP
6#define OPENCV_VIDEOIO_REGISTRY_HPP
8#include <opencv2/videoio.hpp>
10namespace cv {
namespace videoio_registry {
#define CV_OUT
Definition cvdef.h:478
#define CV_EXPORTS_W
Definition cvdef.h:472
VideoCaptureAPIs
cv::VideoCapture API backends identifier.
Definition videoio.hpp:95
CV_EXPORTS_W std::vector< VideoCaptureAPIs > getStreamBackends()
Returns list of available backends which works via cv::VideoCapture(filename)
CV_EXPORTS_W std::string getCameraBackendPluginVersion(VideoCaptureAPIs api, CV_OUT int &version_ABI, CV_OUT int &version_API)
Returns description and ABI/API version of videoio plugin's camera interface.
CV_EXPORTS_W std::string getStreamBackendPluginVersion(VideoCaptureAPIs api, CV_OUT int &version_ABI, CV_OUT int &version_API)
Returns description and ABI/API version of videoio plugin's stream capture interface.
CV_EXPORTS_W bool hasBackend(VideoCaptureAPIs api)
Returns true if backend is available.
CV_EXPORTS_W std::vector< VideoCaptureAPIs > getCameraBackends()
Returns list of available backends which works via cv::VideoCapture(int index)
CV_EXPORTS_W std::vector< VideoCaptureAPIs > getWriterBackends()
Returns list of available backends which works via cv::VideoWriter()
CV_EXPORTS_W std::string getWriterBackendPluginVersion(VideoCaptureAPIs api, CV_OUT int &version_ABI, CV_OUT int &version_API)
Returns description and ABI/API version of videoio plugin's writer interface.
CV_EXPORTS_W std::vector< VideoCaptureAPIs > getBackends()
Returns list of all available backends.
CV_EXPORTS_W cv::String getBackendName(VideoCaptureAPIs api)
Returns backend API name or "UnknownVideoAPI(xxx)".
CV_EXPORTS_W bool isBackendBuiltIn(VideoCaptureAPIs api)
Returns true if backend is built in (false if backend is used as plugin)
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441