Furhter adjust FPS optimization
authorAlyssa Rosenzweig <bobbybee@users.noreply.github.com>
Mon, 29 Jun 2015 17:36:19 +0000 (13:36 -0400)
committerAlyssa Rosenzweig <bobbybee@users.noreply.github.com>
Mon, 29 Jun 2015 17:36:19 +0000 (13:36 -0400)
examples/demo.cpp
examples/selection_demo.cpp

index 2a40896..a8b529a 100644 (file)
@@ -67,7 +67,7 @@ int main(int argc, char** argv) {
 
         imshow("Visualization", visualization);
 
-        if(waitKey(16) == 27) {
+        if(waitKey(20) == 27) {
             break;
         }
     }
index 828621c..c074b62 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char** argv) {
 
     imshow("Visualization", visualization);
 
-    if(waitKey(1) == 27) {
+    if(waitKey(20) == 27) {
       break;
     }
   }
This page took 0.025687 seconds and 4 git commands to generate.