Unlock your squat potentials - "Squid Game" style 😉🔫
View Demo »
Report Bug
·
Request Feature
Table of Contents
In our increasingly digital age, we find ourselves glued to screens and chairs, a far cry from the active lifestyles of our ancestors 300 years ago—a concerning shift in our well-being. Today's youth, from little Jimmy to college John, spend an astonishing 7.5 hours daily, equivalent to 114 full days per year, in front of screens (I actually did the research). Wtf, that's a whole third of a year!
I felt like I needed to do something. I had to make these kids move, and so I took inspiration from the CCP and their love for labor and surveillance.
I give to you, Squatty! Using a camera or webcam, Squatty tracks your squats, records your squat count, and monitors the time since your last squat. By Xi's request, a punishment mode can even be activated, compelling you to complete squats at specified intervals. Keep squatting, or you'll feel the consequences!
To get a local copy up and running follow these simple example steps.
Important
This project is a work in progress. Installation steps are subject to change.
Navigate to the
pip install -r requirements.txt
-
Clone the repo (main branch)
git clone https://github.com/alex-lin64/Squatty.git
-
Install prerequisites (conda environment is recommended)
pip install -r requirements.txt
-
If punishment feature is desired, wire up the arduino and relay to your punishment of choice according to example is given below and connect the arduino to your device serially.
- add diagram of arduino wiring
Important
This project is a work in progress. Usage steps are subject to change.
- Navigate to the project directory and start the script with
python ./main.py
- Start squatting! Here are the controls
- Press 'q' to quit the script
- Press 'u' to start punishment mode
- Press 'p' to pause punishment mode
- Flask web-app for controls & GUI
- Deploy Flask app w/ docker
- Wireless punishment
- Bluetooth
- Change punishment to TENS Unit
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Alex Lin - [email protected]
Project Link: https://github.com/alex-lin64/Squatty
- Human Pose Comparison and Action Scoring using Deep Learning,OpenCV & Python
- Human Pose Estimation: Pose Similarity
- Comparative Analysis of OpenPose, PoseNet, and MoveNet Models for Pose Estimation in Mobile Devices
- Human Pose Classification with MoveNet and TensorFlow Lite
- Nicholas Renotte @ Yotube