From 026a679dedbc45486a11ecabf56c898372d8cac5 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Thu, 21 Jun 2018 16:23:30 +0000 Subject: [PATCH] Minor fix: darknet.py for OpenCV --- src/network.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/network.h b/src/network.h index 4198c4b..66df6ff 100644 --- a/src/network.h +++ b/src/network.h @@ -134,6 +134,7 @@ void set_batch_network(network *net, int b); int get_network_input_size(network net); float get_network_cost(network net); +YOLODLL_API layer* get_network_layer(network* net, int i); YOLODLL_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter); YOLODLL_API detection *make_network_boxes(network *net, float thresh, int *num); YOLODLL_API void free_detections(detection *dets, int n); -- Gitblit v1.10.0