フィルターのクリア

How can I get my webcam connected with Surface Pro 4?

1 回表示 (過去 30 日間)
Evan L
Evan L 2016 年 2 月 13 日
コメント済み: Jessin Fleischmann 2016 年 5 月 16 日
I cannot capture an image with my webcam in MATLAB. I installed the USB Webcam toolbox. I am only using one line of code:
cam = webcam
And the command box says:
cam =
webcam with properties:
Name: 'Microsoft Camera Rear'
Resolution: '1920x1080'
AvailableResolutions: {1x14 cell}
FocusMode: 'auto'
Hue: 0
ExposureMode: 'auto'
Brightness: 0
Zoom: 1
WhiteBalanceMode: 'auto'
Contrast: 0
WhiteBalance: 6500
Exposure: -5
Saturation: 0
Focus: 100
BacklightCompensation: 0
Error reading the frame size.
Error reading the frame size.
So the camera is detectable but there comes an error when creating the webcam object. This causes more errors when using the snapshot() function.
  4 件のコメント
Star Strider
Star Strider 2016 年 2 月 13 日
I should have clarified. There are several ways of getting the Webcam Support Package, the preferred one being to do it through your existing (and open) version of MATLAB. I may be underestimating it, but I’m not certain how robust the installer is at detecting the correct MATLAB version and platform otherwise.
Jessin Fleischmann
Jessin Fleischmann 2016 年 5 月 16 日
Is there a solution now?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by