Traceback (most recent call last):


 "cam_eye_tracking.py", line 11, in <module>

face_landmarks_list = face_recognition.face_landmarks(image)


 "C:\Program 
s\Python36\lib\site-packages\face_recognition\api.py", line 173, in face_landmarks

landmarks = _raw_face_landmarks(face_image, face_locations)


 "C:\Program 
s\Python36\lib\site-packages\face_recognition\api.py", line 153, in _raw_face_landmarks

face_locations = _raw_face_locations(face_image)


 "C:\Program 
s\Python36\lib\site-packages\face_recognition\api.py", line 102, in _raw_face_locations

return face_detector(img, number_of_times_to_upsample)
TypeError: __call__(): incompatible function arguments. The following argument types are supported:

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state

await self.async_device_update()


 "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/nmbs.py", line 132, in update

next_departure = liveboard['departures']['departure'][0]
TypeError: 'int' object is not subscriptable
