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.
- Note
- stream sources are passed to G-API via shared pointers, so please use ptr() when passing a IStreamSource implementation to cv::gin().