how can i solve video input error?

조회 수: 7 (최근 30일)
ZONZON
ZONZON 2016년 11월 6일
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
Karla Yamin Abregú Palma 2022년 6월 9일
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