An electronic apparatus and method for heatmap visualization of object detections is provided. The electronic apparatus inputs an image frame including an object of interest to Deep Neural Network (DNN) model and extracts an object detection result associated with the object of interest as output of the DNN model for the input image frame. The object detection result includes bounding box coordinates for the object of interest. The electronic apparatus segments the input image frame into a plurality of image portions based on the bounding box coordinates and determines, for each of the plurality of image portions, a weight value indicative of a likelihood that a corresponding image portion belongs to the object of interest. The electronic apparatus generates, based on the determined weight value, a visualization frame which includes heatmap visualization of a region that is included in the image frame and is bounded by the bounding box coordinates.
HEATMAP VISUALIZATION OF OBJECT DETECTIONS