From 4a0c11633e064f74c9cd2dadc757020191915d3e Mon Sep 17 00:00:00 2001 From: Allen Ye <46653284+allenye66@users.noreply.github.com> Date: Tue, 3 Dec 2019 11:43:39 -0800 Subject: [PATCH] Added line to print out position of bounding boxes --- src/image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index 4a2c6baf..276ff894 100644 --- a/src/image.c +++ b/src/image.c @@ -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));