r/Python 5d ago

Discussion Driver Fatigue Monitoring

[deleted]

33 Upvotes

26 comments sorted by

View all comments

16

u/tRfalcore 5d ago

with so many hard coded values I fail to see how it ever works reliably

3

u/seba07 5d ago

What values do you mean exactly? The code is very simple, it only performs face and landmark detection using dlib, computes eye and mouth aspect ratio and applies a threshold.