Custom parameters for normalization and mean subtractions.
Definition at line 81 of file nvdspreprocess_impl.h.
Data Fields | |
std::string | labelsFilePath |
Holds the pathname of the labels file containing strings for the class labels. More... | |
std::string | meanImageFilePath |
Holds the pathname of the mean image file (PPM format). More... | |
std::vector< float > | offsets |
Holds the per-channel offsets for mean subtraction. More... | |
float | pixel_normalization_factor = 1.0 |
Holds the normalization factor with which to scale the input pixels. More... | |
NvDsPreProcessNetworkSize | networkSize |
width, height, channels size of Network More... | |
std::string CustomMeanSubandNormParams::labelsFilePath |
Holds the pathname of the labels file containing strings for the class labels.
The labels file is optional. The file format is described in the custom models section of the DeepStream SDK documentation.
Definition at line 86 of file nvdspreprocess_impl.h.
std::string CustomMeanSubandNormParams::meanImageFilePath |
Holds the pathname of the mean image file (PPM format).
File resolution must be equal to the network input resolution.
Definition at line 90 of file nvdspreprocess_impl.h.
NvDsPreProcessNetworkSize CustomMeanSubandNormParams::networkSize |
width, height, channels size of Network
Definition at line 101 of file nvdspreprocess_impl.h.
std::vector<float> CustomMeanSubandNormParams::offsets |
Holds the per-channel offsets for mean subtraction.
This is an alternative to the mean image file. The number of offsets in the array must be equal to the number of input channels.
Definition at line 95 of file nvdspreprocess_impl.h.
float CustomMeanSubandNormParams::pixel_normalization_factor = 1.0 |
Holds the normalization factor with which to scale the input pixels.
Definition at line 98 of file nvdspreprocess_impl.h.