Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,13 +76,13 @@ def receive_image(image):
|
|
76 |
maam_encoding = face_recognition.face_encodings(maam_image)[0]
|
77 |
|
78 |
known_face_encodings = [sir_encoding, vikas_encoding,lalit_encoding,jasmine_encoding,maam_encoding]
|
79 |
-
|
80 |
students = known_faces_names.copy()
|
81 |
|
82 |
face_locations = []
|
83 |
face_encodings = []
|
84 |
face_names = []
|
85 |
-
|
86 |
# now = datetime.now()
|
87 |
# current_date = now.strftime("%Y-%m-%d")
|
88 |
# csv_file = open(f"{current_date}.csv", "a+", newline="")
|
|
|
76 |
maam_encoding = face_recognition.face_encodings(maam_image)[0]
|
77 |
|
78 |
known_face_encodings = [sir_encoding, vikas_encoding,lalit_encoding,jasmine_encoding,maam_encoding]
|
79 |
+
|
80 |
students = known_faces_names.copy()
|
81 |
|
82 |
face_locations = []
|
83 |
face_encodings = []
|
84 |
face_names = []
|
85 |
+
emit("result",{"name":"level1","score":"34"})
|
86 |
# now = datetime.now()
|
87 |
# current_date = now.strftime("%Y-%m-%d")
|
88 |
# csv_file = open(f"{current_date}.csv", "a+", newline="")
|