From 66bc34d50620822732012eb3ab76a47bb8845734 Mon Sep 17 00:00:00 2001 From: Juan Altmayer Pizzorno Date: Wed, 15 Apr 2020 14:34:29 -0400 Subject: [PATCH] - added printing detected bounding box corners; --- src/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/image.c b/src/image.c index 4a2c6baf..55ddcfe2 100644 --- a/src/image.c +++ b/src/image.c @@ -284,6 +284,7 @@ void draw_detections(image im, detection *dets, int num, float thresh, char **na int right = (b.x+b.w/2.)*im.w; int top = (b.y-b.h/2.)*im.h; int bot = (b.y+b.h/2.)*im.h; + printf("(%d,%d,%d,%d)\n", left, top, right, bot); if(left < 0) left = 0; if(right > im.w-1) right = im.w-1;