There’s a stop sign outside [Devin Gaffney]’s house that, apparently, no one actually stops at. In order to avoid the traffic and delays on a major thoroughfare, cars take the road behind [Devin Gaffney]’s house, but he noticed a lot of cars didn’t bother to stop at the stop sign. He had a Raspberry Pi and a camera, so he set them up to detect the violating cars.
His setup is pretty standard – Raspberry Pi and camera pointed outside at the intersection. He’s running OpenCV and using machine learning to detect the cars and determine if they have run the stop sign or not. His website has some nice charts showing when the violations occurred by hour and by day of the week. Also on the site are links that you can use to help train the system in noticing cars, cars that run the stop sign, determining if there’s enough of the video to determine if there’s a violation, and whether or not there’s a car going the wrong way through the intersection.
This is an interesting use of the Pi and OpenCV; there’s no guarantee that this will help the people of [Devin Gaffney]’s neighborhood, but hopefully gives them some ammunition (assuming they want something done about the intersection.) It’s a cheap and easy setup and it’s nice to let the community have a hand in training the system. For more OpenCV, check out this article on taking the perfect jump shot or this one which tries to quantify cloudiness. Cool stuff.
[via reddit]
Is there a button for, “accident at intersection”?
Did you see one in one of the GIFs?
Just for fun put up a lift gate that waits three seconds then lets people thru the intersection.
But really tiny and it doesn’t actually block traffic. just a purely symbolic one
Holographic gates!
More squirrels!
VVS
+1
my thought exactly, thanks for mentioning.
When does the hurting stop!?!?
Haha. VVS apparently is an acronym for many many things, and your comment works on so many levels.
In my defense, I never thought anyone would ever see this
Or just motion and help its new version development:
https://github.com/Motion-Project/motion
If I recall correctly, I actually checked out motion but the framerate wasn’t fast enough with my particular Pi/Camera combo (I got the camera from a computer retail store in town rather than wait for a RPi camera to come in through the mail)
Would be nice if there could be collaboration with the local police, and then some way to get ANPR data from the violations. (a new camera would be required perhaps with some more zoom and then it could be located at the same place).
Then feeded into a automatic ticketing system that tickets every driver that violates the stop sign. (by sending it home to the mailbox).
The evidence is there, its just that the local police needs to provide some API for uploading the evidence and also auto-ticket the driver.
I don’t know the english words but that sounds like you are a Denunziant, Blockwart or other Nazi type person. I am lucky, only the police has the right to do this.
You may not agree with the comment but comparing the poster to a Nazi?!? You should be ashamed posting that kind of tasteless attack.
+1 Orwell would never have guessed that hackers would become Big Brother. I like the OCV application. But putting on the line makes it so,…so,…Orwellian.
You know, if someone has to be big brother, why not get a jump on it now and make sure the politicians and corporations don’t get there first.
Okay, so where do we draw the line??? Would you think differently if your wife and children were taken from you by some fool who thinks that he’s too important to follow the law and stop at a simple traffic control? Or what about when your young daughter is being gang-raped by the group of kids down the street at the park? Would it be okay to “citizen police” then? Where is the line, huh?
I’d want to see the intersection before making any judgements. I know of a few really stupid stop signs in my area. One of them I don’t even slow down for anymore. Before y’all jump on me, just look at it: http://imgur.com/a/rVXEE
I just looked and agree that the stop sign should be there.
Every stop street should have a speed bump.
Quick and simple.
It only punishes those that endanger others lives.
Massachusetts probably. :P
And those of us with bad backs (my dad) or us with low clearance vehicles like scooters/motorcycles (myself, working on the bad back part, not there quite yet)
Then you should either change shocks (unlikely) or realize that one, driving at the right velocity, will not have a problem with the bump. That’s assuming that the bumps are designed correctly however that isn’t exactly rocket science…
most speed bumps suck even if you go very slowly over them… hopefully they would choose the right tyoe
And those with really cool cars, like McLaren and Koenigsegg. And why would you want to pay for good roads, then pay more for someone to put bumps in them? Letting scofflaws control your behavior is not a rational solution.
Speed bumps are really bad for emergency vehicles, especially ambulances. That’s why they’re not everywhere.
True, but on the other hand, if you run an car repair shop you’ll be happy with the extra business of worn out shock breakers and bumper damage.
Noone should run a stop street. Not even emergency vehicles. It’s playing Russian roulette with other people’s lives.
How dare he try and use technology to deter/punish drivers who put themselves and others at risk ! Why anyone with an inkling of common sense will tell you that the only video that’s acceptable for law enforcement are bank teller videos and convenience store clerk videos !! – anything else is “we can’t cross examine the witness” (the camera).
If we put video cameras up in my home state that auto-ticket for speed violations (ie. 80 in a 65 mph zone), we could close the budget gap *overnight* ! (with the “voluntary contributions” that drivers would be making – voluntary in the sense, they choose to contribute by disregarding traffic laws).
Now, red-light cameras were a good idea/corrupt implementation – since evidently the yellow time was in the order of 2 seconds. Those scandals gave the industry a bad rep, and when we’re inundated with the majority of drivers who don’t give a crap about traffic laws, it’s a losing proposition.
What would be great if we could have ‘citizen traffic police’, certified observers/cameras that could capture violators in the act and issue violations with police cooperation, and a “bounty”/financial incentive given.
Now that would be a bad thing indeed. The last thing anyone needs are more busybodies trying to control their neighbors!
What ever happened to people minding their own business?
+1
Not a fan of Cameras in the hand of goverment for any reason. A buddy of mine in El Paso has a picture of him going though a red light that the city made him pay. Only one problem with it though, you can also see the officers waving him and others though the red light X-). City didnt care though, they still made him pay it.
Detecting cloudiness is easy – just build a neural network and train it to detect tanks.
LOL
Hey Hackaday! Thanks for all the nice comments (one person even suggested a fix for some copy on the project site)!
I need something like this but that will log speed so I can send it to the cops, not to bust anyone but to convince them to put in speed bumps or at least the alert signs that tell you how fast you’re going vs the speed limit. I live on a nice twisty road with a 35 mph speed limit, but since it’s really fun at about 60 lots of people bomb up and down my street… Problem is there’s a lot of driveways in the curves, such that if you’re going more than 35 it becomes a problem for people getting out of their driveways (I’ve almost been hit several times)
I’d love to see a version of this that could recognize drivers using cell phones (which is illegal where I live) and snapshot the license plate as well.
Why did they put the black sign directly in front of the stop sign? Maybe solve that problem first.