the code:
1.out = imaqhwinfo('HP TrueVision HD Camera');
2.device1 = out.DeviceInfo(1);
3.device1.SupportedFormats
4.vid=videoinput('HP TrueVision HD Camera',1,'YUY2_320x240');
error:
Error using imaqhwinfo
Too many input arguments.
Error in imageslider (line 1)
out = imaqhwinfo('HP TrueVision HD Camera');

답변 (1개)

LEA YEROMONAHOS-DJARIAN
LEA YEROMONAHOS-DJARIAN 2022년 10월 30일

0 개 추천

you need to install the add-on "winvideo" and then write :
out = imaqhwinfo("winvideo")
then you search for the compatibles formats :
out.DeviceInfo.SupportedFormats
and finally you can write :
vid = videoinput('winvideo','HP truevision hd camera','YUY2_320x240');

카테고리

도움말 센터 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

태그

질문:

2021년 10월 8일

답변:

2022년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by