问题描述
我需要使用yolo物体检测得到上图中生成的边界框坐标.
i need to get the bounding box coordinates generated in the above image using yolo object detection.
推荐答案
一个快速的尊龙凯时的解决方案是修改 image.c 文件打印出边界框信息:
a quick solution is to modify the image.c file to print out the bounding box information:
... if(bot > im.h-1) bot = im.h-1; // print bounding box values printf("bounding box: left=%d, top=%d, right=%d, bottom=%d ", left, top, right, bot); draw_box_width(im, left, top, right, bot, width, red, green, blue); ...