Problems Acquiring Images from USB Webcam
古いコメントを表示
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.
回答 (1 件)
Trong Nguyen Thanh
2017 年 10 月 17 日
0 投票
1 件のコメント
Trong Nguyen Thanh
2017 年 10 月 17 日
Type " Imaqhwinfo"
カテゴリ
ヘルプ センター および File Exchange で Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!