mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Added line to print out position of bounding boxes
This commit is contained in:
parent
61c9d02ec4
commit
4a0c11633e
@ -289,7 +289,9 @@ void draw_detections(image im, detection *dets, int num, float thresh, char **na
|
||||
if(right > im.w-1) right = im.w-1;
|
||||
if(top < 0) top = 0;
|
||||
if(bot > im.h-1) bot = im.h-1;
|
||||
|
||||
#prints the positing of each bounding box
|
||||
printf("Bounding Box: Left=%d, Top=%d, Right=%d, Bottom=%d\n", left, top, right, bot);
|
||||
|
||||
draw_box_width(im, left, top, right, bot, width, red, green, blue);
|
||||
if (alphabet) {
|
||||
image label = get_label(alphabet, labelstr, (im.h*.03));
|
||||
|
Loading…
Reference in New Issue
Block a user