G-API Data Types#

G-API data objects used to build G-API expressions. View details

Topics#

Detailed Description#

G-API data objects used to build G-API expressions.

These objects do not own any particular data (except compile-time associated values like with cv::GScalar or cv::GArray<T>) and are used only to construct graphs.

Every graph in G-API starts and ends with data objects.

Once constructed and compiled, G-API operates with regular host-side data instead. Refer to the below table to find the mapping between G-API and regular data types when passing input and output data structures to G-API:

Classes#

Name

Description

class cv::GArray< typename T >

cv::GArray template class represents a list of objects of class T in the graph. View details

class cv::GFrame

GFrame class represents an image or media frame in the graph. View details

class cv::GMat

GMat class represents image or tensor data in the graph. View details

class cv::GMatP

View details

class cv::GOpaque< typename T >

cv::GOpaque template class represents an object of class T in the graph. View details

class cv::GScalar

GScalar class represents cv::Scalar data in the graph. View details