From f2ae18e825d43c0f49a4d7826584dfb3414dbd17 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Wed, 10 Jun 2015 11:08:40 -0700 Subject: [PATCH] detection prompt --- src/detection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection.c b/src/detection.c index a3b40cab..c8e20ffc 100644 --- a/src/detection.c +++ b/src/detection.c @@ -219,11 +219,11 @@ void test_detection(char *cfgfile, char *weightfile) clock_t time; char filename[256]; while(1){ + printf("Image Path: "); fgets(filename, 256, stdin); strtok(filename, "\n"); image im = load_image_color(filename,0,0); image sized = resize_image(im, im_size, im_size); - printf("%d %d %d\n", im.h, im.w, im.c); float *X = sized.data; time=clock(); float *predictions = network_predict(net, X);