SubhranshuSharma / shitty_gaze_mouse_controller

control cursor using eyes
https://subhranshusharma.github.io/gaze_mouse
MIT License
23 stars 0 forks source link

list index out of range #2

Open judemont opened 1 year ago

judemont commented 1 year ago

When I run main.py I have continuously this error list index out of range

SubhranshuSharma commented 1 year ago

When I run main.py I have continuously this error list index out of range

sorry i was busy with my school exams, just saw the issue now i think the tensorflow facial landmark model gives that error when it cant find the face, try running the frontal_face.py file and see if it detects the facial landmarks or not, just better lighting and better angle should have solved the issue. if the model doesn't work great i suggest changing tsrf=False in settings.py file so that it only uses the model in the setting up process and never after. just try better lighting and tell me if it works or not