ReHab Mate is a voice-assisted Python application designed to help you through a guided routine of physiotherapy exercises β especially helpful for knee ligament injury recovery. The program uses text-to-speech to guide you step-by-step through each exercise in real-time.
π Features
-
π Voice prompts for every exercise using pyttsx3
-
β±οΈ Automatic timed laps and counts
-
π§ Easy-to-use modular structure (app.py is the main controller)
-
π Exercises include pillow squeezes, leg raises, knee bends, hip movements, and more
Structure of the Program
ReHab Mate/ βββ app.py # Main execution file β run this to start the exercises βββ main.py # Contains core logic for counting and laps βββ README.md # Project documentation
π§βπ» How to Run
- β Install Required Library The app uses only one external Python library:
### π¦ Install Required Library ```bash pip install pyttsx3 ```
Note: pyttsx3 works offline and uses your system's TTS engine.
βΆοΈ Run the Program To start the exercise routine, simply run:
### π¦ Install Required Library ```bash python app.py ```
Each exercise will be announced, counted, and timed automatically with breaks in between.
###π§ Exercises Included
- Knee Exercise
- Pillow Press Exercise
- Strengthening Exercise
- Leg Folding
- Leg Bending Sidewise
- Hip Upward Movement
- Hip Sidewise Movement
- Hip Downward Movement
π Notes Make sure your speakers are on or headphones connected β the guidance is through voice.
Modify the lap counts and durations in main.py if your rehab plan needs adjustment.
πͺ Contribution This project was made for personal rehab needs. Feel free to fork it and adapt it for your physiotherapy use cases!