summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
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);