From 11c72b1132feca7c1252ea01d02da4cb497e723f Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 11 Jun 2015 22:38:58 +0000
Subject: [PATCH] testing on one image

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

diff --git a/src/captcha.c b/src/captcha.c
index ca6dfe0..e369ffb 100644
--- a/src/captcha.c
+++ b/src/captcha.c
@@ -62,7 +62,9 @@
         float *predictions = network_predict(net, X);
         image out  = float_to_image(300, 57, 1, predictions);
         show_image(out, "decoded");
+        #ifdef OPENCV
         cvWaitKey(0);
+        #endif
         free_image(im);
     }
 }

--
Gitblit v1.10.0