RideSafe is an all in one system that encourages safer driving through an incenitivizing leaderboard. We start off with a mobile app that runs on your phone that returns a dash cam photo to our server during your drive where we run object recognition on the photos, calculate the distance between the user car and the car it is following. Driver scores are generated with the vehicle speed, speed limit, and follow distance. These scores are stored in a Redis database which then allows users to view their scores and a leaderboard.
List the key features of your project.
- Mobil app that connects with our servers and webpage
- Backend with 2 servers running preprocessing, computing, our DBs, and hosting our webpage
- Webpage that displays current leaderboard with driving scores
- Go to the webpage and create an account!
- Download our APK off of this GitHub and install it on your iphone.
Here are some photos of our frontend
Overall we used Python, Java, and Golang, but here is an exhaustive list of our the technologies we used:
- Android Studio using Java and XML with libraries: Google Map's API, Camera2 API, OKHTTP to send POST/GET Requests, and many other common helper libraries
- From the app it sends photos through a POST to our webserver which decodes the image and runs it through an image detection and distance algorithm that calculates how far the next car is in front, and using many combined versions of data including accelerometer data, current speed limit, and a few other factors calculates a safety score and adds it to the user's profile driving
- From there you can access our webpage that displays a real-time leaderboard of the users with the highest scores
We were really passionate about this project and talked about continuing it after the hackathon is over and we made a list of a few features and things we wanted to change/add in the future
- Using the backcamera to analyze the driver's focus and changing his score based off of it
- A more advanced algorithm for the score using more of the phone's sensors
- Calibration of our distance algorithm, because we had only 27 hours for this project we couldn't get everything perfect, so this would be one of the first things we will do
- Owen Brown (@owenmbrown)
- Davis Palmer (@Davis Palmer)
- Harry Wu (@Harry Wu)
- Marco Martinez (@Marco Martinez)
No License