image capture

1 visualización (últimos 30 días)
Anand Abhishek Singh
Anand Abhishek Singh el 2 de Mzo. de 2011
1. f=videoinput('winvideo',1); >> frame = getsnapshot(f); >> imshow(frame);
this code capture image from webcam.the on time of webcam is very small.how to increase the duration of webcam.
  1 comentario
Mark Jones
Mark Jones el 2 de Mzo. de 2011
Hi Anand,
I'd like to see if I can help you. Can you clarify your question?
Also, have you looked through the examples in the documentation?
http://www.mathworks.com/help/toolbox/imaq/exampleindex.html
Are any of them helpful?
Mark

Iniciar sesión para comentar.

Respuestas (1)

matar maoz
matar maoz el 2 de Mzo. de 2011
you can try wait()
another thint you can do is to put a trigger, like : k=waitforbuttonpress
if you dont need the code to be in one part' you can seperate 'getsnapshot' from the rest of your code by double precent %%
Matar

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by