OpenCV
4.5.1
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 |
Typedefs | |
using | cv::GArrayP2f = GArray< cv::Point2f > |
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 |
using cv::GArrayP2f = typedef GArray<cv::Point2f> |
#include <opencv2/gapi/garray.hpp>