summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/module/camera.cpp b/tracker-pt/module/camera.cpp
index 14b565b6..e2edfcb6 100644
--- a/tracker-pt/module/camera.cpp
+++ b/tracker-pt/module/camera.cpp
@@ -151,11 +151,11 @@ bool Camera::_get_frame(cv::Mat& frame)
{
if (cap && cap->isOpened())
{
- for (int i = 0; i < 5; i++)
+ for (unsigned i = 0; i < 10; i++)
{
if (cap->read(frame))
return true;
- portable::sleep(1);
+ portable::sleep(50);
}
}
return false;