Jamshaid89
commited on
Commit
•
06c5460
1
Parent(s):
80e72b0
updated
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def predict_image(image):
|
|
106 |
text_position = (x, y+h+5)
|
107 |
|
108 |
# Add the text to the image
|
109 |
-
cv2.putText(output_img ,identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.
|
110 |
return output_img
|
111 |
|
112 |
|
|
|
106 |
text_position = (x, y+h+5)
|
107 |
|
108 |
# Add the text to the image
|
109 |
+
cv2.putText(output_img ,identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.3, (0, 255,0 ), 1)
|
110 |
return output_img
|
111 |
|
112 |
|