how can i solve video input error?

2 次查看(过去 30 天)
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"

回答(1 个)

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

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by