how can i solve video input error?

7 views (last 30 days)
ZONZON
ZONZON on 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"

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!