Graduate

Modify register.py

...@@ -81,6 +81,6 @@ cap.set(3, 720) ...@@ -81,6 +81,6 @@ cap.set(3, 720)
81 cap.set(4, 480) 81 cap.set(4, 480)
82 ret, frame = cap.read() 82 ret, frame = cap.read()
83 frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) 83 frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
84 -face_list, image_list = detect_face(frame) 84 +image_list, face_list = detect_face(frame)
85 if face_list: 85 if face_list:
86 asyncio.get_event_loop().run_until_complete(send_face(face_list, image_list)) 86 asyncio.get_event_loop().run_until_complete(send_face(face_list, image_list))
...\ No newline at end of file ...\ No newline at end of file
......