diff --git a/src/image.c b/src/image.c index b6a0e994..a02e900e 100644 --- a/src/image.c +++ b/src/image.c @@ -251,6 +251,8 @@ void draw_detections_v3(image im, detection *dets, int num, float thresh, char * } if (class_id >= 0) { int width = im.h * .006; + if (width < 1) + width = 1; /* if(0){