All Projects → jingw222 → Hiitpi

jingw222 / Hiitpi

Licence: mit
A workout trainer Dash/Flask app that helps track your HIIT workouts by analyzing real-time video streaming from your sweet Pi using machine learning and Edge TPU..

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hiitpi

Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (+112.26%)
Mutual labels:  flask, dash, plotly
Dash Flask Login
Implementation of Flask-login on top of Dash.
Stars: ✭ 158 (+49.06%)
Mutual labels:  flask, dash, plotly
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+1832.08%)
Mutual labels:  raspberry-pi, opencv, dash
Dash
Analytical Web Apps for Python, R, Julia, and Jupyter. No JavaScript Required.
Stars: ✭ 15,592 (+14609.43%)
Mutual labels:  flask, dash, plotly
Multi Threading Camera Stream
Multi-threading camera stream to improve video processing performance
Stars: ✭ 18 (-83.02%)
Mutual labels:  flask, opencv
Bowtie
Create a dashboard with python!
Stars: ✭ 724 (+583.02%)
Mutual labels:  flask, plotly
Raspberryrobot
基于树莓派的智能机器人
Stars: ✭ 11 (-89.62%)
Mutual labels:  raspberry-pi, opencv
Flask face detection
Face detection example in Python 3 based on OpenCV and Flask
Stars: ✭ 55 (-48.11%)
Mutual labels:  flask, opencv
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+266.98%)
Mutual labels:  dash, plotly
Os
This is the software framework for an OPSORO robot, to be used in conjunction with Ono2 or OPSORO grid and OPSOROHAT.
Stars: ✭ 11 (-89.62%)
Mutual labels:  flask, raspberry-pi
Rpindvi
Raspberry PI NDVI Code
Stars: ✭ 57 (-46.23%)
Mutual labels:  raspberry-pi, opencv
Hexapod Robot Simulator
A hexapod robot simulator built from first principles
Stars: ✭ 577 (+444.34%)
Mutual labels:  dash, plotly
Pi Timolo
Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
Stars: ✭ 441 (+316.04%)
Mutual labels:  raspberry-pi, opencv
Facerec Lock
Face recognition to control servo lock using Raspberry Pi and OpenCV
Stars: ✭ 7 (-93.4%)
Mutual labels:  raspberry-pi, opencv
Pibooth
The pibooth project provides a Photo Booth application out-of-the-box for Raspberry Pi and opencv compatible devices
Stars: ✭ 398 (+275.47%)
Mutual labels:  raspberry-pi, opencv
Smart Surveillance System Using Raspberry Pi
This is my Third Year Project for face recognition using OpenCV
Stars: ✭ 41 (-61.32%)
Mutual labels:  raspberry-pi, opencv
Openframeworks
openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
Stars: ✭ 8,652 (+8062.26%)
Mutual labels:  raspberry-pi, opencv
Fitly
Self hosted web analytics for endurance athletes
Stars: ✭ 65 (-38.68%)
Mutual labels:  dash, plotly
Phormatics
Using A.I. and computer vision to build a virtual personal fitness trainer. (Most Startup-Viable Hack - HackNYU2018)
Stars: ✭ 79 (-25.47%)
Mutual labels:  flask, opencv
Solarpi
A RaspberryPi based, Flask powered photovoltaic monitor
Stars: ✭ 90 (-15.09%)
Mutual labels:  flask, raspberry-pi

HIIT PI

HIIT PI is a Dash app that uses machine learning (specifically pose estimation) on edge devices to help track your HIIT workout progress in real time (~30fps). The backend runs everything locally on a Raspberry Pi while you interact with the app wherever there is a web browser connecting to the same local network as the Pi does.

How it works

Hardwares

Softwares

Usage

  1. SSH into your Raspberry Pi and clone the repository.

  2. Install Docker & Docker Compose.

  3. Build our Docker images and spawn up the containers with

    $ docker-compose -d --build up 
    
  4. (Optional) For maximum performance, swap the standard Edge TPU runtime library libedgetpu1-legacy-std with libedgetpu1-legacy-max

    1. get into the shell of container web-hiitpi by
      $ docker exec -it web-hiitpi bash
      
    2. run the following inside the container
      $ DEBIAN_FRONTEND=dialog apt-get install -y libedgetpu1-legacy-max
      
      Note: select yes and hit ENTER in the interactive installation process.
    3. restart the web service after the above install finishes
      $ docker-compose restart web 
      
  5. Go to <your_pis_ip_address>:8050 on a device in the same LAN as the Pi's, and then enter a player name in the welcome page to get started.

  6. The live-updating line graphs show the model inferencing time (~50fps) and pose score frame by frame, which indicates how likely the camera senses a person in front.

  7. Selecting a workout from the dropdown menu starts a training session, where your training session stats (reps & pace) are updating in the widgets below as the workout progresses. Tap the DONE! button to complete the session, or EXIT? to switch a player. Click LEADERBOARD to view total reps accomplished by top players.

Notes

  • This project currently has implemented a couple of workouts to play with, and we're planning to expand our workout repertoire as it evolves over time.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].