this good

This commit is contained in:
Gabriel Low
2026-09-11 11:12:30 +08:00
parent 584818b95a
commit 1c6ced2dce
5 changed files with 5 additions and 26 deletions
@@ -61,8 +61,7 @@ class PoseLandmarkSmoother(
SmoothedLandmark(
x = prev.x + (smoothingFactor * (landmark.position.x - prev.x)),
y = prev.y + (smoothingFactor * (landmark.position.y - prev.y)),
inFrameLikelihood = prev.inFrameLikelihood +
(smoothingFactor * (landmark.inFrameLikelihood - prev.inFrameLikelihood)),
inFrameLikelihood = landmark.inFrameLikelihood,
)
}
previous[landmark.landmarkType] = next