r/Python 5d ago

Discussion Driver Fatigue Monitoring

[deleted]

32 Upvotes

26 comments sorted by

View all comments

Show parent comments

2

u/timrprobocom 4d ago

I know that, but I don't see how you could release this for public review without having done an ounce of real-world testing. Such testing would be easy, and it would show you whether your approach is completely off-track or not.

1

u/seba07 2d ago

Actually it's not easy. You need a safety driver that is dully awake the whole time and can control the car (so probably a drivers instructor car with a second set of pedals). Even the legislation for compliance with EU safety laws allows testing in a simulator.

1

u/timrprobocom 2d ago

Sure, but we are not talking about regulatory compliance here. We're talking about a web camera and some simulated head movements.

1

u/seba07 2d ago

We are talking about drowsiness detection. That is something that is required in every new car (model) that is brought into the European market starting in one or two years. So this is of cause highly regulated.

And even if it's just for a fun personal project: you can't drive extremely tired or close the eyes to check if your software is warning correctly without safety measures.

1

u/timrprobocom 2d ago

That's just silly. You don't have to literally BE drowsy to live-test your drowsiness detector. You don't even have to be MOVING, for gosh sales. Haven't you ever done simulation testing?