Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
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):
|