Read from Webcam in Simulink

2 visualizaciones (últimos 30 días)
Gueni Hamza
Gueni Hamza el 2 de Feb. de 2022
Editada: Cris LaPierre el 29 de Jun. de 2023
Hi everyone, i need to read from a webcam in a simulink model , can anyone help me please.
Thanks in advance

Respuestas (2)

Kumar Pallav
Kumar Pallav el 22 de Mzo. de 2022
Hello,
For R2020a and earlier, refer to this workflow documentation for a step-by-step guide to integrating a USB camera into your model using the USB camera blocks, "From USB Video Device" and "USB Video Device List":
For R2020b and later, connect the USB webcam to the development PC and stream the data to the target machine using the Simulink Real-Time UDP blocks, "UDP Send" and "UDP Receive". To learn more, please refer to the following documentation links:
Hope this helps!

Cris LaPierre
Cris LaPierre el 29 de Jun. de 2023
Editada: Cris LaPierre el 29 de Jun. de 2023
Use the From Video Device block, which requires the Image Acquisition Toolbox.
You will need to install the Image Acquisition Toolbox Support Package for OS Generic Video Interface using the Add-Ons explorer in order to connect to your webcam.

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by