How to rectify this error ?

Error using imaq.internal.VideoDeviceInternal (line 298) Invalid VIDEOFORMAT 'MJPG_640x480' specified. VIDEOFORMAT must be specified as a string. The available formats on this device are {YUY2_160x120, YUY2_176x144, YUY2_320x240, YUY2_352x288, YUY2_640x480}.
Error in imaq.VideoDevice (line 270)
Error in FaceDetection (line 5) vidDevice = imaq.VideoDevice('winvideo', 1, 'MJPG_640x480','ROI',[1 1 640 480]);

1 comentario

Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 11 de Mzo. de 2014
information provided by you is not sufficient.. you should paste the entire code

Iniciar sesión para comentar.

Respuestas (1)

Anish abraham
Anish abraham el 4 de Abr. de 2014

0 votos

i think you should try 'MJPG_1280x720' instead of 'MJPG_640x480'.thank u.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Mzo. de 2014

Respondida:

el 4 de Abr. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by