From 1e512b23089b23e91fa5ed6a617641d9286d1417 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 04 Jun 2018 19:11:05 +0000
Subject: [PATCH] Letter box is disabled in the darknet.py by defualt
---
build/darknet/x64/darknet.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/build/darknet/x64/darknet.py b/build/darknet/x64/darknet.py
index 75ef04b..dff0a31 100644
--- a/build/darknet/x64/darknet.py
+++ b/build/darknet/x64/darknet.py
@@ -235,7 +235,7 @@
if debug: print("Assigned pnum")
predict_image(net, im)
if debug: print("did prediction")
- dets = get_network_boxes(net, im.w, im.h, thresh, hier_thresh, None, 0, pnum, 1)
+ dets = get_network_boxes(net, im.w, im.h, thresh, hier_thresh, None, 0, pnum, 0)
if debug: print("Got dets")
num = pnum[0]
if debug: print("got zeroth index of pnum")
--
Gitblit v1.10.0