| | |
| | | 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; |
| | |
| | | |
| | | 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); |