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
Ashmil Mohammed 2015년 7월 8일

0 개 추천

You may use the pause() function after the start(vid) statement.

댓글 수: 2

Akif Harun BATUR
Akif Harun BATUR 2015년 7월 8일
편집: Akif Harun BATUR 2015년 7월 8일
But is there a way to put certain amount of time after turning on the camera? Because I dont wanna trigger the button myself again I want camera to do it automatcially.
do you mean that camera should be triggered on automatically after some time?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

질문:

2015년 7월 8일

댓글:

2015년 7월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by