TypeError at /mark_your_attendance Невозможно разобрать 'center'. Элемент последовательности с индексом 0 имеет неправильный тип
Hello guys! i am working on attendance system using Face Recognition, i have trained the captured images once want to mark the attendance it gives me following error, i have used django at backend.
TypeError at /mark_your_attendance Can't parse 'center'. Элемент последовательности с индексом 0 имеет неправильный тип
Request Method: GET
Request URL: http://127.0.0.1:8000/mark_your_attendance
Django Version: 2.2.2
Exception Type: TypeError
Exception Value:
Can't parse 'center'. Sequence item with index 0 has a wrong type
Exception Location: /home/saifullah/Desktop/attendance/attendance-system/env/lib/python3.8/site-packages/imutils/face_utils/facealigner.py in align, line 68
Python Executable: /home/saifullah/Desktop/attendance/attendance-system/env/bin/python3
Python Version: 3.8.10
Python Path:
['/home/saifullah/Desktop/attendance/attendance-system',
'/usr/lib/python38.zip',
'/usr/lib/python3.8',
'/usr/lib/python3.8/lib-dynload',
'/home/saifullah/Desktop/attendance/attendance-system/env/lib/python3.8/site-packages']
Здесь я делюсь кодом, может ли кто-нибудь помочь, как решить эту проблему.
Код