def draw_scores_onto_image(self, img_disp):
    if (self.scores is None):
        return
    for i in range(len(self.action_labels)):
        FONT_SIZE = 0.6
        TXT_X = 20
        TXT_Y = (150 + (i * 30))
        COLOR_INTENSITY = 255
        if (i != (- 1)):
            label = self.action_labels[i]
            s = '{:<5}: {:.2f}'.format(label, self.scores[i])
            COLOR_INTENSITY *= ((0.0 + (1.0 * self.scores[i])) ** 0.5)
        cv2.putText(img_disp, text=s, org=(TXT_X, TXT_Y), fontFace=cv2.FONT_HERSHEY_SIMPLEX, fontScale=FONT_SIZE, color=(0, 0, int(COLOR_INTENSITY)), thickness=2)
def draw_scores_onto_image(self, img_disp):
    if (self.scores is None):
        return
    for i in range(len(self.action_labels)):
        FONT_SIZE = 0.6
        TXT_X = 20
        TXT_Y = (150 + (i * 30))
        COLOR_INTENSITY = 255
        if (i != (- 1)):
            label = self.action_labels[i]
            s = '{:<5}: {:.2f}'.format(label, self.scores[i])
            COLOR_INTENSITY *= ((0.0 + (1.0 * self.scores[i])) ** 0.5)
        cv2.putText(img_disp, text=s, org=(TXT_X, TXT_Y), fontFace=cv2.FONT_HERSHEY_SIMPLEX, fontScale=FONT_SIZE, color=(0, 0, int(COLOR_INTENSITY)), thickness=2)