I am currently studying DNNInference.cpp to find a distance to a perceived vehicle.

We want to find the actual vehicle size (such as 1.6m) not perceived as the size of the image (short length such as 3,4 cm) when perceiving the vehicle. However, to analyze the entire source code, This lack is in difficulty.

What I want to know is the vehicle’s actual horizontal and vertical lengths and x, y center coordinates.

After analyzing the source code, I could get the answer from the function below.

interpretOutput (std :: vector * bboxes,

const float32_t * outConf, const float32_t * outBBox,

const dwRect * const roi,

bool doClustering)

In the above function, we want to know what parameter is the variable that plays the role of the actual vehicle size.

I will be waiting for your answer. Thank you.