|
VART-X
0.3.0
|
Structure representing Mask information. More...
#include <vart_overlay_types.hpp>

Public Attributes | |
| OverlayMaskType | fmt |
| OverlayRectParams | rect_params |
| void * | mask_map |
| std::vector< OverlayColorData > | mask_color_info |
| float | mask_alpha |
Structure representing Mask information.
| vart::OverlayMaskParams::fmt |
Format of the mask data, which can be either label map or color map
| vart::OverlayMaskParams::mask_alpha |
Alpha value to be used for blending the mask with the original frame.
| vart::OverlayMaskParams::mask_color_info |
Color information for each label in the mask. Only the red, green and blue channels are used by the OpenCV backend; the per-entry alpha field is ignored — blending is controlled solely by the scalar mask_alpha below.
| vart::OverlayMaskParams::mask_map |
Mask data to be applied on the frame.
| vart::OverlayMaskParams::rect_params |
Region of interest for the mask to be applied