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.
Type | Name | Description |
---|---|---|
const std::vector< float > & | mean | Mean, Normalization is used. |
const std::vector< float > & | scale | Scale, Normalization is used. |