Read from Webcam in Simulink

4 ビュー (過去 30 日間)
Gueni Hamza
Gueni Hamza 2022 年 2 月 2 日
回答済み: Kumar Pallav 2022 年 3 月 22 日
Hi everyone, i need to read from a webcam in a simulink model , can anyone help me please.
Thanks in advance

回答 (1 件)

Kumar Pallav
Kumar Pallav 2022 年 3 月 22 日
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!

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by