AlexeyAB
2018-04-18 57fce97fd5c2486997a6ee9ac67cccf2a5f35c81
src/detector.c
@@ -99,7 +99,7 @@
    args.hue = net.hue;
#ifdef OPENCV
   args.threads = 7;
   args.threads = 3;
   IplImage* img = NULL;
   float max_img_loss = 5;
   int number_of_lines = 100;
@@ -1056,8 +1056,8 @@
        float *X = sized.data;
        time= what_time_is_it_now();
        network_predict(net, X);
      //network_predict_image(&net, im);
        //network_predict(net, X);
      network_predict_image(&net, im); letterbox = 1;
        printf("%s: Predicted in %f seconds.\n", input, (what_time_is_it_now()-time));
        //get_region_boxes(l, 1, 1, thresh, probs, boxes, 0, 0);
      // if (nms) do_nms_sort_v2(boxes, probs, l.w*l.h*l.n, l.classes, nms);