A sample project for my presentation on Fitness Motion Recognition at DroidCon Berlin 2015
Java Gnuplot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
common
gradle/wrapper
processor
.gitignore
README.md
build.gradle
fitness_recognition.gnuplot
fitness_recognition.iml
gradle.properties
gradlew
settings.gradle

README.md

Fitness Recognition

Recording and Plotting

  1. Build and install app on watch.

    ./gradlew clean app:installDebug
    
  2. Record a trace, noting the trace number.

  3. Pull the trace from the watch.

    adb -e pull /sdcard/Documents/fitness_recognition/trace_8
    
  4. Process the trace to find repetitions.

    ./gradlew clean processor:fatJar
    java -Done-jar.silent=true -jar processor/build/libs/processor-standalone.jar < trace_8 > trace_8.out
    
  5. Plot trace to see where the repetitions were detected.

    gnuplot -e "filename='trace_8.out'" fitness_recognition.gnuplot
    open trace_8.out.jpg