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!