/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/venv/bin/python /Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/init.py", line 1702, in call
return self.func(*args)
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py", line 272, in train_image
text_to_speech,
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 15, in TrainImage
faces, Id = getImagesAndLables(trainimage_path)
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 28, in getImagesAndLables
for i in range(len(newdir))
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 29, in
for f in os.listdir(newdir[i])
NotADirectoryError: [Errno 20] Not a directory: '/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/TrainingImage/.DS_Store'
/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/venv/bin/python /Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/init.py", line 1702, in call return self.func(*args) File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py", line 272, in train_image text_to_speech, File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 15, in TrainImage faces, Id = getImagesAndLables(trainimage_path) File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 28, in getImagesAndLables for i in range(len(newdir)) File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 29, in
for f in os.listdir(newdir[i])
NotADirectoryError: [Errno 20] Not a directory: '/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/TrainingImage/.DS_Store'