OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
Gapi_data_structures

Extra G-API data structures used to pass input/output data to the graph for processing. More...

Detailed Description

Extra G-API data structures used to pass input/output data to the graph for processing.

Classes

class  cv::MediaFrame::IAdapter
 An interface class for MediaFrame data adapters. More...
 
class  cv::MediaFrame
 cv::MediaFrame class represents an image/media frame obtained from an external source. More...
 
class  cv::RMat
 
class  cv::MediaFrame::View
 Provides access to the MediaFrame's underlying data. More...
 

Functions

template<class T , class... Args>
static cv::MediaFrame cv::MediaFrame::Create (Args &&... args)
 Constructs a MediaFrame with the given parameters for the Adapter. The adapter of type T is costructed on the fly.
 
template<typename T , typename... Ts>
RMat cv::make_rmat (Ts &&... args)
 

Function Documentation

◆ Create()

template<class T , class... Args>
cv::MediaFrame cv::MediaFrame::Create ( Args &&... args)
inlinestatic

#include <opencv2/gapi/media.hpp>

Constructs a MediaFrame with the given parameters for the Adapter. The adapter of type T is costructed on the fly.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
argslist of arguments to construct an adapter of type T.

◆ make_rmat()

template<typename T , typename... Ts>
RMat cv::make_rmat ( Ts &&... args)