Skip to content

cvedia::rt::ui::handlers::bbox

Functions

Name
BboxHandler::BboxData getBboxData(pCValue data)
BboxHandler::BboxHandlerConfig getConfigData(pCValue config)
void checkUpdateConfigData(BboxHandler::BboxHandlerConfig & bboxHandlerConfig, pCValue configSrc)
bool isEventsOnly(pCValue data, BboxHandler::BboxHandlerConfig const & config)
void convertBaseLabelToIcon(BboxHandler::BboxData & bboxData)
void determineLabel(BboxHandler::BboxData & data, std::string const & labelFormat)
void applyPadding(BboxHandler::BboxData & data, float const padding)
void processBboxData(BboxHandler::BboxData & data, BboxHandler::BboxHandlerConfig const & config)
cv::Point2f getLabelPosition(BboxHandler::BboxData const & data, std::string const & labelAlign)
UIAPI::TextMode getTextMode(std::string const & labelAlign)
void renderBbox(BboxHandler::BboxData const & data, BboxHandler::BboxHandlerConfig const & config)
void renderLabel(BboxHandler::BboxData const & data, BboxHandler::BboxHandlerConfig const & config)
void renderBboxOnBuffer(cv::Mat & buffer, BboxHandler::BboxData const & data, BboxHandler::BboxHandlerConfig const & config)
void renderLabelOnBuffer(cv::Mat & buffer, BboxHandler::BboxData const & data, BboxHandler::BboxHandlerConfig const & config, std::string const & fontName)
cv::Point2f toImageCoordinates(cv::Point2f pt, cv::Mat img)

Functions Documentation

function getBboxData

BboxHandler::BboxData getBboxData(
    pCValue data
)

function getConfigData

BboxHandler::BboxHandlerConfig getConfigData(
    pCValue config
)

function checkUpdateConfigData

void checkUpdateConfigData(
    BboxHandler::BboxHandlerConfig & bboxHandlerConfig,
    pCValue configSrc
)

function isEventsOnly

bool isEventsOnly(
    pCValue data,
    BboxHandler::BboxHandlerConfig const & config
)

function convertBaseLabelToIcon

void convertBaseLabelToIcon(
    BboxHandler::BboxData & bboxData
)

function determineLabel

void determineLabel(
    BboxHandler::BboxData & data,
    std::string const & labelFormat
)

function applyPadding

void applyPadding(
    BboxHandler::BboxData & data,
    float const padding
)

function processBboxData

void processBboxData(
    BboxHandler::BboxData & data,
    BboxHandler::BboxHandlerConfig const & config
)

function getLabelPosition

cv::Point2f getLabelPosition(
    BboxHandler::BboxData const & data,
    std::string const & labelAlign
)

function getTextMode

UIAPI::TextMode getTextMode(
    std::string const & labelAlign
)

function renderBbox

void renderBbox(
    BboxHandler::BboxData const & data,
    BboxHandler::BboxHandlerConfig const & config
)

function renderLabel

void renderLabel(
    BboxHandler::BboxData const & data,
    BboxHandler::BboxHandlerConfig const & config
)

function renderBboxOnBuffer

void renderBboxOnBuffer(
    cv::Mat & buffer,
    BboxHandler::BboxData const & data,
    BboxHandler::BboxHandlerConfig const & config
)

function renderLabelOnBuffer

void renderLabelOnBuffer(
    cv::Mat & buffer,
    BboxHandler::BboxData const & data,
    BboxHandler::BboxHandlerConfig const & config,
    std::string const & fontName
)

function toImageCoordinates

cv::Point2f toImageCoordinates(
    cv::Point2f pt,
    cv::Mat img
)

Updated on 2023-11-29 at 18:22:22 +0000