Skip to Content
Streetsblog California home
Streetsblog California home
Log In

A North End resident caught hundreds of drivers breaking the speed limit with a homemade speed camera, but also found that the majority of Boston drivers drive at speeds under 20 mph, well under the city speed limit.

Adam Balsam set up a webcam with $35 programmable Raspberry Pi mini computer and an open-source Python program that infers the speeds of moving objects from the images captured on the camera.

He then let the setup run for a week and analyzed the results, which he posted on a Twitter thread earlier this week:

https://platform.twitter.com/widgets.js

“One thing that was interesting is that people tend to drive well below our speed limit,” Balsam told Streetsblog in a phone conversation about the project on Wednesday. “The mean, median, and mode speeds were all around 18 mph… A street of this scale conveys to people that this isn’t a place to go 30 to 35 mph.

With that said, Balsam found that reckless driving was distressingly frequent.

“On average, someone was going more than 40 – over 15 mph over the speed limit – about once every 90 minutes. This is on a street where there’s a senior housing building, a daycare, a grocery store all on this block, and an elementary school not far away.”

An animated GIF shows Adam Balsam's speed camera in action, capturing the movement of a car outside of his apartment window. Courtesy of Adam Balsam.
An animated GIF shows Adam Balsam’s speed camera in action, with debugging logs on his laptop computer capturing the movement of a car outside of his apartment window. Courtesy of Adam Balsam.
false

The footage he captured also revealed that the “public” parking in front of his apartment had essentially been privatized by a small number of motor vehicle owners.

“Four of seven parked cars went totally unused over the course of the week, (and) six of seven vehicles parked on day one were still there on day six,” he wrote on Twitter.

Balsam says that the speed camera rig was inexpensive and easy to set up.

The software, written by Claude Pageau, a retired Canadian IT analyst, requires some calibration, but includes tools to produce time-lapse videos of camera footage and charts of the results.

“It took me maybe a couple hours to set up – I think if someone has a little bit of experience with (programming in) Python, it’s pretty easy to try it out, thanks to all the work (Pageau) did.”

Visit github.com/pageauc/speed-camera to view the code and the technical requirements.

Stay in touch

Sign up for our free newsletter

More from Streetsblog California

First OC Streetcar Arrives

The $649 million 4.1-mile OC Streetcar light rail line is 92 percent complete, and now anticipated to open in spring 2026

May 8, 2025

Thursday’s Headlines

California and Trump continue to spar and more news from up and down the state.

May 8, 2025

Talking Headways Podcast: ‘Normal’ is Not Correct, Someone Died Here

After a crash, the debris is quickly cleaned up and everyone moves on (usually too quickly). But these two experts are asking us to all slow down.

May 8, 2025

Metro Names Bill Scott as Chief of Police

Chief Scott and Metro leadership emphasized that keeping Metro transit safe would require a multi-faceted approach that included the deployment of officers as well as collaboration with the community, ambassadors, and service providers. "Sometimes enforcement is the answer," Scott said. "Sometimes it's not."

May 7, 2025

State Supreme Court Reinforces Rules that Cities Must Maintain Safe Roads

When Ty Whitehead was injured in a crash caused by a pothole in Oakland, it sparked an eight-year legal battle that is still being waged.

May 7, 2025
See all posts