Added line to print out position of bounding boxes

This commit is contained in:
Allen Ye 2019-12-03 11:43:39 -08:00 committed by GitHub
parent 61c9d02ec4
commit 4a0c11633e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));