You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start the script, no error but when a face is on the camera, this error appears:
Traceback (most recent call last):
File "/home/jules/Documents/Realtime_FacialRecognition/Realtime_FacialRecognition/facerec_ipcamera_knn.py", line 211, in
frame = show_prediction_labels_on_image(frame, predictions1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jules/Documents/Realtime_FacialRecognition/Realtime_FacialRecognition/facerec_ipcamera_knn.py", line 178, in show_prediction_labels_on_image
text_width, text_height = draw.textsize(name)
^^^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'textsize'
The text was updated successfully, but these errors were encountered:
When I start the script, no error but when a face is on the camera, this error appears:
Traceback (most recent call last):
File "/home/jules/Documents/Realtime_FacialRecognition/Realtime_FacialRecognition/facerec_ipcamera_knn.py", line 211, in
frame = show_prediction_labels_on_image(frame, predictions1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jules/Documents/Realtime_FacialRecognition/Realtime_FacialRecognition/facerec_ipcamera_knn.py", line 178, in show_prediction_labels_on_image
text_width, text_height = draw.textsize(name)
^^^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'textsize'
The text was updated successfully, but these errors were encountered: