OpenCV
4.1.2
Open Source Computer Vision
|
Classes | |
struct | Circle |
struct | Image |
struct | Line |
struct | Mosaic |
struct | Poly |
struct | Rect |
struct | Text |
Typedefs | |
using | GMat2 = std::tuple< cv::GMat, cv::GMat > |
using | GMatDesc2 = std::tuple< cv::GMatDesc, cv::GMatDesc > |
using | Prim = util::variant< Text, Rect, Circle, Line, Mosaic, Image, Poly > |
using | Prims = std::vector< Prim > |
Functions | |
void | render (cv::Mat &bgr, const Prims &prims, const cv::gapi::GKernelPackage &pkg=ocv::kernels()) |
The function renders on the input image passed drawing primitivies. More... | |
void | render (cv::Mat &y_plane, cv::Mat &uv_plane, const Prims &prims, const cv::gapi::GKernelPackage &pkg=ocv::kernels()) |
The function renders on two NV12 planes passed drawing primitivies. More... | |
using cv::gapi::wip::draw::GMat2 = typedef std::tuple<cv::GMat,cv::GMat> |
using cv::gapi::wip::draw::GMatDesc2 = typedef std::tuple<cv::GMatDesc,cv::GMatDesc> |
using cv::gapi::wip::draw::Prim = typedef util::variant < Text , Rect , Circle , Line , Mosaic , Image , Poly > |
using cv::gapi::wip::draw::Prims = typedef std::vector<Prim> |
void cv::gapi::wip::draw::render | ( | cv::Mat & | bgr, |
const Prims & | prims, | ||
const cv::gapi::GKernelPackage & | pkg = ocv::kernels() |
||
) |
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 |
pkg | contains render kernel implementation |
void cv::gapi::wip::draw::render | ( | cv::Mat & | y_plane, |
cv::Mat & | uv_plane, | ||
const Prims & | prims, | ||
const cv::gapi::GKernelPackage & | pkg = ocv::kernels() |
||
) |