Comment by mavamaarten

1 year ago

I live next to a school, so there's a low speed limit (30 km/h). Still, people drive like race drivers and the city hasn't ever responded to the residents' hopes of introducing a speed camera.

I wanted to have some data on how many people speed, the max speed recorded, that sort of thing. Things the city should be doing after many complaints of dangerous driving and people being almost killed on zebra crossings.

I have a doorbell camera, and by analysing the footage using OpenCV and some code, I can track how fast people drive if you see how fast they move between two known points.

Average speed: 46 km/h :(

The guy at Not Just Bikes will tell you that enforcement will never work nor happen and that the only way to get people to slow down is to design the road so it doesn't feel safe to drive fast.

The road next to my house has a speed limit of 20mph but most cars go 45mph because it's a straight road 4 lanes but space for 6. No bumps, no curves, wide. Effectively it feels like you should be driving fast. If I go the speed limit in the center lane because I'm going to turn left people will get angry and speed around at 60mph pissed off

  • Agree, but also disagree.

    Our neighboring town has a beautiful system in place. It tracks your average speed over +- 100m. If you speeded, you get a fine and even better: the light always turns red and you have to wait for a minute. If you run that red light, you get another (heftier) fine. If you drive normally, the light is always green.

    It's beautiful. People actually drive slowly and safely there. And good, because that system is installed perfectly around the school and doesn't hinder anyone else. If they did this anywhere else you'd argue it's a moneygrab, but this is imo a great way to actually get people to drive slow in a school zone.

    In contrast the only thing our town has done is install a bunch of big concrete flower boxes (?) that hinder your vision and causes conflicts on the road. The idea being that you'd have to slow down and that you're no longer on a straight wide road. It's absolutely only made things worse. You need to give way to others but you literally can't see them, or you need to pull weird manoeuvers to let them pass. And in the meantime cyclists need to swerve around them or are hidden behind those boxes. It's terrible.

    • Sounds great! Now if I could just get that installed in 100% of California

      ATM we basically have lawless highways in California. Every time I go out I see outrageous traffic violations. People driving 15-20 mph over the speed limit on the freeway, weaving in and out of the carpool lane. People pulling into the left turn lane at a signal, then just crossing on a red light as soon as they think it's safe. People passing in the gutter (no lane). People cutting across 3-4 lanes of the freeway at ~70mph, across the painted barrier to exit a freeway.

      I'd say the average of these incidences I see is 3 per drive and that doesn't include just you average weaver or tailgater. In other words, I take my car out for a 10-15 minute drive, (so 20-30 mins round trip) and see someone do something outrageous endangering other people's lives 3 times per drive on average.

      2 replies →

    • >Our neighboring town has a beautiful system in place. It tracks your average speed over +- 100m. If you speeded, you get a fine and even better: the light always turns red and you have to wait for a minute. If you run that red light, you get another (heftier) fine. If you drive normally, the light is always green.

      I have never seen a system like that. What town? Or what system?

      1 reply →

    • Is it really a beautiful system if it involves adding and maintaining a completely unnecessary traffic light? That isn’t free and costs tens or hundreds of thousands of dollars over its lifetime.

      I’m not saying it’s not worth it, even 1 life saved would make it worth it, but it’s not beautiful.

  • Speed bumps are a crazy invention because they tell you what humanity is like. Let's make this road worse for driving because many drivers don't care about safety but do care about damaging their cars. I am reminded of this every time I see a speed bump.

  • >The guy at Not Just Bikes will tell you that enforcement will never work nor happen and that the only way to get people to slow down is to design the road so it doesn't feel safe to drive fast.

    This makes sense. Though annoying to drive over, speed bumps work. Also, my parents small town converted their main street from a four lane to a slalom-style two-lane and it so much nicer to walk around because people have to drive slowly. Not quite car-free, which I'd prefer, but it's a decent compromise.

  • Just out of curiousity, do you signal that you are going to turn left when you slow down compared to the average of the other drivers?

    • I don’t know about this person’s experience, but there are an overwhelming number of drivers here that don’t notice signals. I can be in the right lane (two lanes in both directions), signal a right turn, slow to turn and they’ll still ride right up on me and look pissed rather than go around.

      6 replies →

  • Yeah, unfortunately this is true. A street near my house has a limit of 40mph and people would regularly drive 60 mph+, sometimes someone would pass me doing 65+mph (it's a no-passing residential road).

    Eventually someone died, and they added a lot of traffic-calming changes to the road. It's much nicer now, but a shame that someone had to die to change it.

  • I remember in Europe saw a lot of roads constructed that way to prevent fast driving, e.g. lots of small roundabouts. It works pretty well.

  • Sounds like it's an issue with the speed limit.

    • I don't think that's necessarily true if it's a street also being used by cyclists, crossed by pedestrians, etc.

On my street they installed one of those 'current speed' radar displays to let people know they are speeding.

I've never thought they worked really, but this is a new one. It has very prominent red and blue flashing lights that trigger if you are 5+ over. I've seen countless people slow down immediately, it's that jarring/terrifying

  • the side effect is bikers like me will pedal as hard as possible in hopes we can get that light to flash

    • I assume you are talking about cyclists. So in this case i guess it's not a biggie as they are moving the mass of no more than 20kg compared to 2000kg when driving a car. (from safety perspective)

  • That's because a lot of those people think it's a "speeding ticket" camera flashing at them.

Is that legal in your country? In mine (Netherlands) there are way too many people with doorbell camera aimed right at the street even though it's illegal to record a public space like that. Most folks are ignorant about it though, or think that surely the internet-connected gadget sold by some anonymous corporation won't be abused....

  • It's not legal where I live (Belgium), it can be legal if you have a driveway and only film your driveway, and if you declare that camera in some database. But since I don't have a driveway, it films the street, I am aware that this is not legal.

    It's my personal decision and if I ever get fined for it, I will gladly pay the fine... with the money that my doorbell camera has already saved me. It helped me catch hit&runners that bumped into my parked car twice already, and the camera is now almost two years old.

    It's not connected to the cloud, saves data locally, and only stores a couple of days of video. It's not very ethical to unknowingly film public spaces, I know. My lame excuse is that I personally think that catching people that damage my property with a camera is a lesser crime than damaging someone's property and running away. The sad truth is that living in a place where parents drop off and pick up their kids twice a day do not give two shits about others. Hit and runs happen every day here.

  • For private use you can film in public places in the Netherlands no?

    • GDPR says no. Also, when you are using a cloud service it is no longer private use, you are sharing the surveillance video with Amazon (and almost certainly with the USA three-letter agencies) too.

      1 reply →

    • It is the "systemic/constant/permanent" recording, record-keeping. etc. a.k.a. "processing" (GDPR "processing" means "if it exists and you touch it, your are processing it").

      Back in 2005 I remember working with some physical sec company that were setting up cameras in a factory, and they wanted the cameras to 'not record traffic, be activated on if THIS part of the screen has motion')(sidewalk vs sidewalk-right-on-our-doorbell vs road). Also, sudden changes in lighting would trigger it :)

      Then you need to have retention period (good luck). Most people use those door-cams are violating GDPR. UNLESS when people complain and take you to court (very very very rare), you can prove that "I auto-delete records after 24h when there is no incident", "I have proximity scanner so it is only 0m-2m from my front door", etc.) (violating GDPR because "hey you pervert why do you record my kids EVERY DAY going in and out")

      Privacy and Data protection is very very very difficult with GDPR (and thank you Facebook for messing up back in 2015ish!!!)

      You can set up your cam but have the "AI" automatically pixelating all license-plates, and the video recording (if any) should be post-pixelating, and not the original feed. How about you put something with a speed-measuring-sensor (that is NOT a camera), so you only get 'anonymised' data, i.e. "20 moving items", and their speeds. But you will not be able to tell if the 300km/h was done by a bicycle or a Hayabusa ;)

      1 reply →

This is very interesting. I had the same need a few weeks ago, which resulted in a tiny Golang/OpenCV project (https://github.com/kmmndr/motion-speed). In my use case, we even had champions beating 60 km/h, three times allowed speed

  • It's always interesting when you find out others are doing some obscure idea. Last year I was scraping supermarket data from a small country and I ended up setting up a discord with a half dozen of us sharing tips.

Not sure where you are, but 30kmh sounds Dutch. Filming the public road from your private residence is illegal.

In practice, no one cares. Cops will even ask you nicely for footage if something went down in your street.

Anyway, best of luck with your project.

  • It's a complex discussion in the Netherlands in which the data protection agency (AP) has a very strict view (they claim it's not allowed) while for example the associated press sees it very different.

    There is a key difference between recording vs publishing. There are more restrictions on publishing and an objective assessment needs to be made between the interests of the person in the footage and the general public or publisher.

    I would argue that recording the road to collect speed data, not keeping the recording longer than needed and not for example recording license plates, would pass in the Netherlands. Since you're making an assessment between different interests and the is limited privacy impact. Of course assuming this is happening on a public road and not someone's property.

    Publishing the recordings instead of just the average speed data would be a very different story, especially if the cars or drivers can be identified.

  • I'd think that as long as you blur faces and license tags, would be there anything for someone to complain?

What about placing a fake speed camera? It might just get the job done

  • What about just faking speed limit signs? If it's in The Netherlands, everybody should respect traffic signs, whether they are fake or not.

I'm starting to think about a similar thing for noise. The noise of motor vehicles seems to be out of control and I am sure it is causing misery for the majority of the population who have to live near roads. I reckon a single loud motorcycle could disturb tens of thousands of people, potentially waking or startling them, raising blood pressure etc. in a single 10 minute trip. Unfortunately I think awareness of this problem is even worse than speed.

  • I think main problem is that half of adult men population is actually into those noisy/auto-moto sports. Even if they don't own one, they like and admire this silently and believe it's harmless nuisance. Add to it few friends that already do it ... and they're cool...

    I live in EU city center. Stupid noisy speeders are bane of my existence. Both noise and safety (for biker and pedestrian) ... In some circles even raising this topic makes you whining leftist crybaby.

  • I used to live in a neighborhood about a quarter mile from a highway, nearly perfectly flat land, speed limit I believe was 45 or 55.

    Most days the road noise itself was no big deal, if the wind blew it was gone, if you listened for it you could hear a whooshing/droning in the distance.

    But all it took was one loud motorcycle or old car/truck to really ruin your peace for a solid 3 to 5 minutes, being able to hear it on approach, and it went by, and exit. And it wasn't that rare to get them back to back, seeing as it's a 4 lane highway with a decent flow of traffic.

    It wasn't really until then I realized how a single vehicle could cause so much annoyance for so many people.

  • > I reckon a single loud motorcycle could disturb tens of thousands of people, potentially waking or startling them, raising blood pressure etc. in a single 10 minute trip.

    What absolutely grinds my gears is when a loud motorcycle or sports car drives through my residential neighborhood right after patiently rocking my baby to sleep.

    Interestingly, as a motorcycle and sports car owner myself, I never thought about that aspect for even a second until I became a dad—I drive much more gently nowadays (especially in residential neighborhoods)!

    • > Interestingly, as a motorcycle and sports car owner myself, I never thought about that aspect for even a second

      Right, because the car's cabin and motorcycle helmet protect the driver/rider from it. The noise they create are specifically designed to be heard by everyone but the operator. It's like me sitting in my back garden wearing earplugs, while blasting music out the front into the street.

i think part of the problem is 30mph/48kmph doesnt feel fast - and to get people to drive slower manufacturers need to design cars so 20mph/32kmph feels faster

  • There is another way: make the road feel fast. Thankfully it doesn't need to be via bad road surfaces or horrible things like speed bumps that only encourage boy racers and reward large vehicles, making the road narrower with high kerbs or other physical obstacles force drivers to drive slowly and pay attention, otherwise they'll physically damage their vehicle. In a way it evens the playing field, currently cars can kill you, but they are untouchable, there are no consequences for speeding or being distracted. The main downside I can think of is the route becomes difficult for emergency vehicles to use, but with the saved space there could be a dedicated lane for public vehicles.

    • They did try this approach. There's big concrete flower boxes in many places to create some artificial hindrances. It hinders your vision, causes people to swerve, it's annoying to give way. And worst of all: it slows people down for 2 seconds after which they just floor it.

      Honestly it's already pretty narrow and crowded here. I'm a regular driver here (duh) and it honestly feels dumb to drive faster than 30 because a cyclist can pop out of every corner. It's crazy to me that people want to, and do drive faster than that. But here we are. People suck.

  • Ironically, the lower you are to the ground, the faster it feels - everyone should drive a sports car!

    (conversely, I drive a motorcycle sometimes which puts my head at or just over roof height of most cars, it makes 80 km/h not feel as fast. Mind you, the added road overview also helps)

    Anyway. Narrow / winding roads and speed bumps will definitely make you want to drive slower. We have 'cars are guests' roads inside cities too, which are roads designed and coloured like bike paths (= red asphalt).

    But the opposite is also true; I got a speeding ticket once, the road was a 4 lane, separated directions asphalt ring road... but the speed limit was 50 km/h.

you could install some vigilante speed bumps maybe

Has anyone been hit by a car there ever?

I think people used to use science to set speed limits.

  • They did, 30 km/h is a lot safer than higher speeds. You seem to imply someone has to be hit by a car before enforcing the speed limit, am I correct?

I'd rather put up with the speeding than aasking for the government to intervene.

  • The speeding itself isn't the problem. The increased risk of accidents is - and since this is around a school, it involves young children.

    "I'd rather put up with the speeding" implies you don't have kids and you only consider the noise nuisance, not the safety risk. Very self-centered.

  • Government is already intervening, you think people are going at only 46 kmh because of goodwill?

  • Said someone living in a comfortable country with a stable government.

    You can’t seriously believe this right?

    • There is optimum level of state intervention. IMO monitoring people with cameras for speeding is a step too far.

      I bet you are the same type of person who values software privacy haha

      6 replies →

  • Do you think the government does not track your car already?

    Much easier to lecture private citizens about privacy than the government ha.