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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Madhura Suresh
Madhura Suresh il 12 Giu 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 Commenti
Adrian Lim
Adrian Lim il 14 Giu 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 il 29 Giu 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.

Accedi per commentare.

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by