From db550bd8044ec497845addb6d18a482d1f5aab91 Mon Sep 17 00:00:00 2001 From: vinjn Date: Wed, 27 Jun 2018 11:56:21 +0800 Subject: [PATCH] Expose optimize_picture() in DLL --- src/network.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network.h b/src/network.h index 66df6ffe..f80f58d9 100644 --- a/src/network.h +++ b/src/network.h @@ -146,6 +146,8 @@ YOLODLL_API void train_detector(char *datacfg, char *cfgfile, char *weightfile, YOLODLL_API int network_width(network *net); YOLODLL_API int network_height(network *net); +YOLODLL_API void optimize_picture(network *net, image orig, int max_layer, float scale, float rate, float thresh, int norm); + int get_network_nuisance(network net); int get_network_background(network net); YOLODLL_API void fuse_conv_batchnorm(network net);