DEV Community

Cover image for Busted! Create an ML-Powered Speed Trap
Rob Lauer for Blues Wireless

Posted on

Busted! Create an ML-Powered Speed Trap

One relatively positive side effect of living through a global pandemic has been filling the void with family walks.

Yep, we actually had to interact with each other.

One thing I started to notice, though, was the reckless driving on some neighborhood streets. With others in similar situations, walking around and crossing busy intersections, I thought it would be cool to stop assuming reckless driving behaviors and start measuring the frequency of speeding along some nearby roads.

So I did something about it!

I built a portable "speed trap" that uses a machine learning model from Edge Impulse to identify vehicles, a doppler radar sensor to measure speed, and a cellular module to report data to the cloud.

final speed trap deployment

Ready? View the complete tutorial over at!

Discussion (0)