OpenCV453
関数
Query I/O API backends registry

関数

CV_EXPORTS_W cv::String cv::videoio_registry::getBackendName (VideoCaptureAPIs api)
 Returns backend API name or "UnknownVideoAPI(xxx)" [詳解]
 
CV_EXPORTS_W std::vector< VideoCaptureAPIscv::videoio_registry::getBackends ()
 Returns list of all available backends
 
CV_EXPORTS_W std::vector< VideoCaptureAPIscv::videoio_registry::getCameraBackends ()
 Returns list of available backends which works via cv::VideoCapture(int index)
 
CV_EXPORTS_W std::vector< VideoCaptureAPIscv::videoio_registry::getStreamBackends ()
 Returns list of available backends which works via cv::VideoCapture(filename)
 
CV_EXPORTS_W std::vector< VideoCaptureAPIscv::videoio_registry::getWriterBackends ()
 Returns list of available backends which works via cv::VideoWriter()
 
CV_EXPORTS_W bool cv::videoio_registry::hasBackend (VideoCaptureAPIs api)
 Returns true if backend is available
 
CV_EXPORTS_W bool cv::videoio_registry::isBackendBuiltIn (VideoCaptureAPIs api)
 Returns true if backend is built in (false if backend is used as plugin)
 
CV_EXPORTS_W std::string cv::videoio_registry::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 cv::videoio_registry::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 std::string cv::videoio_registry::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
 

詳解

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

Runtime configuration options:

関数詳解

◆ getBackendName()

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

Returns backend API name or "UnknownVideoAPI(xxx)"

引数
apibackend ID (VideoCaptureAPIs)