diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-02 08:07:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-02 08:07:03 +0100 |
commit | fba587185e077cf6ed4b37d213553f87e3b859cb (patch) | |
tree | a7eb504bf6bc2176d2ac99483e63025002e6171f /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | |
parent | f998dc6ce88d8439e5e6ec9e506bd82255ef71f7 (diff) |
fix bad fps copy-paste-o
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 14 |
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); |