NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/preprocess/preprocessor.h File Reference

Go to the source code of this file.

Functions

Tensor * parse_preprocess_batch_meta (NvDsBatchMeta *batch_meta, PrettyLogger *logger)
 Parses the preprocess batch metadata tensor. More...
 

Function Documentation

◆ parse_preprocess_batch_meta()

Tensor* parse_preprocess_batch_meta ( NvDsBatchMeta *  batch_meta,
PrettyLogger *  logger 
)

Parses the preprocess batch metadata tensor.

This function checks if the batch metadata contains NVDS_PREPROCESS_BATCH_META and processes any preprocessed tensor data found in the metadata.

Parameters
batch_metaBatch metadata containing the preprocessed tensor
loggerPointer to the PrettyLogger instance for logging
Returns
Tensor* Pointer to the preprocessed tensor, NULL if not found