Borrar filtros
Borrar filtros

Box in GUI for select your camera device

4 visualizaciones (últimos 30 días)
Carlos
Carlos el 30 de Mzo. de 2014
Comentada: Carlos el 1 de Abr. de 2014
Hello, I'm doing a program that uses the pc's camera. I'd like to know if there is an option to put in my gui some kind of box that will help the user found his camera and it appears in the code like when i do it manually:
vidPM25 = videoinput('winvideo', 1,'I420_1280x720');
But I do it in code, i want that user is able to choose it by his own. Any idea?
For be more clarify, i want that the user have the option to choose something like this:

Respuesta aceptada

Image Analyst
Image Analyst el 30 de Mzo. de 2014
You need to get the adapter first, then the available formats and present them in a listbox. Study the attached function and then adapt it to put the various device formats into a listbox.
  8 comentarios
Image Analyst
Image Analyst el 31 de Mzo. de 2014
You were supposed to call
hardwareInfo = imaqhwinfo
before that.
Carlos
Carlos el 1 de Abr. de 2014
i have already done it!
x=1
while x=0
thanks;
end

Iniciar sesión para comentar.

Más respuestas (1)

Carlos
Carlos el 30 de Mzo. de 2014
Editada: Carlos el 30 de Mzo. de 2014
I think that it is not what I'm looking. I want that, when anybody click on the first box (figure of this message), appear something like a hardware browser where there are his cameras and the possible formats, like in the image of my fist message.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by