The inspiration for this project was to help decrease the amount of accidents that occur due to people driving large distances while tired. This largely applies to truck drivers who depend on driving long distances to make a living and can easily become bored or require driving late at night, both of which are known to cause tiredness. The main functionalities of this web-based application include, detecting when the driver has shown signs of fatigue, when this happens the driver is awaken using an alarm system that will play a sound for a short period of time. Other functionalities of this application include displaying a map to the user which they can use to find directions from one point on the map to another, also displayed on the map are charging stations for electric vehicles that are nearby. This application was built as a team, we came up with ideas together about how the application should function, what the UI of the application should look like, in addition we all collaborated to solve any errors that members of the team faced. While working on this project our team encountered many challenges and had to use our problem solving skills to solve them. One of the challenges faced includes displaying a camera generated by a python file on a react website created using JavaScript, this was an issue that we hadn’t initially considered, in order to solve this issue we had to create a connection between the python file and the web-application. After some deliberation our team decided to use websockets to create the connection. Another challenge faced earlier on in the project was getting mapbox to work how we required it to, after some time spent researching the issues faced were fixed and we were able to display the functionalities we wanted. Some of the accomplishments that we are proud of include, using a face detection algorithm which was used to find the location of a face, and then the eyes of the person, using the location of the eyes we were able to detect signs of drowsiness, most notably when the distance between the upper eyelid and the lower eyelid was very small for a significant number of consecutive frames. Some of our other accomplishments include using an RapidAPI to detect the location of nearby electric vehicle charging locations, and then creating a marker to be place on the mapbox map at the correct longitude and latitude coordinates. One more previously mentioned solved error accomplishment that we were proud to solve was creating the connection between the python file used to detect drowsiness, and the react JavaScript web-based application. Another aspect of the competition that our team did a very good job at is working together on a project at the same time as a team, and being conscious about conflicts that could be created by having multiple people working on the same file at the same time. Future functionality that could be implemented for WakeyDrivey could include expanding the application help more people with their driving needs. One group that could benefit greatly from this is deaf people, in order to expand this application to include this demographic we would need to add different options for how the driver is to be woken up, the idea here is to have the user buy a wearable wrist tech that would be able to receive a signal from the web-based application and upon receiving a signal signifying that the driver has shown signs of drowsiness, the wearable wrist tech could create a vibration or small shock to wake the user. Some other useful features that could be implemented include, adding functionality to graphics that display to the user when something needs their attention that they are unable to hear, some things that may require their attention include someone honking at them, siren behind them, or other loud noises. In order to show the driver that something needs their attention, the screen of the application could change color, or a vibration could again be used on their wearable wrist device.

Share this project:

Updates