OpenCVのVideoCaptureベースのストリーミングソース。 続きを読む...
#include <opencv2/gapi/streaming/cap.hpp>
OpenCVのVideoCaptureベースのストリーミングソース。
このクラスは IStreamSource インターフェースを実装する。そのコンストラクタは cv::VideoCapture と同じ引数を取る。
アプリケーションでこれを使用する前に、videoio OpenCVモジュールが利用可能であることを確認すること(G-APIはこれに直接依存しない)。
- 覚え書き
- ストリームソースは共有ポインタを介してG-APIに渡されるため、オブジェクトの生成には gapi::make_src<> を使用し、GCaptureSource を cv::gin() に渡すには ptr() を使用すること。
◆ GCaptureSource() [1/2]
| cv::gapi::wip::GCaptureSource::GCaptureSource |
( |
int | id, |
|
|
const std::map< int, double > & | properties = {} ) |
|
inlineexplicit |
◆ GCaptureSource() [2/2]
| cv::gapi::wip::GCaptureSource::GCaptureSource |
( |
const std::string & | path, |
|
|
const std::map< int, double > & | properties = {} ) |
|
inlineexplicit |
◆ descr_of()
| virtual GMetaArg cv::gapi::wip::GCaptureSource::descr_of |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ prep()
| void cv::gapi::wip::GCaptureSource::prep |
( |
const std::map< int, double > & | properties | ) |
|
|
inlineprotected |
◆ pull()
|
|
inlineoverrideprotectedvirtual |
◆ set()
| void cv::gapi::wip::GCaptureSource::set |
( |
int | propid, |
|
|
double | value ) |
|
inline |
◆ cap
◆ counter
| int64_t cv::gapi::wip::GCaptureSource::counter = 0 |
|
protected |
◆ first
| cv::Mat cv::gapi::wip::GCaptureSource::first |
|
protected |
◆ first_pulled
| bool cv::gapi::wip::GCaptureSource::first_pulled = false |
|
protected |
このクラス詳解は次のファイルから抽出されました: