Skip to content

moonsense/squats-counter-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Squats Counter Example

A simple demo to get acceleration data from a mobile device and identify how many squat repetitions we've made using moonsense recording.

Getting started

  1. generate a new virtual envrionment.
virtualenv -p python3 venv
source activate venv/bin/activate
pip install -r reqquirements.txt
  1. Run our example script. It will iterate on all the seessions and display our identified squat repetitions. See the blog post for reference.

To get data, you'll want to sign up to moonsense. You'll get an api token like your_secret_token

export MOONSENSE_SECRET_TOKEN=your_secret_token python scripts/squat_counter.py

If you prefer jupyter notebooks, you can run scripts/squat_counter.ipynb instead.

Contributions and github issues are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •