Merge pull request #737 from IlyaOvodov/Fix_thin

FIX #736: Detector does not draw rects for images with small resolutions
This commit is contained in:
Alexey
2018-05-03 13:18:29 +03:00
committed by GitHub

View File

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