If you live in a bustling city and have anyone over who drives, it can be difficult for them to find parking. Maybe you have an assigned space, but they’re resigned to circling the block with an eagle eye. With those friends in mind, [Adam Geitgey] wrote a Python script that takes the video feed from a web cam and analyzes it frame by frame to figure out when a street parking space opens up. When the glorious moment arrives, he gets a text message via Twilio with a picture of the void.
It sounds complicated, but much of the work has already been done. Cars are a popular target for machine learning, so large data sets with cars already exist. [Adam] didn’t have to train a neural network, either–he found a pre-trained Mask R-CNN model with data for 80 common objects like people, animals, and cars.
The model gives a lot of useful info, including a bounding box for each car with pixel coordinates. Since the boxes overlap, there needs be a way to determine whether there’s really a car in the space, or just the bumpers of other cars. [Adam] used intersection over union to do this, which is conveniently available as a function of the Mask R-CNN model’s library. The function returns a score, so it was just a matter of ignoring low-scoring bounding boxes.
[Adam] purposely made the script adaptable. A few changes here and there, and you could be picking up tennis balls with a robotic collector or analyzing human migration patterns on your block in no time. Or change it up and detect all the cars that run the stop sign by your house.
Thanks for the tip, [foamyguy].
“sudo find me a parking space”
Oh, so that is why the sudo-ers must be added to the ‘wheel’ group!
:o)
You can still get ‘pipped to the post’ by other car drivers.
Gotta watch out for those Race conditions.
Why even bother to find a parking spot, according to this article, self driving cars do not even need it, as they can cruise around in circles to avoid parking fees or tickets.
https://news.ucsc.edu/2019/01/millardball-vehicles.html
I can see towns and cities very quickly prohibiting this in the name of traffic flow
Already illegal in Norway as it falls under our anti-idling law.
I think you misunderstand the idea. Does your anti-idling law prohibit driving away and coming back again when your friend calls you?
It’s amazing how much of an investment in time, energy, and resources in shuffling bags of meat about from point A to B, instead of trying to keep it at point A.
Municipalities could hook this up to their street cams and you could check into a service looking for spaces once you cross into a geofence for your destination.
The trouble is, if one two or more cars use the service, they’ll all converge on the same spot! Because this is America, you’d obviously start an auction for the spot and the winner would park there when it wins the spot. The city’s cam would of course pick up the license plate and debit your parking account. It would also time your car’s parking to the second and prorate the parking fee.
Or you could walk or take the bus!
Already being done! San Diego created an internal test app with great results. https://www.digitaltrends.com/cool-tech/how-3000-streetlights-turned-san-diego-into-americas-smartest-city/
there would be no auction in America. You pull out your 9 and settle it one way or other.
I’m not sure how this is useful.. cool project but I can’t wrap my head around how this would be used for the use-case described
Cameras around the city upload parking space data to the web,
Data is processed on a server.
Server spits out map of city on web with vacant parking spaces.
Driver uses mobile phone to access the web and view the map.
Drive car to parking space.
Fight to the death with other drivers trying to use the same parking space.
Hah. Maybe a little less chaotic: driver selects a parking space and it’s reserved (not shown to other users) for 5 minutes, giving the driver time to park. Concert halls do that for seat reservation – if you don’t pay within a few minutes then the seats you picked go back into the pool.
Cue people trolling and reserving every parking space in a 3 mile radius every 5 minutes and angry fights over people not giving a toss about a reservation and just parking in the spot when it becomes free.
In the big cities in Europe the mob will reserve every available parking space and sell it off at a nominal fee. I’m a hundred percent sure about that.
Love this concept that European cities are mobsterland.
Blah blah tragedy of the commons blah blah must raise prices because the plebs can’t control themselves blah blah why don’t the poor just stop being poor- 1 percenters probably.
” Fight to the death with other drivers trying to use the same parking space.”
Is that on pay-per-a-view?
Yes, I was going to add: “Upload to YouTube Live” ….. Then: “Drink beer …. Enjoy”.
Charging the actual market price for parking is far easier; if people are circling the block looking for spaces, they’re underpriced.
Found the capitalist *** with no concern for the poor.
Found the idiot who thinks the poor are the ones circling the block to find a parking space.
No, your right, its the rich ones doing that right?
I would like to see some way to encourage people to park far away and walk or bicycle to where they want to go, to spread out the parking and improve fitness.
Better urban planning.
It’s called regional cities/towns.
Screw the big cities where can’t park can’t get anywhere too many people and no personal space .
If I have stop at an intersection on my commute that’s a bad trip into work. God forbid if I have to park any further than right out the front of my office.
Very interesting, I might even get that app and I hate apps, but I hate circling for a parking spot more.
What I need someone to invent is just a simple sensor that detects when someone has exceeded X amount of time and then sounds a loud as hell alarm so they leave. I’d be willing to pay money for these sensors.