Skip to content

Improve gesture tracking responsiveness and stability - #15

Merged
NakaokaRei merged 1 commit into
mainfrom
codex/improve-gesture-tracking
Jun 6, 2026
Merged

Improve gesture tracking responsiveness and stability#15
NakaokaRei merged 1 commit into
mainfrom
codex/improve-gesture-tracking

Conversation

@NakaokaRei

Copy link
Copy Markdown
Owner

Summary

  • move Vision recognition and preview conversion off the main actor with latest-frame backpressure
  • normalize pinch detection by hand size and add EMA smoothing, hysteresis, confirmation frames, and missing-hand reset
  • bound pointer movement, compensate for the mirrored camera preview, and prevent repeated sequence actions
  • reuse the image context and configure capture for 720p at 30 fps
  • add lightweight OSLog timing and dropped-frame diagnostics

Testing

  • xcodebuild -project TrackpadAir.xcodeproj -scheme TrackpadAir -configuration Debug -derivedDataPath /tmp/TrackpadAir-derived test CODE_SIGNING_ALLOWED=NO
  • 23 tests passed

@NakaokaRei
NakaokaRei merged commit 779986d into main Jun 6, 2026
2 checks passed
@NakaokaRei
NakaokaRei deleted the codex/improve-gesture-tracking branch June 6, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant