|
plugin
0.1.0
|
a header file with common samples functionality using OpenCV More...
#include <opencv2/opencv.hpp>#include <openvino/openvino.hpp>#include "utils/common.hpp"#include "utils/shared_tensor_allocator.hpp"

Go to the source code of this file.
Classes | |
| struct | IntervalCondition |
| class | OutputTransform |
| class | InputTransform |
| class | LazyVideoWriter |
Typedefs | |
| using | LayoutCondition = std::tuple< size_t, IntervalCondition, std::string > |
Functions | |
| template<typename T > | |
| const T | getMatValue (const cv::Mat &mat, size_t h, size_t w, size_t c) |
| Get cv::Mat value in the correct format. | |
| template<template< class > class Cond, class ... Args> | |
| IntervalCondition | makeCond (Args &&...args) |
| void | putHighlightedText (const cv::Mat &frame, const std::string &message, cv::Point position, int fontFace, double fontScale, cv::Scalar color, int thickness) |
| Puts text message on the frame, highlights the text with a white border to make it distinguishable from the background. More... | |
a header file with common samples functionality using OpenCV
|
inline |
Puts text message on the frame, highlights the text with a white border to make it distinguishable from the background.
| frame | - frame to put the text on. |
| message | - text of the message. |
| position | - bottom-left corner of the text string in the image. |
| fontFace | - font type. |
| fontScale | - font scale factor that is multiplied by the font-specific base size. |
| color | - text color. |
| thickness | - thickness of the lines used to draw a text. |