Classes | |
struct | Circle |
A structure to represent parameters for drawing a circle. More... | |
struct | Line |
A structure to represent parameters for drawing a line. More... | |
struct | Rect |
A structure to represent parameters for drawing a rectangle. More... | |
struct | Text |
A structure to represent parameters for drawing a text string. More... | |
Typedefs | |
using | Prim = util::variant< Text, Rect, Circle, Line > |
using | Prims = std::vector< Prim > |
Functions | |
void | render (cv::Mat &bgr, const Prims &prims) |
The function renders on the input image passed drawing primitivies. More... | |
void | render (cv::Mat &y_plane, cv::Mat &uv_plane, const Prims &prims) |
The function renders on two NV12 planes passed drawing primitivies. More... | |
using cv::gapi::wip::draw::Prim = typedef util::variant < Text , Rect , Circle , Line > |
using cv::gapi::wip::draw::Prims = typedef std::vector<Prim> |
The function renders on the input image passed drawing primitivies.
bgr | input image: 8-bit unsigned 3-channel image CV_8UC3. |
prims | vector of drawing primitivies |