Functions | |
void | cv::gapi::wip::draw::render (cv::Mat &bgr, const Prims &prims, cv::GCompileArgs &&args={}) |
The function renders on the input image passed drawing primitivies. | |
void | cv::gapi::wip::draw::render (cv::Mat &y_plane, cv::Mat &uv_plane, const Prims &prims, cv::GCompileArgs &&args={}) |
The function renders on two NV12 planes passed drawing primitivies. | |
void | cv::gapi::wip::draw::render (cv::MediaFrame &frame, const Prims &prims, cv::GCompileArgs &&args={}) |
The function renders on the input media frame passed drawing primitivies. | |
GMat | cv::gapi::wip::draw::render3ch (const GMat &src, const GArray< Prim > &prims) |
Renders on 3 channels input. | |
GFrame | cv::gapi::wip::draw::renderFrame (const GFrame &m_frame, const GArray< Prim > &prims) |
Renders Media Frame. | |
GMat2 | cv::gapi::wip::draw::renderNV12 (const GMat &y, const GMat &uv, const GArray< Prim > &prims) |
Renders on two planes. | |
Detailed Description
Function Documentation
◆ render() [1/3]
void cv::gapi::wip::draw::render | ( | cv::Mat & | bgr, |
const Prims & | prims, | ||
cv::GCompileArgs && | args = {} |
||
) |
#include <opencv2/gapi/render/render.hpp>
The function renders on the input image passed drawing primitivies.
- Parameters
-
bgr input image: 8-bit unsigned 3-channel image CV_8UC3. prims vector of drawing primitivies args graph compile time parameters
◆ render() [2/3]
void cv::gapi::wip::draw::render | ( | cv::Mat & | y_plane, |
cv::Mat & | uv_plane, | ||
const Prims & | prims, | ||
cv::GCompileArgs && | args = {} |
||
) |
#include <opencv2/gapi/render/render.hpp>
The function renders on two NV12 planes passed drawing primitivies.
◆ render() [3/3]
void cv::gapi::wip::draw::render | ( | cv::MediaFrame & | frame, |
const Prims & | prims, | ||
cv::GCompileArgs && | args = {} |
||
) |
#include <opencv2/gapi/render/render.hpp>
The function renders on the input media frame passed drawing primitivies.
- Parameters
-
frame input Media Frame : cv::MediaFrame. prims vector of drawing primitivies args graph compile time parameters
◆ render3ch()
#include <opencv2/gapi/render/render.hpp>
Renders on 3 channels input.
Output image must be 8-bit unsigned planar 3-channel image
- Parameters
-
src input image: 8-bit unsigned 3-channel image CV_8UC3 prims draw primitives
◆ renderFrame()
#include <opencv2/gapi/render/render.hpp>
Renders Media Frame.
Output media frame frame cv::MediaFrame
- Parameters
-
m_frame input image: cv::MediaFrame cv::MediaFrame prims draw primitives
◆ renderNV12()
GMat2 cv::gapi::wip::draw::renderNV12 | ( | const GMat & | y, |
const GMat & | uv, | ||
const GArray< Prim > & | prims | ||
) |
#include <opencv2/gapi/render/render.hpp>
Renders on two planes.
Output y image must be 8-bit unsigned planar 1-channel image CV_8UC1 uv image must be 8-bit unsigned planar 2-channel image CV_8UC2