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:
G-API data type |
I/O data type |
|---|---|
|
std::vector |
|
T |
Classes#
Name |
Description |
|---|---|
|
cv::GArray |
|
GFrame class represents an image or media frame in the graph. View details |
|
GMat class represents image or tensor data in the graph. View details |
|
|
cv::GOpaque |
|
|
GScalar class represents cv::Scalar data in the graph. View details |