How do i put time for camera to take a picture?
古いコメントを表示
I want to take a picture after a certain amount of time; I want the camera to get a snapshot after 10 sec I turn it on.Is there a way to do that?
vid=videoinput('winvideo');
start(vid)
I=getsnapshot(vid);
imshow(I)
stop(vid)
回答 (1 件)
Ashmil Mohammed
2015 年 7 月 8 日
0 投票
You may use the pause() function after the start(vid) statement.
2 件のコメント
Akif Harun BATUR
2015 年 7 月 8 日
編集済み: Akif Harun BATUR
2015 年 7 月 8 日
Ashmil Mohammed
2015 年 7 月 8 日
do you mean that camera should be triggered on automatically after some time?
カテゴリ
ヘルプ センター および File Exchange で MATLAB Support Package for IP Cameras についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!