From da6258bd12e2c6da206cd81f1518ae5c695f740a Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 26 Apr 2017 13:59:28 +0000
Subject: [PATCH] Merge pull request #72 from jasrk11/patch-1

---
 src/detector.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/detector.c b/src/detector.c
index 5ea6f0c..2aaa828 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -407,6 +407,7 @@
         find_replace(labelpath, "JPEGImages", "labels", labelpath);
         find_replace(labelpath, ".jpg", ".txt", labelpath);
         find_replace(labelpath, ".JPEG", ".txt", labelpath);
+	find_replace(labelpath, ".png", ".txt", labelpath);
 
         int num_labels = 0;
         box_label *truth = read_boxes(labelpath, &num_labels);

--
Gitblit v1.10.0