From 23cb35e6c8eae8b59fab161036ae3f417a55c8db Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 30 Mar 2018 11:46:51 +0000
Subject: [PATCH] Changed small_object

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

diff --git a/src/network.h b/src/network.h
index 49a2af2..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;
@@ -64,6 +65,11 @@
     #ifdef GPU
     float **input_gpu;
     float **truth_gpu;
+	float **input16_gpu;
+	float **output16_gpu;
+	size_t *max_input16_size;
+	size_t *max_output16_size;
+	int wait_stream;
     #endif
 } network;
 
@@ -127,6 +133,8 @@
 void set_batch_network(network *net, int b);
 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