How deepstream do preprocess that like yolonet need preprocess like letterbox,BGR2RGB、NHWC to NCHW

how deepstream do preprocess that like yolonet need preprocess like letterbox,BGR2RGB、NHWC to NCHW

The gst-nvinfer is open source. Please refer to the “Gst-Nvinfer source code diagram” in DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

The InferPreProcessor implementation can be found in /opt/nvidia/deepstream/deepstream/sources/libs/nvdsinfer/nvdsinfer_context_impl.cpp

And the preprocess is also introduced in Gst-nvinfer — DeepStream documentation 6.4 documentation

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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