From 3a33d00d22ef55247fe379b8e6c53850f43a32a8 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Tue, 19 Jun 2018 22:29:59 +0000
Subject: [PATCH] Update Readme.md
---
src/data.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/data.c b/src/data.c
index aae8667..d92e307 100644
--- a/src/data.c
+++ b/src/data.c
@@ -51,6 +51,7 @@
random_paths[i] = paths[index];
//if(i == 0) printf("%s\n", paths[index]);
//printf("grp: %s\n", paths[index]);
+ if (strlen(random_paths[i]) <= 4) printf(" Very small path to the image: %s \n", random_paths[i]);
} while (strlen(random_paths[i]) == 0);
}
pthread_mutex_unlock(&mutex);
@@ -341,7 +342,7 @@
system(buff);
continue;
}
- if (x < 0 || x > 1 || y < 0 || y > 1) {
+ if (x <= 0 || x > 1 || y <= 0 || y > 1) {
printf("\n Wrong annotation: x = %f, y = %f \n", x, y);
sprintf(buff, "echo %s \"Wrong annotation: x = %f, y = %f\" >> bad_label.list", labelpath, x, y);
system(buff);
--
Gitblit v1.10.0