Vikas01 commited on
Commit
4610112
1 Parent(s): 08c2664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def receive_image(image):
110
  face_locations = face_recognition.face_locations(rgb_small_frame)
111
  face_encodings = face_recognition.face_encodings(small_frame, face_locations)
112
  face_names = []
113
- emit("result",{"name":"level 33","score":"34"})
114
  for face_encoding in face_encodings:
115
  emit("result",{"name":"in for ","score":"34"})
116
  matches = face_recognition.compare_faces(known_face_encodings, face_encoding)
 
110
  face_locations = face_recognition.face_locations(rgb_small_frame)
111
  face_encodings = face_recognition.face_encodings(small_frame, face_locations)
112
  face_names = []
113
+ emit("result",{"name":"level 33","score":str(len(face_encodings))})
114
  for face_encoding in face_encodings:
115
  emit("result",{"name":"in for ","score":"34"})
116
  matches = face_recognition.compare_faces(known_face_encodings, face_encoding)