MATLAB R2018a has stopped working when I try to bring live images from a webcam into Matlab
1 回表示 (過去 30 日間)
古いコメントを表示
I need your help to find a solution. I am using 'MATLAB R2018a - academic use'. When I try to bring live images from a (laptop built-in) webcam into Matlab, it stops when I run the following code line, in the Matlab command window. Can you please help to find and solve the problem?
cam1 = webcam('HD WebCam')
cam1 =
webcam with properties:
Name: 'HD WebCam'
AvailableResolutions: {'640x480' '160x120' '176x144' '320x240' '352x288' '1280x720'}
Resolution: '640x480'
Here is the message I get before the Matlab stops.
MATLAB R2018a has stopped working: There is a problem, therefore, the program has stopped working properly. Windows will close this program and indicate if a solution is available.
Can you please help?
2 件のコメント
Walter Roberson
2019 年 4 月 13 日
Does MATLAB produce a crash log?
Question: did you install the Image Acquisition Toolbox Support Package for OS Generic Video Interface ?
Note that built-in cameras are not the same as webcam: webcam are handled by MATLAB Support Package for USB Webcams . It might turn out that you need to install that.
回答 (1 件)
Image Analyst
2019 年 4 月 13 日
It's most likely a hardware issue.
See the FAQ: FAQ
2 件のコメント
Image Analyst
2019 年 4 月 14 日
The explanation is that none of use are going to set up a webex session with you to drive your computer, nor spend time to research anything we find. We cannot talk to the webcam developers at the company because we don't know who they are. BUT if you do a webex session with the tech support, they CAN do that. They know who the developers are and can actually talk to them and together they can try to figure out your problem. We are just users like you and cannot do that. I know that I just basically repeated what is in the FAQ so you may not explain this comment either, so call tech support and ask them to explain it to you.
参考
カテゴリ
Help Center および 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!