top of page
Search
  • n63li0

Saving Posenet Data in Amplify Datastore

Updated: Mar 10, 2021

Today, we reached another major milestone in our project which is successfully saving the angles outputted by our PoseNet analyzer into our workout session model for future analysis and scoring. This is a big step because without this, we were unable to start working on perhaps the hardest part of our project which is the scoring algorithm. We implemented this save functionality by creating two further custom types in Amplify - SquatElement and DeadliftElement - which help to save the different data generated by the PoseNet model for the different lifts.



We also replaced the custom WorkoutResult model in Amplify with a custom type instead as we realized we didn't need to save a WorkoutResult model and link it to the WorkoutSession model with a relationship, when we could just save a WorkoutResult struct into the WorkoutSession model.

1 view0 comments

Recent Posts

See All
Post: Blog2_Post
bottom of page