diff --git a/src/image.c b/src/image.c index ac1b6296..fb674e83 100644 --- a/src/image.c +++ b/src/image.c @@ -255,7 +255,7 @@ void draw_detections(image im, int num, float thresh, box *boxes, float **probs, } } if(class >= 0){ - int width = im.h * .006; + int width = fmax(1, im.h * .006); /* if(0){