OpenCV
4.8.0
Open Source Computer Vision
|
Abstract streaming pipeline source. More...
#include <opencv2/gapi/streaming/source.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IStreamSource > |
Public Member Functions | |
virtual | ~IStreamSource ()=default |
virtual GMetaArg | descr_of () const =0 |
Ptr | ptr () |
virtual bool | pull (Data &data)=0 |
Abstract streaming pipeline source.
Implement this interface if you want customize the way how data is streaming into GStreamingCompiled.
Objects implementing this interface can be passed to GStreamingCompiled using setSource() with cv::gin(). Regular compiled graphs (GCompiled) don't support input objects of this type.
Default cv::VideoCapture-based implementation is available, see cv::gapi::wip::GCaptureSource.
using cv::gapi::wip::IStreamSource::Ptr = std::shared_ptr<IStreamSource> |
|
virtualdefault |
|
pure virtual |
Implemented in cv::gapi::wip::GCaptureSource, cv::gapi::wip::onevpl::GSource, and cv::gapi::wip::gst::GStreamerSource.
|
inline |
|
pure virtual |
Implemented in cv::gapi::wip::GCaptureSource, cv::gapi::wip::onevpl::GSource, and cv::gapi::wip::gst::GStreamerSource.