@@ -42,7 +42,7 @@ namespace BBIWARG
/// <summary>
/// the input source type
/// </summary>
- public static readonly InputType InputSource = InputType.Movie;
+ public static readonly InputType InputSource = InputType.Camera;
#endregion input
@@ -56,7 +56,7 @@ namespace BBIWARG
/// true iff the timer output should be shown
- public static readonly bool LoggerTimerOutputEnabled = true;
+ public static readonly bool LoggerTimerOutputEnabled = false;
#endregion Logger
@@ -115,6 +115,7 @@ namespace BBIWARG.Recognition.PalmRecognition
private void updateOptimizedPalm(Palm detectedPalm)
{
OptimizedPalm = new Palm(detectedPalm.Hand, detectedPalm.ThumbDefect, detectedPalm.HandSide, WristUpperPrediction, FingersUpperPrediction, FingersLowerPrediction, WristLowerPrediction);
+ OptimizedPalm.setTracked(ID);
}
@@ -145,6 +145,7 @@ namespace BBIWARG.Recognition.TouchRecognition
private void updateOptimizedTouch(Touch detectedTouch)
OptimizedTouch = new Touch(AbsolutePositionPrediction, detectedTouch.Finger, detectedTouch.Palm);
+ OptimizedTouch.setTracked(ID);
@@ -77,6 +77,8 @@
this.numFramesLostUntilDeleted = numFramesLostUntilDeleted;
wasTrackedBefore = false;
+ detectedObject.setTracked(ID);
+
CurrentObject = detectedObject;
LastObject = detectedObject;
CurrentState = TrackingState.Detected;