How to take a snapshot from webcam using Simulink
1 次查看(过去 30 天)
显示 更早的评论
I am trying to Take a snapshot from a webcam in Simulink to use as part of a control system. I am currently using the "from Video Device" block. I can get a live video however I only want to take a snapshot (single photo) every 30 seconds.
How is this done?
0 个评论
回答(1 个)
Nick Choi
2017-10-6
There is another MATLAB Answers thread that could be helpful for this application: https://www.mathworks.com/matlabcentral/answers/46375-how-can-i-get-a-single-frame-from-a-simulink-live-video-input?s_tid=answers_rc1-3_p3_MLT
Additionally, you could try using an 'Enabled Subsystem' block if you do not want a triggered subsystem. The following documentation link provides additional information on how to use the 'Enabled Subsystem' block:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!