Setting dynamic offsets in nvinfer config.txt

• DeepStream Version 5.1

In nvinfer’s config.txt, deepstream provides option to set offsets and net-scale-factor for performing pre-processing on frames before inferencing. I would like to provide dynamic offsets (mean) for every frame. I would like it to replicate the following functionality.
Offset_mean = cv2.mean(frame)[:3],

In this function, for every frame, channel wise mean is taken and stored in an offset_mean array. The values of array change for every frame.

Is there a way to dynamically set offset?

Currently the nvinfer does not support such setting.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.