File size: 4,678 Bytes
5b60851
894cca2
 
 
5b60851
 
894cca2
5b60851
 
894cca2
5b60851
 
894cca2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
title: Pose-Think AI Movement Analysis
emoji: 🎯
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.8.0
app_file: app.py
pinned: false
license: mit
---

# 🎯 Pose-Think: AI-Powered Movement Analysis Suite

Real-time posture and movement analysis with multiple specialized modes. Get instant feedback on what the camera sees!

## 🌟 Features

### 🎯 **Basic Posture Analysis**
- **Real-time body detection**: Instantly identifies visible body parts
- **Joint angle measurements**: Precise elbow, knee, and other joint angles
- **Posture alignment**: Shoulder level, hip alignment, neck position
- **Clear feedback**: "Left shoulder high", "Neck tilted right", "Elbows at 156Β°"

### 🎯 **Enhanced Posture Analysis** 
- **Everything from Basic mode** plus:
- **Age-specific recommendations**: Tailored advice for different age groups
- **BMI calculation**: Height/weight analysis for posture load assessment
- **Personalized insights**: Context-aware health recommendations

### 🀚 **Hand Tracking**
- **Dual hand detection**: Track up to 2 hands simultaneously
- **Finger counting**: Automatic detection of extended fingers
- **Gesture analysis**: Real-time hand position and orientation
- **Perfect for**: Hand exercises, gesture recognition, rehabilitation

## πŸš€ How to Use

1. **Choose Analysis Type**: Select from Basic Posture, Enhanced Posture, or Hand Tracking
2. **Allow Camera Access**: Grant permission when prompted by your browser
3. **Position Yourself**: 
   - **For Posture**: Stand 2-3 meters from camera, full body visible
   - **For Hands**: Show hands clearly to the camera
4. **Click Analyze**: Get instant, detailed feedback
5. **Enhanced Mode**: Optionally enter age/height/weight for personalized insights

## πŸ“Š What You'll See

### Basic/Enhanced Posture Analysis:
```
βœ… Visible: Head, Shoulders, Elbows, Hips, Knees

πŸ“ Left elbow angle: 156.3Β°
πŸ“ Right elbow angle: 162.1Β°

⚠️ Left shoulder higher
βœ… Hips level
πŸ” Neck: Tilted right
```

### Enhanced Mode Additional Info:
```
πŸ‘€ Profile: Age: 32 | BMI: 26.1
⚠️ BMI slightly high - extra load on posture

🎯 Age-Specific Recommendations:
πŸ’‘ Middle age: Regular exercise important
πŸ’Ό Make workspace ergonomic
```

### Hand Tracking:
```
βœ… 2 hands detected

πŸ–οΈ Hand 1: 5 fingers up
πŸ–οΈ Hand 2: 3 fingers up
```

## 🎯 Perfect For

- **Personal Health**: Quick posture checks and movement awareness
- **Workplace Wellness**: Ergonomic assessments and posture monitoring
- **Fitness & Rehabilitation**: Exercise form checking and progress tracking
- **Education & Research**: Movement analysis and biomechanics studies
- **Accessibility**: Hand gesture recognition and interaction

## πŸ”§ Technical Details

- **AI Model**: MediaPipe Pose and Hands (Google)
- **Processing**: Real-time analysis at 30+ FPS
- **Accuracy**: 95%+ detection rate in good lighting
- **Privacy**: All processing done locally, no data stored
- **Compatibility**: Works on desktop, tablet, and mobile browsers

## πŸ“ Tips for Best Results

### For Posture Analysis:
- **Lighting**: Ensure even, bright lighting
- **Background**: Use plain, contrasting background
- **Distance**: Stand 2-3 meters from camera
- **Position**: Keep full body visible in frame

### For Hand Tracking:
- **Visibility**: Keep hands clearly visible
- **Contrast**: Ensure hands contrast with background
- **Movement**: Avoid rapid movements for better tracking
- **Lighting**: Good lighting improves accuracy

## πŸŽ“ Understanding the Feedback

### Symbols:
- βœ… **Green checkmarks**: Good alignment/posture
- ⚠️ **Warning signs**: Issues detected that need attention
- πŸ“ **Measurements**: Precise joint angles in degrees
- πŸ” **Position info**: Head, neck, body position details
- πŸ‘€ **Profile info**: Personal context and recommendations

### Measurements:
- **Joint angles**: 0-180Β° range, closer to 180Β° = straighter
- **Alignment**: Compares left vs right side positioning
- **Visibility**: Shows which body parts are clearly detected

## πŸš€ Built With

- **MediaPipe**: Google's ML framework for pose and hand detection
- **Gradio**: Modern web interface for ML applications
- **OpenCV**: Computer vision and image processing
- **NumPy**: Numerical computations

## πŸ“„ License

MIT License - feel free to use and modify for your projects!

## 🀝 Contributing

This is part of the Pose-Think project. Contributions welcome on [GitHub](https://github.com/semskurto/pose-think)!

---

**⚠️ Disclaimer**: This tool is for educational and wellness purposes only. It does not provide medical diagnosis. Consult healthcare professionals for medical concerns.