Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ def classifyPose(landmarks, output_image, display=False):
|
|
149 |
color = (0, 255, 0)
|
150 |
|
151 |
# Write the label on the output image.
|
152 |
-
cv2.putText(output_image, label, (
|
153 |
|
154 |
# Check if the resultant image is specified to be displayed.
|
155 |
if display:
|
|
|
149 |
color = (0, 255, 0)
|
150 |
|
151 |
# Write the label on the output image.
|
152 |
+
cv2.putText(output_image, label, (220, 30),cv2.FONT_HERSHEY_PLAIN, 2, color, 2)
|
153 |
|
154 |
# Check if the resultant image is specified to be displayed.
|
155 |
if display:
|