Update app.py
Browse files
app.py
CHANGED
|
@@ -207,7 +207,7 @@ def calculate_and_display_angles(image1, return_angles=False):
|
|
| 207 |
image = cv2.imdecode(data, cv2.IMREAD_COLOR)
|
| 208 |
|
| 209 |
# Get image dimensions
|
| 210 |
-
height, width, channels = image.shape
|
| 211 |
|
| 212 |
# Get pose landmarks
|
| 213 |
results = pose.process(image_rgb)
|
|
|
|
| 207 |
image = cv2.imdecode(data, cv2.IMREAD_COLOR)
|
| 208 |
|
| 209 |
# Get image dimensions
|
| 210 |
+
height, width, channels = 200 , 300 , 50#image.shape
|
| 211 |
|
| 212 |
# Get pose landmarks
|
| 213 |
results = pose.process(image_rgb)
|