Some last minute notes: we were having issues recording voiceover for the demo, but first you can see some sample video footage of a parking lot where someone is backing out. We analyzed the video with YOLO to get live information about what spots were filled. There is currently a small bug with duplicate car models, but this is not present in the birds-eye view and will be an easy fix after the hackathon.

Then, at the end, you can see a quick still image of a birds-eye view of a parking lot, with the available spots highlighted. Car models are drawn on top of spots that are full. This will be the typical view that someone might want to glance at when they are looking for parking spots in their current lot.

Inspiration

Parking on campus is...difficult. You'll often find yourself driving up and down every single row of a lot, scanning left and right, hoping to catch an empty spot. What if there was an easier way? What if you could see what spots were available at a glance, so that you can stay safe and park as close to the destination as possible, especially in the evening?

What it does

Middlelane uses a camera placed in a strategically high location near a parking lot and a computer vision model to obtain parking data and generate a birds-eye view for a given lot.

How we built it

The computer vision is done with YOLO. The web demo is built with Flask, and uses Three.JS for the rendering.

Challenges we ran into

We ran into a fair bit of import troubles with the JS libraries, but those were resolved eventually. We also initially had identification issues with our parking lot photos, but that was fixed by using a larger dataset.

Accomplishments that we're proud of

Getting a live transfer of data between the computer vision model and the front-end renderer using sockets.

What we learned

YOLO, Flask, Three.JS

What's next for Middlelane

The next big step for this project is setting up a semi-permanent camera over a test parking lot and streaming the data to our server on demand. Then, we can modify the app to use GPS location to show the user a convenient, birds-eye view for the parking lot they are currently entering.

Additionally, since we generate a 3D model based on the parking data, we should be able to offer the user more than just the birds-eye perspective if they would prefer to view it from another direction or angle.

Built With

Share this project:

Updates