ravinder2024 commited on
Commit
4167f47
·
verified ·
1 Parent(s): 0ef30eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ if img_file_buffer is not None:
58
  cv2.rectangle(image , (x1, y2 - 35), (x2, y2), (0, 255, 0), cv2.FILLED)
59
  cv2.putText(image , name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
60
  faceMatchedflag = 1
61
- # Display image with the overlay
62
- st.image(image, use_column_width=True, output_format="PNG")
63
 
64
  if faceMatchedflag == 0:
65
  st.warning("No faces detected in the image.")
 
58
  cv2.rectangle(image , (x1, y2 - 35), (x2, y2), (0, 255, 0), cv2.FILLED)
59
  cv2.putText(image , name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
60
  faceMatchedflag = 1
61
+ # Display image with the overlay
62
+ st.image(image, use_column_width=True, output_format="PNG")
63
 
64
  if faceMatchedflag == 0:
65
  st.warning("No faces detected in the image.")