Migration from 4.0 to 5.0: _NvOSD_RectParams conversion to float producing huge parameters


I am attempting to upgrade an existing application based off deepstream-test5 from 4.0 to 5.0.

Following the migration guide I have created symlinks for DeepStream 4.0. I have changed the Makefile NVDS_VERSION and can make and run without issues. My application maintains the sources/apps from DeepStream 4.

My application is using rect_params from NvDsObjectMeta which the migration required to be changed to floats. Doing so results in x and y values such as:
1.14578e+09 0
1.14541e+09 1.08045e+09
1.1451e+09 0
1.14594e+09 1.09346e+09
1.1483e+09 1.12051e+09
1.14835e+09 1.12192e+09

Keeping these as unsigned int results in values such as:
1149291725 1140824473
1149422797 1140896563
1149501440 1140896563
1149553869 1140896563

Any help is appreciated. Thank you.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version: 5.0
• JetPack Version: 4.4
• TensorRT Version: 7.1.3

This is working at our end. you probably not linked the libs properly. please clean up the /opt/nvidia/deepstream folder