summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-12 11:40:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-12 11:40:43 +0200
commitb98f07d984dff6718d7184ed1bf68709f4dae348 (patch)
tree005d72fc084cebc0107fae9f396b5dd2a1b04cde /ftnoir_tracker_pt/camera.cpp
parent79f3cabf4639be401ae79ca73f58fdec84e5e2e0 (diff)
reduce CPU usage during tracking
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r--ftnoir_tracker_pt/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp
index 96ba3b89..90fcfaaf 100644
--- a/ftnoir_tracker_pt/camera.cpp
+++ b/ftnoir_tracker_pt/camera.cpp
@@ -92,8 +92,8 @@ bool CVCamera::_get_frame(Mat* frame)
{
Mat tmp;
bool ret = cap->read(tmp);
- if (ret)
- flip(tmp, *frame, 0);
+ //if (ret)
+ // flip(tmp, *frame, 0);
return ret;
}