Inspiration

A huge portion of society requires glasses. However, in some places, it is incredibly difficult to get access to these services and find out proper prescriptions. We wanted to design this website to accommodate those by having a free and easy-to-use experience that finds people the most accurate prescription.

What it does

Our program displays a randomized Sneller Eye Exam and uses their webcam to determine if they are correctly taking the exam. It then displays the score for the user and the best-matching prescription for them.

How we built it

We built it by using a combination of JavaScript, the Bootstrap framework, the Flask framework, the OpenCV framework, HTML, CSS, and Python. We used the OpenCV framework and Python to use the webcam to find the appropriate distance the user should take the test from. We used Javascript, HTML Bootstrap, and CSS for our Frontend and we used Javascript and Python for our Backend.

Challenges we ran into

Integration of Python with HTML using Flask. We have rarely worked with frameworks and Python, especially using it as a backend that supports real-time distance tracking.

Accomplishments that we're proud of

We are proud of the accuracy of our eye exam. It is a simple and fully functioning Sneller exam.

What we learned

We learned Javascript, the Flask framework, the OpenCV framework, and some of our group learned HTML and CSS.

What's next for Eye Exam

We could do many tests for things such as astigmatism, farsightedness, and colorblindness. We could also incorporate a falling E chart to test people who speak non-Latin languages.

Share this project:

Updates