From 9fbd1936ebed466aad50c52989b92d5e3fedc099 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 30 Mar 2018 11:32:41 +0000
Subject: [PATCH] small_object can be used in [net] in cfg-file for objects 1x1 pix on FullHD image

---
 src/network.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/network.h b/src/network.h
index d7f86c1..5b405c4 100644
--- a/src/network.h
+++ b/src/network.h
@@ -57,6 +57,7 @@
     float exposure;
     float saturation;
     float hue;
+	int small_object;
 
     int gpu_index;
     tree *hierarchy;
@@ -133,6 +134,7 @@
 int get_network_input_size(network net);
 float get_network_cost(network net);
 detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
+void free_detections(detection *dets, int n);
 
 int get_network_nuisance(network net);
 int get_network_background(network net);

--
Gitblit v1.10.0