Provides pre-processing functionality like mean subtraction and normalization.
Definition at line 69 of file sources/libs/nvdsinfer/nvdsinfer_context_impl.h.
|
| | InferPreprocessor (const NvDsInferNetworkInfo &info, NvDsInferFormat format, const NvDsInferBatchDimsLayerInfo &layerInfo, int id=0) |
| |
| virtual | ~InferPreprocessor ()=default |
| |
| void | setLoggingFunc (const NvDsInferLoggingFunc &func) |
| |
| bool | setScaleOffsets (float scale, const std::vector< float > &offsets={}) |
| |
| bool | setMeanFile (const std::string &file) |
| |
| bool | setInputOrder (const NvDsInferTensorOrder order) |
| |
| NvDsInferStatus | allocateResource () |
| |
| NvDsInferStatus | syncStream () |
| |
| NvDsInferStatus | transform (NvDsInferContextBatchInput &batchInput, void *devBuf, CudaStream &mainStream, CudaEvent *waitingEvent) |
| |
| | InferPreprocessor (const NvDsInferNetworkInfo &info, NvDsInferFormat format, const NvDsInferBatchDimsLayerInfo &layerInfo, int id=0) |
| |
| virtual | ~InferPreprocessor ()=default |
| |
| void | setLoggingFunc (const NvDsInferLoggingFunc &func) |
| |
| bool | setScaleOffsets (float scale, const std::vector< float > &offsets={}) |
| |
| bool | setMeanFile (const std::string &file) |
| |
| bool | setInputOrder (const NvDsInferTensorOrder order) |
| |
| NvDsInferStatus | allocateResource () |
| |
| NvDsInferStatus | syncStream () |
| |
| NvDsInferStatus | transform (NvDsInferContextBatchInput &batchInput, void *devBuf, CudaStream &mainStream, CudaEvent *waitingEvent) |
| |
◆ InferPreprocessor() [1/2]
◆ ~InferPreprocessor() [1/2]
| virtual nvdsinfer::InferPreprocessor::~InferPreprocessor |
( |
| ) |
|
|
virtualdefault |
◆ InferPreprocessor() [2/2]
◆ ~InferPreprocessor() [2/2]
| virtual nvdsinfer::InferPreprocessor::~InferPreprocessor |
( |
| ) |
|
|
virtualdefault |
◆ allocateResource() [1/2]
◆ allocateResource() [2/2]
◆ setInputOrder() [1/2]
◆ setInputOrder() [2/2]
◆ setLoggingFunc() [1/2]
◆ setLoggingFunc() [2/2]
◆ setMeanFile() [1/2]
| bool nvdsinfer::InferPreprocessor::setMeanFile |
( |
const std::string & |
file | ) |
|
◆ setMeanFile() [2/2]
| bool nvdsinfer::InferPreprocessor::setMeanFile |
( |
const std::string & |
file | ) |
|
◆ setScaleOffsets() [1/2]
| bool nvdsinfer::InferPreprocessor::setScaleOffsets |
( |
float |
scale, |
|
|
const std::vector< float > & |
offsets = {} |
|
) |
| |
◆ setScaleOffsets() [2/2]
| bool nvdsinfer::InferPreprocessor::setScaleOffsets |
( |
float |
scale, |
|
|
const std::vector< float > & |
offsets = {} |
|
) |
| |
◆ syncStream() [1/2]
◆ syncStream() [2/2]
◆ transform() [1/2]
◆ transform() [2/2]
The documentation for this class was generated from the following file: