Alexander Hendrich 10 éve
szülő
commit
266dec3014
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      bbiwarg/Recognition/PalmRecognition/PalmDetector.cs

+ 1 - 1
bbiwarg/Recognition/PalmRecognition/PalmDetector.cs

@@ -82,7 +82,7 @@ namespace bbiwarg.Recognition.PalmRecognition
             Vector2D directionWristFingers = thumbDefect.VectorLong.normalize();
             Vector2D directionUpperLower = thumbDefect.VectorLong.getOrthogonal(side == HandSide.Right).normalize();
             Vector2D wristLower = wristUpper.moveWithinBound(directionUpperLower, palmWidth);
-            Vector2D fingersLower = (wristUpper + 0.75f * palmLength * directionWristFingers + 0.75f * palmWidth * directionUpperLower).moveInBound((directionUpperLower + directionWristFingers).normalize());
+            Vector2D fingersLower = (wristUpper + 0.75f * palmLength * directionWristFingers + 0.75f * palmWidth * directionUpperLower).moveInBound((directionUpperLower + directionWristFingers).getInverse().normalize());
 
             return new Palm(hand, thumbDefect, side, wristUpper, fingersUpper, fingersLower, wristLower);
         }