how can i solve video input error?

15 vues (au cours des 30 derniers jours)
ZONZON
ZONZON le 6 Nov 2016
Hello
I have a problem about the video input program which introduced at the link below.
When I executed this example program, the error occurred.
The error is
error: videoinput (line 324)
The FORMAT specified is not supported by this device. See IMAQHWINFO(ADAPTORNAME).
error: demoimaq_LaserTracking (line 51)
vid = videoinput('winvideo', 1, 'RGB24_320x240');
How can I solve it?
I tried below;
・checked "Image Processing Toolbox™" & "Image Acquisition Toolbox™" installation
・installed some hardware support packages "Image Acquisition Toolbox Support Package for OS Generic Video Interface" & "MATLAB Support Package for USB Webcams"

Réponses (1)

Walter Roberson
Walter Roberson le 6 Nov 2016
Your camera does not support 320×240 in 24 bit rgb.
What is the output of
imaqhwinfo('winvideo')
  1 commentaire
Karla Yamin Abregú Palma
Karla Yamin Abregú Palma le 9 Juin 2022
I have the same problem
imaqhwinfo('winvideo'):
AdaptorDllVersion: '6.4 (R2021a)'
AdaptorName: 'winvideo'
DeviceIDs: {[1]}
DeviceInfo: [1×1 struct]

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by