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].
How often do you see problems that need fixing? How often do you design your own solutions to them — even if they won’t be implemented at scale? Seeing that many of the municipal parking lots in his native Sri Lanka use a paper ticketing system which is prone to failure, [Shazin Sadakath] whipped up his own solution: an efficient RFID tag logging system.
Continue reading “Faulty Parking Meter Tracking System? RFID To The Rescue!”
We’re never really sure what to call these things. When we say “back up camera” it sounds distinctly like a redundancy system for when the primary camera fails to work. But it is used for when you move in reverse in an automobile. [Jeremy Blythe] built the distance sensing video system using a Raspberry Pi board as the brain.
The flexibility of Linux and the power of the RPi board ended up making it pretty easy to get everything working together. He’s using a Microsoft Lifecam Cinema HD camera, which connects to one of the USB ports on the board. Just above that you can see the infrared distance sensor which is connected to the RPi’s GPIO header using one of Adafruit’s Pi Cobbler breakout boards. This also facilitates the connection to the 176×220 color LCD screen.
In the video after the break you can see [Jeremy] testing out the system by moving his hand in front of the sensor. Python is used to grab the image from the camera, draw a circle on it, and overlay the distance in centimeters at the bottom. Once his hand is within 30cm the overlay turns red and the work STOP is displayed. Pretty neat!
Continue reading “Building A Vehicle Parking Camera”
The live Adafruit Show and Tell stream from last weekend featured this project put together by [Silent Jeff]. He’s called “Silent” because when it came time to present his project on the show his microphone wasn’t working. As you can see in the video after the break, [PT] and [Ladyada] worked together to explain the project (of which they had no prior knowledge) using a game of charades. This is one of the follow-up images he sent them which details his parking spotter project.
[Ladyada] compliments [Jeff] on the finished look of the device and we agree. Not only does this do a great job of letting a driver know if they have pulled far enough into the garage, but it’s finished appearance ensures it won’t ever look out-of-place. The two silver discs near the lower end of the box are the sensors of an ultrasonic rangefinder. You mount this box so that the sensor is measuring distance between itself and the bumper of your vehicle. As the distance decreases the LEDs change to let you know when to stop. Inside the case you’ll find a voltage regulator and single-chip running the Arduino bootloader. [Jeff] says this is just his second Arduino project and we hope that at this rate we’ll be looking for big things from him in the not too distant future!
This is basically the same idea as cars that use parking assist sensors in the bumper. It’s just attached to the building instead of to the vehicle itself.
Continue reading “Garage Parking Monitor Guides You In Every Time”
For day two of Black Hat, we sat in on on [Joe Grand], [Jacob Appelbaum], and [Chris Tarnovsky]’s study of the electronic parking meter industry. They decided to study parking meters because they are available everywhere, but rarely considered from a security perspective.
Continue reading “Black Hat 2009: Parking Meter Hacking”
It seems some enterprising individual in Grand Forks, North Dakota has been placing fake parking violations on cars. If the recipient visited the URL on the flyer, they would be told to install a toolbar to view pictures of their vehicle. That piece of malicious software would then attempt to install several more. The actual vehicle pictures were from Grand Forks, but we wouldn’t be surprised to see a similar attack happen in a much larger city.
This hack is an interesting twist that will allow you to get in or out of some parking garages when the attendant isn’t looking. Using something metal to trip the parking lot’s proximity sensor that is meant to let cars out automatically you can get into the garage or vice-versa without opening your wallet. A magnet from a hard drive might work a bit better because it is able to trip multiple types of sensors, but for this hack any kind of metal will work. This proximity sensor is a high–frequency oscillation type, so anything that attenuates, varies the frequency or stops the oscillation trips the sensor. When you can’t find a place to park, this hack will certainly impress your friends more than this method, but your street credibility could quickly turn into never lived down stories, if you end up driving over tire strips and ruining your tires, get a huge parking or trespassing ticket, or worse yet get your vehicle towed!