• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 7.1
• TensorRT Version: 10.3.0.26
• NVIDIA GPU Driver Version (valid for GPU only): 565.57.01
• Issue Type( questions, new requirements, bugs ) : Issue/Bug
• How to reproduce the issue ? Resize a small face image (50x50) to 256x256 while using NvBufSurfTransform using nearest and bilinear interpolation.
Good day,
I am not sure if this by design or a bug but nvinfer, working in secondary mode, is resizing the boxes from the primary detector using NvBufSurfTransform while using the default interpolation mode NvBufSurfTransformInter_Default which applies Nearest Interpolation for both GPU and VIC. Nearest interpolation introduced blocky/pixelated when upscaling the crop/bbox to network dimensions of 256x256 causing major instability in the inference results.
Furthermore, changing the interpolation mode to NvBufSurfTransformInter_Bilinear produces the same exact blocky/pixelated crop which should not be the case. I am wondering if Bilinear interpolation should produce different results than the Nearest interpolation.
Only the Cubic interpolation NvBufSurfTransformInter_Algo1 that was able to produce a smooth image.
Find the origin image and the upscaled variants attached below.
Origin Image
![]()
Nearest
Bilinear
Cubic
Please advise,
Thanks!



