Analyzing Traffic Using a Webcam, a Raspberry Pi and ThingSpeak

Develop a traffic monitoring algorithm and analyze traffic data sent to ThingSpeak
5K Downloads
Updated 5 Jan 2018

View License

In this IoT project, we use a Raspberry Pi, a web cam and ThingSpeak to analyze traffic on a busy highway. With Simulink we design and deploy a traffic monitoring algorithm to the Raspberry Pi, and we analyze and visualize the traffic patterns using ThingSpeak, an IoT analytics platform, and MATLAB. This article features channel 38629 on ThingSpeak.
For more information about ThingSpeak, see https://www.mathworks.com/products/thingspeak.html

Cite As

MathWorks Internet of Things Team (2024). Analyzing Traffic Using a Webcam, a Raspberry Pi and ThingSpeak (https://www.mathworks.com/matlabcentral/fileexchange/52456-analyzing-traffic-using-a-webcam-a-raspberry-pi-and-thingspeak), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities
More Files in the  ThingSpeak Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Updated traffic monitoring algorithm and added Simulink model to the submission.

1.1.0.1

Updated license
Updated description.

1.1.0.0

Initial release.