Provides pre-processing functionality like mean subtraction and normalization.
Definition at line 173 of file sources/gst-plugins/gst-nvdspreprocess/nvdspreprocess_lib/nvdspreprocess_impl.h.
|
| | NvDsPreProcessTensorImpl (const NvDsPreProcessNetworkSize &size, NvDsPreProcessFormat format, int id=0) |
| | constructor for tensor preparation implementation More...
|
| |
| virtual | ~NvDsPreProcessTensorImpl ()=default |
| |
| bool | setScaleOffsets (float scale, const std::vector< float > &offsets={}) |
| | method to set offsets values More...
|
| |
| bool | setMeanFile (const std::string &file) |
| | method to set mean file More...
|
| |
| bool | setInputOrder (const NvDsPreProcessNetworkInputOrder order) |
| | method to set network input order More...
|
| |
| NvDsPreProcessStatus | allocateResource () |
| | allocate resources for tensor preparation More...
|
| |
| NvDsPreProcessStatus | syncStream () |
| | synchronize cuda stream More...
|
| |
| NvDsPreProcessStatus | prepare_tensor (NvDsPreProcessBatch *batch, CustomTensorParams &tensorParam, void *&devBuf) |
| | method to prepare tensor using cuda kernels More...
|
| |
| | NvDsPreProcessTensorImpl (const NvDsPreProcessNetworkSize &size, NvDsPreProcessFormat format, int id=0) |
| | constructor for tensor preparation implementation More...
|
| |
| virtual | ~NvDsPreProcessTensorImpl ()=default |
| |
| bool | setScaleOffsets (float scale, const std::vector< float > &offsets={}) |
| | method to set offsets values More...
|
| |
| bool | setMeanFile (const std::string &file) |
| | method to set mean file More...
|
| |
| bool | setInputOrder (const NvDsPreProcessNetworkInputOrder order) |
| | method to set network input order More...
|
| |
| NvDsPreProcessStatus | allocateResource () |
| | allocate resources for tensor preparation More...
|
| |
| NvDsPreProcessStatus | syncStream () |
| | synchronize cuda stream More...
|
| |
| NvDsPreProcessStatus | prepare_tensor (NvDsPreProcessBatch *batch, CustomTensorParams &tensorParam, void *&devBuf) |
| | method to prepare tensor using cuda kernels More...
|
| |
◆ NvDsPreProcessTensorImpl() [1/2]
constructor for tensor preparation implementation
◆ ~NvDsPreProcessTensorImpl() [1/2]
| virtual NvDsPreProcessTensorImpl::~NvDsPreProcessTensorImpl |
( |
| ) |
|
|
virtualdefault |
◆ NvDsPreProcessTensorImpl() [2/2]
constructor for tensor preparation implementation
◆ ~NvDsPreProcessTensorImpl() [2/2]
| virtual NvDsPreProcessTensorImpl::~NvDsPreProcessTensorImpl |
( |
| ) |
|
|
virtualdefault |
◆ allocateResource() [1/2]
allocate resources for tensor preparation
◆ allocateResource() [2/2]
allocate resources for tensor preparation
◆ prepare_tensor() [1/2]
method to prepare tensor using cuda kernels
◆ prepare_tensor() [2/2]
method to prepare tensor using cuda kernels
◆ setInputOrder() [1/2]
method to set network input order
◆ setInputOrder() [2/2]
method to set network input order
◆ setMeanFile() [1/2]
| bool NvDsPreProcessTensorImpl::setMeanFile |
( |
const std::string & |
file | ) |
|
◆ setMeanFile() [2/2]
| bool NvDsPreProcessTensorImpl::setMeanFile |
( |
const std::string & |
file | ) |
|
◆ setScaleOffsets() [1/2]
| bool NvDsPreProcessTensorImpl::setScaleOffsets |
( |
float |
scale, |
|
|
const std::vector< float > & |
offsets = {} |
|
) |
| |
method to set offsets values
◆ setScaleOffsets() [2/2]
| bool NvDsPreProcessTensorImpl::setScaleOffsets |
( |
float |
scale, |
|
|
const std::vector< float > & |
offsets = {} |
|
) |
| |
method to set offsets values
◆ syncStream() [1/2]
◆ syncStream() [2/2]
The documentation for this class was generated from the following file: