Skip to content

Conversation

@amlan-roy
Copy link
Collaborator

Making this temporary branch to store all the changes, before deleting and recreating the project file.

The image analyser calls DrawExercise Custom View, which uses factory class to create dumbell curls exercise

passing deviceWidth/2,deviceLength/2 to ImageAnalysisBuilder
scalex and scale y hardcoded to 2
hardcoded x and y offset

In dumbell curls.drawing,Calling init function everytime at the beginning, so that it checks for elbow position and hence right side or left side, every time

Reps reset to 0 after 3 sets
Sets increase by one after 12 reps(on 13th rep)
Added a timer, which starts on button click
It displays time left in text view
After finish, button is removed, textView is removed and Stop button is made visible

if isActive and not finished, then we do processing on the detected pose, else nothing

onClick of stop button, isActive false, isFinished true,remove all the drawing if any
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.

2 participants