Coder Social home page Coder Social logo

squatter's Introduction

Squatter

Squatter is an app that can be used to analyze Squat & Deadlift performance using computer vision and video processing technologies.

How to use

  • Record a video of Squat or Deadlift from the side.
    • Slight angle is ok too as long as side of the barbell is visible.
    • Works best if the camera is stationary.
  • Load a video using Squatter app to analyze.
  • Seek to the first frame of the first repetition.
  • Using mouse select a small circle covering the barbell collar, or just center of the plate from the side view.
  • Click Process to start processing.

Once video is processed, its results are saved next to the video file with ".squatter" extension. This way you don't have to analyze the same video again if you need to revisit it.

For each rep you should see:

  • Red line showing descent
  • Green line showing ascent
  • Rep speed in seconds (Only includes ascending part)

Screenshot of analysis of an expert Squat: expert squat

Screenshot of analysis of a novice Squat: novice squat

How to build

Built executables for OSx are in exes/ folder. For all other platforms you will have to build manually.

Squatter has two main dependencies:

  • OpenCV
  • Kivy

With OpenCV very latest version is necessary (3.2.0 won't work), thus you will have to build it from source. http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way

Squatter app itself can be built using PyInstaller:

$: pyinstaller --clean squatter.spec && cp Info.plist dist/squatter.app/Contents/Info.plist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.