setMeanScaleBGR - setMeanScaleBGR - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

Set the mean/scale values.

Note: By default, no mean-scale processing, after invoking this function, mean-scale processing is enabled. You cannot turn it off after enabling.

Prototype

void setMeanScaleBGR(const std::vector< float > &mean, const std::vector< float > &scale)=0;

Parameters

The following table lists the setMeanScaleBGR function arguments.

Table 1. setMeanScaleBGR Arguments
Type Member Description
const std::vector< float > & mean Mean, Normalization is used.
const std::vector< float > & scale Scale, Normalization is used.

Returns