From a2666d5b3cfdcbab1e2eb66ca41f8b6835d4ffc8 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 22 May 2018 15:23:48 +0000
Subject: [PATCH] Fixed replace_image_to_label(): replaces directories only for Pascal VOC and COCO, replaces only extensions for other.
---
src/image.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/image.c b/src/image.c
index fc4dc50..003d5da 100644
--- a/src/image.c
+++ b/src/image.c
@@ -999,6 +999,7 @@
src = get_webcam_frame(cap);
if (!src) return make_empty_image(0, 0, 0);
} while (src->width < 1 || src->height < 1 || src->nChannels < 1);
+ printf("Video stream: %d x %d \n", src->width, src->height);
} else
src = get_webcam_frame(cap);
}
--
Gitblit v1.10.0