![]() |
OpenCV 4.12.0
Open Source Computer Vision
|
G-API data objects used to build G-API expressions. More...
Topics | |
| G-API Metadata Descriptors | |
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 |
|---|---|
| cv::GMat | cv::Mat, cv::UMat, cv::RMat |
| cv::GScalar | cv::Scalar |
cv::GArray<T> | std::vector<T> |
cv::GOpaque<T> | T |
| cv::GFrame | cv::MediaFrame |
Classes | |
| class | cv::GArray< T > |
cv::GArray<T> template class represents a list of objects of class T in the graph. More... | |
| class | cv::GFrame |
| GFrame class represents an image or media frame in the graph. More... | |
| class | cv::GMat |
| GMat class represents image or tensor data in the graph. More... | |
| class | cv::GMatP |
| class | cv::GOpaque< T > |
cv::GOpaque<T> template class represents an object of class T in the graph. More... | |
| class | cv::GScalar |
| GScalar class represents cv::Scalar data in the graph. More... | |