yolo image.c

void draw_detections(image im, detection *dets, int num, float thresh, char **names, image **alphabet, int classes) 中修改 draw_label(im,5+5,5,label,rgb);

draw_box_width(im, left, top, right, bot, width, red, green, blue);
if (alphabet) {
  image label = get_label(alphabet, labelstr, (im.h*.03));
  draw_label(im, top + width, left, label, rgb);
  draw_label(im, 5 + 5, 5, label, rgb);
  free_image(label);
}

原文地址:https://www.cnblogs.com/clemente/p/11070149.html