setMeanScaleBGR - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 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 Name Description
const std::vector< float > & mean Mean, Normalization is used.
const std::vector< float > & scale Scale, Normalization is used.

Returns