summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-02 08:07:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-02 08:07:03 +0100
commitfba587185e077cf6ed4b37d213553f87e3b859cb (patch)
treea7eb504bf6bc2176d2ac99483e63025002e6171f /ftnoir_tracker_aruco
parentf998dc6ce88d8439e5e6ec9e506bd82255ef71f7 (diff)
fix bad fps copy-paste-o
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 651f7dbf..ff7821fd 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -146,16 +146,16 @@ void Tracker::run()
{
default:
case 0:
- fps = 0;
+ fps = 30;
break;
- case 30:
- fps = 1;
+ case 1:
+ fps = 60;
break;
- case 60:
- fps = 2;
+ case 2:
+ fps = 120;
break;
- case 120:
- fps = 3;
+ case 3:
+ fps = 0;
break;
}
camera = cv::VideoCapture(s.camera_index);