抽象流式管道源。 更多...
#include <opencv2/gapi/streaming/source.hpp>
抽象流式管道源。
如果您想自定义数据流式传输到 GStreamingCompiled 中的方式,请实现此接口。
实现此接口的对象可以使用 setSource() 和 cv::gin() 传递给 GStreamingCompiled。 常规编译图(GCompiled)不支持此类型的输入对象。
默认的基于 cv::VideoCapture 的实现可用,请参阅 cv::gapi::wip::GCaptureSource。
- 注意
- 流源通过共享指针传递给 G-API,因此在将 IStreamSource 实现传递给 cv::gin() 时,请使用 ptr()。
◆ Ptr
◆ ~IStreamSource()
| virtual cv::gapi::wip::IStreamSource::~IStreamSource |
( |
| ) |
|
|
virtualdefault |
◆ descr_of()
| virtual GMetaArg cv::gapi::wip::IStreamSource::descr_of |
( |
| ) |
const |
|
纯虚函数 |
◆ halt()
| virtual void cv::gapi::wip::IStreamSource::halt |
( |
| ) |
|
|
inlinevirtual |
◆ ptr()
| Ptr cv::gapi::wip::IStreamSource::ptr |
( |
| ) |
|
|
inline |
◆ pull()
| virtual bool cv::gapi::wip::IStreamSource::pull |
( |
Data & | data | ) |
|
|
纯虚函数 |
该类的文档由以下文件生成