From 969109ac9d90d0de7f2acb3965c3f0d4a8433e1a Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 2 Jul 2014 21:00:59 -0400 Subject: [PATCH] Use usleep rather than waitKey --- src/videobuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/videobuffer.cpp b/src/videobuffer.cpp index 8f9799a..4b75f51 100644 --- a/src/videobuffer.cpp +++ b/src/videobuffer.cpp @@ -128,10 +128,10 @@ void imageCollectionThread(void* arg) // Delay 15ms - cv::waitKey(15); + usleep(15000); } // Delay 100ms - cv::waitKey(100); + usleep(100000); } } \ No newline at end of file