From c2c8595b083ec3586a99bb913b8a986e81e3a42a Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 19 Apr 2018 11:47:39 +0000
Subject: [PATCH] Fixed detection and validate(recall, map) for .png and .bmp images.

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

diff --git a/src/data.c b/src/data.c
index abdb043..a9dba1d 100644
--- a/src/data.c
+++ b/src/data.c
@@ -302,6 +302,7 @@
     find_replace(labelpath, "raw", "labels", labelpath);
     find_replace(labelpath, ".jpg", ".txt", labelpath);
     find_replace(labelpath, ".png", ".txt", labelpath);
+	find_replace(labelpath, ".bmp", ".txt", labelpath);
     find_replace(labelpath, ".JPG", ".txt", labelpath);
     find_replace(labelpath, ".JPEG", ".txt", labelpath);
     int count = 0;

--
Gitblit v1.10.0