Skip to content

Where movement meets motivation! πŸ’ƒπŸ»

Notifications You must be signed in to change notification settings

RyanDsilva/move-mentor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MoveMentor πŸ’ƒπŸ»

When Movement Meets Motication!

Setup πŸ› οΈ

Pre-Requisites: Flutter >= 3.7

  1. Install TFLite dependencies for Android

Linux / MacOS

sh install.sh -d

Windows

install.bat -d
  1. Install TFLite dependencies for iOS
  • Download this file: TensorFlowLiteC.framework
  • Place the TensorFlowLiteC.framework file in the pub-cache folder of the tflite_flutter package
  • Linux/ Mac => ~/.pub-cache/hosted/pub.dev/tflite_flutter-/ios/
  • Windows => %LOCALAPPDATA%\Pub\Cache\hosted\pub.dev\tflite_flutter-\ios\

** To use Metal on iOS: Download the file from this PR: https://github.com/am15h/tflite_flutter_plugin/pull/200/files and follow the instructions here: https://github.com/am15h/tflite_flutter_plugin/wiki/Build-iOS-binaries-with-GPU-delegate

  1. Install Flutter Dependencies
flutter pub get
  1. Run
flutter run

Model Specifications πŸ‘¨πŸ»β€πŸ’»

  • Using the MoveNet Lightning Single Pose Model
  • Uses a 640x480 RGB image as input (Medium Resolution Preset for Android and iOS)
  • Outputs an array with [x, y, confidence] (x, y are scaled according to the input image size)

Similarity Calulcation

Angle Between Two Lines: https://www.nagwa.com/en/explainers/407162748438/