Jamshaid89 commited on
Commit
daf2e20
1 Parent(s): 5d3977e

Fixed , issude

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def predict_image(image):
106
  text_position = (x, y+h+30)
107
 
108
  # Add the text to the image
109
- cv2.putText(output_img identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255,0 ), 2)
110
  return image
111
 
112
 
 
106
  text_position = (x, y+h+30)
107
 
108
  # Add the text to the image
109
+ cv2.putText(output_img ,identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255,0 ), 2)
110
  return image
111
 
112