From 3659d84f24ddc95102483cca430e01dc05568cbb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 31 Mar 2017 18:42:51 +0000
Subject: [PATCH] Added tracking: numerating the detected objects on video
---
src/detector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/detector.c b/src/detector.c
index a389407..7535df8 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -78,7 +78,7 @@
int count = 0;
//while(i*imgs < N*120){
while(get_current_batch(net) < net.max_batches){
- if(l.random && count++%10 == 0){
+ if(l.random && count++%10 == 0){
printf("Resizing\n");
int dim = (rand() % 10 + 10) * 32;
if (get_current_batch(net)+100 > net.max_batches) dim = 544;
--
Gitblit v1.10.0