Problems Acquiring Images from USB Webcam
Ältere Kommentare anzeigen
I am trying to acquire images from a USB camera in Matlab2015b. Here is my code:
camera_name = 'USB 2861 Device';
camera = webcam(camera_name);
When I run these commands, Matlab creates the camera object, but it displays the error message:
The camera did not return a frame for this resolution
I tried setting camera.Resolution to one of the 11 resolutions that Matlab said were available, but the same message appeared.
I am using an OOSSXX miniature security camera model model no.osx-101-a36 connected to the StarTech USB S-Video and Composite Audio Capture Cable SVID2USB23 in Windows 7. The camera works with the Free2X Webcam Recorder, so the issue is not with the camera itself. When I try to acquire video in Matlab, I am able to create a webcam object, so Matlab recognizes the camera.
Any help with debugging this error would be greatly appreciated.
Antworten (1)
Trong Nguyen Thanh
am 17 Okt. 2017
0 Stimmen
1 Kommentar
Trong Nguyen Thanh
am 17 Okt. 2017
Type " Imaqhwinfo"
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!