How do i put time for camera to take a picture?
Afficher commentaires plus anciens
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)
Réponses (1)
Ashmil Mohammed
le 8 Juil 2015
0 votes
You may use the pause() function after the start(vid) statement.
2 commentaires
Akif Harun BATUR
le 8 Juil 2015
Modifié(e) : Akif Harun BATUR
le 8 Juil 2015
Ashmil Mohammed
le 8 Juil 2015
do you mean that camera should be triggered on automatically after some time?
Catégories
En savoir plus sur MATLAB Support Package for IP Cameras dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!