Bläddra i källkod

-switched Output from PalmDetection Debug Mode to "normal" view

Anton Rohr 11 år sedan
förälder
incheckning
9acc82cd68
3 ändrade filer med 5 tillägg och 4 borttagningar
  1. 1 1
      bbiwarg/Constants.cs
  2. 1 1
      bbiwarg/Graphics/OutputWindow.cs
  3. 3 2
      bbiwarg/VideoHandle.cs

+ 1 - 1
bbiwarg/Constants.cs

@@ -64,7 +64,7 @@ namespace bbiwarg
         public static readonly int TouchEventNumFramesUntilTracked = 2;
 
         // output window
-        public static readonly int NumImagesPerRow = 4;
+        public static readonly int NumImagesPerRow = 2;
         public static readonly float WindwoSizeFactor = 1f; // output window size is scaled by this factor (from necessary size for images)
     }
 }

+ 1 - 1
bbiwarg/Graphics/OutputWindow.cs

@@ -165,7 +165,7 @@ namespace bbiwarg.Graphics
 
             Timer.stop("onRenderFrame");
             
-            //Timer.outputAll();
+            Timer.outputAll();
         }
 
     }

+ 3 - 2
bbiwarg/VideoHandle.cs

@@ -210,8 +210,9 @@ namespace bbiwarg
 
             }
 
-            OutputImages = new OutputImage[] {OutputImages[0], OutputImages[1], OutputImages[2], palmDetector.i1, palmDetector.i2,
-            palmDetector.i3, palmDetector.i5, palmDetector.i6, palmDetector.i7, palmDetector.i8, palmDetector.i9};
+            OutputImages = new OutputImage[] {OutputImages[0], OutputImages[1], OutputImages[2], OutputImages[3]};
+            
+            //palmDetector.i1, palmDetector.i2, palmDetector.i3, palmDetector.i5, palmDetector.i6, palmDetector.i7, palmDetector.i8, palmDetector.i9};
 
             Timer.stop("processFrameUpdate");
         }