E

Eye Strain Detection

Video games strain your eyes but online classes don't? Time to prove them all wrong! We cant let Online classes diminish our eyesight can we?

Created on 13th December 2020

E

Eye Strain Detection

Video games strain your eyes but online classes don't? Time to prove them all wrong! We cant let Online classes diminish our eyesight can we?

The problem Eye Strain Detection solves

Now that, almost every aspect of our life involves a screen, including our day today education, (All thanks to COVID-19) the toll it takes on the quality of our eyesight is immense. What's worse is, we can't do anything about it because, the virtual life is the new normal. This leads to the necessity to ideate a system that can detect when your eyes are strained and reminds you to take some "screen off" time and that is exactly what we bring forth. A smart, yet simple system which can detect eye strain and makes sure to remind you to take some time off. This innovation will prove to be really useful to prevent complications like dry eyes, retinal scarring and serious eyes damage which arise due to overexposure of blue light emitted from screens

Challenges we ran into

The biggest challenge that we ran into was how to detect the blinks and how to count them. The code had some inherent bugs which could not detect blink correctly. The code was built on the idea that once the eye is closed and opened, it is registered as a blink. But we had also planned on detecting if the person closes their eyes for a long time to detect drowsiness or sleep. So, to correct this, we set a threshold for the detection of the number of frames to reset the blink counter condition and still could register blinks. The EAR formula which was refered in a research paper didn't have an easy implementation. We had to search for ways to properly detect the points in the eye so that the formula could be applied. After extensive research, we had discovered a library called dlib which helped us detect features from our face, given some points which generally identify a face. So, combining this library with our idea, we came up with a solution. Another problem we came up with was to set the treshold for detecting that the eyes were closed. This had to be corrected with multiple trial and error methods and setting threshold till we got one which worked perfectly.

Discussion

Builders also viewed

See more projects on Devfolio