Most active commenters
  • post_break(8)

←back to thread

Raspberry Pi Car Speed Detector

(gregtinkers.wordpress.com)
187 points mhss | 20 comments | | HN request time: 0.589s | source | bottom
1. post_break ◴[] No.11715818[source]
I need a raspberry pi that can monitor parking spots so I know if I have a spot waiting for me when I get off of work. Of course I don't know how to code so it will probably never happen.

edit: I meant parking spaces outside of my apartment.

replies(2): >>11715921 #>>11716295 #
2. mandeepj ◴[] No.11715921[source]
You at least need a drone with camera for it. You would need to implement some object recognition on the images transmitted by the drone
replies(1): >>11715935 #
3. post_break ◴[] No.11715935[source]
Wut. The parking spaces are viewable by my apartment window.
replies(2): >>11715969 #>>11716111 #
4. lightbritefight ◴[] No.11715969{3}[source]
Point a camera at the spots when unoccupied.Specify the spots exact coordinates to the camera. Set color as baseline. If the color changes by 50% or more, they are occupied. Send alert when all occupied, or when not all occupied.

Now, learn to code it.

replies(4): >>11715989 #>>11716002 #>>11717052 #>>11717274 #
5. post_break ◴[] No.11715989{4}[source]
Well I've got the raspberry pi, mjpeg, a camera that works. Just need to make the logic work. Here is what I'm stuck on. http://i.imgur.com/pIy3QNt.jpg
replies(1): >>11716553 #
6. Pxtl ◴[] No.11716002{4}[source]
The challenge, of course, is snow.
replies(1): >>11716093 #
7. khedoros ◴[] No.11716093{5}[source]
Also: clouds, nighttime, people walking across the lot, and any other color changes that aren't related to other vehicles being parked in the spots.
replies(1): >>11716345 #
8. mandeepj ◴[] No.11716111{3}[source]
Did not you said "I need a raspberry pi that can monitor parking spots so I know if I have a spot waiting for me when I get off of work."
9. lovelearning ◴[] No.11716295[source]
I'll give it a shot, if you can shoot a couple of short stable videos and images of your parking spaces and upload them somewhere.
replies(5): >>11716500 #>>11718177 #>>11719065 #>>11723864 #>>11724510 #
10. TheOtherHobbes ◴[] No.11716345{6}[source]
Plug in a webcam, and upload a photo to a server every minute or so. Or put the Pi online.

Humans are still better at parking spot recognition than $35 hardware.

Of course you'll need a camera with a time machine so you know the spot will be free when you arrive, and not just when you set out.

replies(1): >>11717015 #
11. post_break ◴[] No.11716500[source]
That would be cool, I'll get them to you in about 4 hours when I'm home.
12. cake ◴[] No.11716553{5}[source]
Or just remotely send yourself a photo of your parking lot.
13. post_break ◴[] No.11717015{7}[source]
IFTTT api to create geo fence on my route home to poll the Pi "are there spaces left?" with an email or response yes or no with a photo at the current time.
14. oh_sigh ◴[] No.11717052{4}[source]
You could also zoom in so you would be looking at a car if it is parked there, and then upload the image to the microsoft caption bot service. It's pretty good at recognizing cars already, and you can just search the result for the word "car"
15. awesomerobot ◴[] No.11717274{4}[source]
Couldn't you just get a decent security camera and uh, well... look?
16. fudged71 ◴[] No.11718177[source]
You are truly living up to your username! :)
17. post_break ◴[] No.11719065[source]
Sorry I got home late so it's too dark, I'll get you those first thing tomorrow morning.
18. post_break ◴[] No.11723864[source]
I don't know how to send PM's. Here is a short video of the three spots. https://www.dropbox.com/s/w0q6frn9bxufy8m/2016-05-18%2011.34...
replies(1): >>11724487 #
19. lovelearning ◴[] No.11724487{3}[source]
Great! I had a look, and already have some ideas I'll try out.

If possible, I think it'll be be helpful if you can shoot a second video or image with all 3 spots empty. I'll probably need it because I plan to use the curb's edges and surface colors of the slots.

Just to confirm, are these videos shot from the same spot where you'll eventually fix your camera?

20. post_break ◴[] No.11724510[source]
Can you find me on twitter so I can PM you easier? Same username. I can get you way more data if you want. I need to bust out the raspberry pi so I can get you actual video from the camera I'm going to use.