Joseph Redmon
2015-06-10 afe245329bdd14f36ca773fd7d497fc628b0535a
src/detection.c
@@ -219,11 +219,12 @@
    clock_t time;
    char filename[256];
    while(1){
        printf("Image Path: ");
        fflush(stdout);
        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);