Sam Beran
2018-07-10 5fc1e9a918bfb9229eec90d459dbfb6778ae6906
ext_output: flush stdout after printing output

this allows tooling to watch for changes while the application is running.
1 files modified
3 ■■■■■ changed files
src/image.c 3 ●●●●● patch | view | raw | blame | history
src/image.c
@@ -548,6 +548,9 @@
            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)