Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version TRT 8.5.2.2
• NVIDIA GPU Driver Version (valid for GPU only) 470.82.01
• Issue Type( questions, new requirements, bugs)
this opencv code
// BGR => RGB
cvtColor(resizeImg, img, COLOR_BGR2RGB);
// normlize
img.convertTo(img, CV_32F);
img /= Scalar(255.0, 255.0, 255.0);
// (X - mean) / stddev
Scalar mean = Scalar(0.446139603853, 0.409515678883, 0.395083993673);
Scalar stddev = Scalar(0.288205742836, 0.278144598007, 0.283502370119);
img -= mean;
img /= stddev;
HOW to set mean and stddev in nvdspreprocess config file ?