how can i solve video input error?
7 views (last 30 days)
Show older comments
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"
0 Comments
Answers (1)
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
on 9 Jun 2022
I have the same problem
imaqhwinfo('winvideo'):
AdaptorDllVersion: '6.4 (R2021a)'
AdaptorName: 'winvideo'
DeviceIDs: {[1]}
DeviceInfo: [1×1 struct]
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!