OpenCV's VideoCapture-based streaming source.  
 More...
#include <opencv2/gapi/streaming/cap.hpp>
OpenCV's VideoCapture-based streaming source. 
This class implements IStreamSource interface. Its constructor takes the same parameters as cv::VideoCapture does.
Please make sure that videoio OpenCV module is available before using this in your application (G-API doesn't depend on it directly).
- Note
- stream sources are passed to G-API via shared pointers, so please gapi::make_src<> to create objects and ptr() to pass a GCaptureSource to cv::gin(). 
◆ 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 | 
 
 
The documentation for this class was generated from the following file: