Namespace mediapipe::anonymous_namespace{annotation_renderer.cc}
Namespace List > mediapipe > anonymous_namespace{annotation_renderer.cc}
Public Types
Type | Name |
---|---|
typedef RenderAnnotation::Arrow | Arrow |
typedef RenderAnnotation::FilledOval | FilledOval |
typedef RenderAnnotation::FilledRectangle | FilledRectangle |
typedef RenderAnnotation::FilledRoundedRectangle | FilledRoundedRectangle |
typedef RenderAnnotation::GradientLine | GradientLine |
typedef RenderAnnotation::Line | Line |
typedef RenderAnnotation::Oval | Oval |
typedef RenderAnnotation::Point | Point |
typedef RenderAnnotation::Rectangle | Rectangle |
typedef RenderAnnotation::RoundedRectangle | RoundedRectangle |
typedef RenderAnnotation::Text | Text |
Public Functions
Type | Name |
---|---|
int | ClampThickness (int thickness) |
cv::Scalar | MediapipeColorToOpenCVColor (const Color & color) |
bool | NormalizedtoPixelCoordinates (double normalized_x, double normalized_y, int image_width, int image_height, int * x_px, int * y_px) |
cv::RotatedRect | RectangleToOpenCVRotatedRect (int left, int top, int right, int bottom, double rotation) |
void | cv_line2 (cv::Mat & img, const cv::Point & start, const cv::Point & end, const cv::Scalar & color1, const cv::Scalar & color2, int thickness) |
Public Types Documentation
typedef Arrow
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Arrow = typedef RenderAnnotation::Arrow;
typedef FilledOval
using mediapipe::anonymous_namespace{annotation_renderer.cc}::FilledOval = typedef RenderAnnotation::FilledOval;
typedef FilledRectangle
using mediapipe::anonymous_namespace{annotation_renderer.cc}::FilledRectangle = typedef RenderAnnotation::FilledRectangle;
typedef FilledRoundedRectangle
using mediapipe::anonymous_namespace{annotation_renderer.cc}::FilledRoundedRectangle = typedef RenderAnnotation::FilledRoundedRectangle;
typedef GradientLine
using mediapipe::anonymous_namespace{annotation_renderer.cc}::GradientLine = typedef RenderAnnotation::GradientLine;
typedef Line
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Line = typedef RenderAnnotation::Line;
typedef Oval
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Oval = typedef RenderAnnotation::Oval;
typedef Point
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Point = typedef RenderAnnotation::Point;
typedef Rectangle
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Rectangle = typedef RenderAnnotation::Rectangle;
typedef RoundedRectangle
using mediapipe::anonymous_namespace{annotation_renderer.cc}::RoundedRectangle = typedef RenderAnnotation::RoundedRectangle;
typedef Text
using mediapipe::anonymous_namespace{annotation_renderer.cc}::Text = typedef RenderAnnotation::Text;
Public Functions Documentation
function ClampThickness
int mediapipe::anonymous_namespace{annotation_renderer.cc}::ClampThickness (
int thickness
)
function MediapipeColorToOpenCVColor
cv::Scalar mediapipe::anonymous_namespace{annotation_renderer.cc}::MediapipeColorToOpenCVColor (
const Color & color
)
function NormalizedtoPixelCoordinates
bool mediapipe::anonymous_namespace{annotation_renderer.cc}::NormalizedtoPixelCoordinates (
double normalized_x,
double normalized_y,
int image_width,
int image_height,
int * x_px,
int * y_px
)
function RectangleToOpenCVRotatedRect
cv::RotatedRect mediapipe::anonymous_namespace{annotation_renderer.cc}::RectangleToOpenCVRotatedRect (
int left,
int top,
int right,
int bottom,
double rotation
)
function cv_line2
void mediapipe::anonymous_namespace{annotation_renderer.cc}::cv_line2 (
cv::Mat & img,
const cv::Point & start,
const cv::Point & end,
const cv::Scalar & color1,
const cv::Scalar & color2,
int thickness
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/util/annotation_renderer.cc