extract confidence heatmap from detectnet

Hi. I would like to extract confidence heatmap from detectnet after detection for some additional analysis. As i see from source code, these map is situated in mOutputs[OUTPUT_CVG].CPU (see below). Is that true? It is the same heatmap which i can see using DIGITS (like on picture below)?

int detectNet::clusterDetections( Detection* detections, uint32_t width, uint32_t height )
{
	// cluster detection bboxes
	float* net_cvg   = mOutputs[OUTPUT_CVG].CPU;

Hi,

You can get the confidence value in mOutputs[OUTPUT_CVG].CPU.
https://github.com/dusty-nv/jetson-inference/blob/master/c/detectNet.cpp#L817

The value is stored in the CHW format.
You can just parse it into a 2D array as the heatmap.

Thanks.