Spaces:
Runtime error
Runtime error
Update app.py
Browse files16 unmodified lines1718192021222370 unmodified lines94959697989910016 unmodified lines##################app = Flask (__name__ )70 unmodified linesface_locations = face_recognition.face_locations(rgb_small_frame)face_encodings = face_recognition.face_encodings(small_frame, face_locations)face_names = []emit("result",{"name":"level 33","score":str(len(face_encodings))})for face_encoding in face_encodings:emit("result",{"name":"in for ","score":"34"})matches = face_recognition.compare_faces(known_face_encodings, face_encoding)16 unmodified lines1718192021222370 unmodified lines94959697989910010116 unmodified lines##################cnt =1app = Flask (__name__ )70 unmodified linesface_locations = face_recognition.face_locations(rgb_small_frame)face_encodings = face_recognition.face_encodings(small_frame, face_locations)face_names = []emit("result",{"name":"level " +str(cnt),"score":str(len(face_encodings))})cnt = cnt +1for face_encoding in face_encodings:emit("result",{"name":"in for ","score":"34"})matches = face_recognition.compare_faces(known_face_encodings, face_encoding)
app.py+3-2