Clear Filters
Clear Filters

Is it possible to live stream a video and image process to build a smart traffic light?

1 view (last 30 days)
Greetings to the community, I would like to ask that is it possible to live stream a video from a webcam and using MATLAB to image process the video and build a smart traffic light? Current stucked on streaming live videos on MATLAB and transferring data to Arduino which controls the traffic light. Hope to find an answer here. Thank you in advance. I'm new to MATLAB and hope to find helps and guidance.

Answers (1)

Madhura Suresh
Madhura Suresh on 12 Jun 2018
Hi Adrian,
Instead of using the Raspberry Pi, you can download the USB Webcams support package and use the webcam and snapshot commands to get images directly into MATLAB for processing:
See webcam.
Hope that helps,
Madhura
  2 Comments
Adrian Lim
Adrian Lim on 14 Jun 2018
When I try to download the USB Webcams support package, it states that the version is not compatible. Do you have any idea about it?
Prasanth Sunkara
Prasanth Sunkara on 29 Jun 2018
Hi Adrian,
What is the version of MATLAB you are using? Any screenshots of the error message would help as well.
Please note that this support package is functional for R2014a and beyond.
Please follow the steps mentioned in the below doc for the proper way of installing the support package.

Sign in to comment.

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!