Suresh-vkl

Results 2 comments of Suresh-vkl

Try this GRAY conversion before calling face_recognition.face_locations. It resolved this issue for me. rgb_small_frame = small_frame[:, :, ::-1] rgb_small_frame = cv2.cvtColor(rgb_small_frame , cv2.COLOR_BGR2RGB) face_locations = face_recognition.face_locations(rgb_small_frame)

> > Try this GRAY conversion before calling face_recognition.face_locations. It resolved this issue for me. > > rgb_small_frame = small_frame[:, :, ::-1] rgb_small_frame = cv2.cvtColor(rgb_small_frame , cv2.COLOR_BGR2RGB) face_locations = face_recognition.face_locations(rgb_small_frame)...