fix: tolerate natural hand poses and smooth palm tracking
This commit is contained in:
@@ -20,4 +20,4 @@ Weights: https://media.githubusercontent.com/media/opencv/opencv_zoo/main/models
|
||||
|
||||
SHA-256: `db0898ae717b76b075d9bf563af315b29562e11f8df5027a1ef07b02bef6d81c`
|
||||
|
||||
`src/hand_pose.rs` rotates and crops the detected hand, requires at least 0.8 hand confidence, and checks all five fingers for extension using 3D landmarks. Rejected poses reset the dwell/progress timer. This verifies an open hand, not whether the palm side rather than the back faces the camera. Thresholds may need tuning for the camera and viewing distance.
|
||||
`src/hand_pose.rs` rotates and crops the detected hand, requires at least 0.65 hand confidence, and checks all five fingers for extension using 3D landmarks. Finger extension tolerates natural curvature and a relaxed thumb while rejecting curled fingers and fists. Rejected poses reset the dwell/progress timer; the outline persists for up to 750 ms after the last accepted sample to avoid flicker. This verifies an open hand, not whether the palm side rather than the back faces the camera. Thresholds may need tuning for the camera and viewing distance.
|
||||
|
||||
Reference in New Issue
Block a user