Spaces:
Sleeping
Sleeping
Upload README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344# π§ YogaMate β AI Yoga Posture Correction
A professional yoga posture correction app powered by **MediaPipe** and **Gradio**.
## Features- Upload a yoga pose image β get instant AI posture feedback- Skeleton overlay drawn on your image with color-coded accuracy- Match score, pose name, and correction suggestions- Search the loaded pose database- Session history & progress tracking- Fast startup (model_complexity=0)
## Setup
```bashpip install -r requirements.txtpython app.py```
Then open: http://localhost:7860
## Dataset (optional)To extend the pose database, create a `yoga/` folder:```yoga/ warrior_ii/ img1.jpg img2.jpg tree_pose/ img1.jpg```Delete `pose_database.npy` and restart β it will rebuild automatically.
## Fixes Applied (v2)1. β
Removed duplicate database loading block2. β
`np.save()` moved inside dataset creation (not every startup)3. β
Broken `assets/` image references replaced with emoji pose cards4. β
`model_complexity=0`, `static_image_mode=False`, confidence 0.55. β
Search box connected to `search_pose()` function6. β
Sidebar fake buttons replaced with real `gr.Tabs()`7. β
Input validation present8. β
Match threshold raised 60 β 70%9. β
Default suggestion text when no corrections needed10. β
Professional dashboard with Home / Practice / Search / History / Progress / Settings tabsREADME.mdAdded+44