From 573d7e80814a4cc3c08897f6c0f67ea189339856 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 16 May 2018 00:03:23 +0000
Subject: [PATCH] Added def array_to_image(arr): to the darknet.py Usage:     import scipy.misc     sci_image = scipy.misc.imread(image)     im, arr = array_to_image(sci_image)

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

diff --git a/src/box.h b/src/box.h
index 6063a48..9553b12 100644
--- a/src/box.h
+++ b/src/box.h
@@ -1,6 +1,11 @@
 #ifndef BOX_H
 #define BOX_H
 
+#ifdef _DEBUG
+#include <stdlib.h> 
+#include <crtdbg.h>  
+#endif
+
 #ifdef YOLODLL_EXPORTS
 #if defined(_MSC_VER)
 #define YOLODLL_API __declspec(dllexport) 

--
Gitblit v1.10.0