nikshep01 commited on
Commit
29a8fb3
·
verified ·
1 Parent(s): ae2930c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,11 +91,11 @@ if file_name is not None:
91
  cv2.putText(image, name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
92
 
93
  # Store attendance in SQLite database
94
- add_attendance(recognized_names)
95
 
96
  # Display the image with recognized faces
97
  st.image(image, use_column_width=True, output_format="PNG")
98
-
99
  # Display recognized names
100
  st.write("Recognized Names:")
101
  for i, name in enumerate(recognized_names):
 
91
  cv2.putText(image, name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
92
 
93
  # Store attendance in SQLite database
94
+ print(recognized_names)
95
 
96
  # Display the image with recognized faces
97
  st.image(image, use_column_width=True, output_format="PNG")
98
+ st.write("Length : {recognizes_names}")
99
  # Display recognized names
100
  st.write("Recognized Names:")
101
  for i, name in enumerate(recognized_names):