setMeanScaleBGR - 1.2 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2020-07-21
Version
1.2 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