Traceback (most recent call last):


 "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/usr/lib/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "/home/nick/Face-Door/src/prosessing/video.py", line 225, in ProcessVideo

predictions = Knn.predict(X_frame=small_frame,model_path=imagePathusers+"Face_Rec.model")


 "/home/nick/Face-Door/src/prosessing/data/KnnClassifiyer.py", line 94, in predict

X_face_locations = face_recognition.face_locations(X_frame, model="cnn")


 "/usr/local/lib/python3.6/dist-packages/face_recognition-1.4.0-py3.6.egg/face_recognition/api.py", line 119, in face_locations

return [_trim_css_to_bounds(_rect_to_css(face.rect), img.shape) for face in _raw_face_locations(img, number_of_times_to_upsample, "cnn")]


 "/usr/local/lib/python3.6/dist-packages/face_recognition-1.4.0-py3.6.egg/face_recognition/api.py", line 103, in _raw_face_locations

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

Traceback (most recent call last):


 "i.py", line 13, in <module>

goo(Child())


 "i.py", line 10, in goo

1 + 'boom'
# no error from mypy but there's an error at runtime
TypeError: unsupported operand type(s) for +: 'int' and 'str'
