Commit Graph
19 Commits
Author SHA1 Message Date
harine ac3eb98b9c Push changes with step counter and recognizing poses 2026-09-15 09:16:51 +08:00
Gabriel Low 610bfd7991 Merged Khalil 2026-09-11 10:13:25 +08:00
Gabriel Low cfe76da1d3 Merge branch 'Khalil' into Gabriel 2026-09-11 10:03:51 +08:00
Gabriel Low 584818b95a added back phase toggle button 2026-09-10 12:47:06 +08:00
Gabriel Low 17fad430c1 Cleaned up merge UI, added reset step button 2026-09-10 12:09:46 +08:00
Gabriel Low 981071ef74 Fix Merge, cleaned up UI 2026-09-09 20:09:18 +08:00
Gabriel Low f30bbe2a34 Merge branch 'au-au' into Gabriel 2026-09-08 14:11:21 +08:00
Gabriel Low 47f4567005 Merge branch 'master' into Gabriel 2026-09-08 11:15:49 +08:00
qychan ddd86ba322 resolve merge 2026-09-08 10:31:35 +08:00
qychan 4bb692e543 Merge branch 'QiYing' 2026-09-08 10:18:16 +08:00
Khalil Belabadia 9fcdc13699 Audio feedback update
Added the following files :

- AudioCue.kt
- AudioFeedbackEngine
- AudioFeedbackSettings

Edited files :

- BowlingCameraActivity (added the triggerAudiofeedback function)
2026-09-07 22:16:00 +08:00
midnight-masalaandClaude Sonnet 5 e7a9c2b140 Add live per-step form feedback based on joint angles
Extends pose angle tracking with knee bend (hip-knee-ankle), then uses
it alongside the existing elbow/shoulder angles in a new
PoseStageAdvisor to give a short live cue for whichever step of the
approach is in progress: push-away on step 2, downswing on step 3,
backswing on step 4, and knee-bend/arm-extension on the final step.
Thresholds are starting defaults, not measured coaching data, and are
expected to be retuned against real approach footage.

Also fixes a layout bug found while testing this live: the new
feedback text was chained via ConstraintLayout's toBottomOf to the
step banner above it, so whenever that banner was hidden (GONE) the
feedback text rendered at its collapsed zero-height position instead
of staying put, landing on top of the recording indicator. Both now
sit in a plain vertical LinearLayout, which collapses GONE children
correctly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 21:22:11 +08:00
midnight-masalaandClaude Sonnet 5 2bb7c6ca7b Add live final-position feedback and fix step detection accuracy
Shows a live banner as each step of the approach is counted, ending in
"FINAL POSITION - RELEASE!" once the 5th footfall lands. Also fixes
LiveStepDetector's peak-prominence check, which compared a candidate
footfall only to its immediate neighboring frame and silently dropped
real steps that landed across several closely-spaced frames; it now
tracks the true rise/fall trough on each side instead. Switches
PoseAnalyzer to ML Kit's faster base pose model (the accurate model was
starving the peak detector of frames on unaccelerated hardware), and
makes LiveStepDetector's stillness-based reset toggleable, currently
off for easier testing against recorded reference clips.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 20:58:03 +08:00
harine e7cb217de8 Added tuning feature and hand palm action to reset the timer 2026-09-07 19:38:43 +08:00
qychan de45eab0f5 feedbackui
can show in recording
2026-09-06 22:31:36 +08:00
jingwen121 cb941006c5 starting pose detection 2026-09-05 22:33:13 +08:00
DefiantWanderer 905400a59a Step counter test1 2026-08-14 18:16:55 +08:00
DefiantWanderer e05aca3312 Angle update 2026-08-12 12:46:33 +08:00
DefiantWanderer 8d4535ff00 Initial commit 2026-08-11 19:46:54 +08:00