필터 지우기
필터 지우기

How do i put time for camera to take a picture?

조회 수: 2 (최근 30일)
Akif Harun BATUR
Akif Harun BATUR 2015년 7월 8일
댓글: Ashmil Mohammed 2015년 7월 8일
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일
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.
Ashmil Mohammed
Ashmil Mohammed 2015년 7월 8일
do you mean that camera should be triggered on automatically after some time?

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

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by