@prominence_ai It is not for displaying but for the bounding box coordination calculation precision.
For example, in the example of gst-dsexample, please refer to gstdsexample.cpp file, in gst_dsexample_transform_ip() implementation, the coordination is generated with DsExampleProcess() function with scaling of 1/8 or 1/2, and then in attach_metadata_full_frame(), the coordinates will be scaled with scale_ratio. Float data type has less accumulated error than integer data type.
1 Like