Patelrahul4884 / Attendance-Management-system-using-face-recognition

Face based attendance system using python and OpenCV
433 stars 175 forks source link

error when Train Image #15

Open richierh opened 1 year ago

richierh commented 1 year ago

I have set all the path configurations . I have done to take images of myself and the software would keep it in the 'TrainingImage' Folder . Inside of the folder , it has their own Folder which is suit with the filename and enroll number combination. But I got this error when I click Train Image Button

global persistence.cpp:505 open Can't open file: '/home/richie/Downloads/Attendance-Management-system-using-face-recognition-master/TrainerImageLabel/Trainner.yml' in write mode

It gives me an error when I want to 'Fill attendance' either. It said that I need to train Images first. Eventhough I have done that before. I think there is a problem in the Traineer.yml file mode (write or read). But I do not know how to fix this