OpenCV
4.5.2
Open Source Computer Vision
|
G-API data objects used to build G-API expressions. More...
Modules | |
G-API Metadata Descriptors | |
Classes | |
class | cv::GArray< T > |
class | cv::GFrame |
class | cv::GMat |
class | cv::GMatP |
class | cv::GOpaque< T > |
class | cv::GScalar |
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) and are used 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.
G-API data type | I/O data type |
---|---|
cv::GMat | cv::Mat |
cv::GScalar | cv::Scalar |
cv::GArray<T> | std::vector<T> |
cv::GOpaque<T> | T |