mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Merge pull request #1172 from sberan/flush-stdout
ext_output: flush stdout after printing output
This commit is contained in:
@ -548,6 +548,9 @@ void draw_detections_cv_v3(IplImage* show_img, detection *dets, int num, float t
|
||||
cvPutText(show_img, labelstr, pt_text, &font, black_color);
|
||||
}
|
||||
}
|
||||
if (ext_output) {
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
void draw_detections_cv(IplImage* show_img, int num, float thresh, box *boxes, float **probs, char **names, image **alphabet, int classes)
|
||||
|
Reference in New Issue
Block a user