Matlab finds webcam, but says after running the code it is invalid

1 回表示 (過去 30 日間)
Marlene Patterer
Marlene Patterer 2021 年 5 月 1 日
コメント済み: Khalid Mahmood 2021 年 5 月 3 日
Error "The webcam object is no longer valid. Please create a new connection to the webcam."
Please help, tried everything. Very thankful for any kind of help!

採用された回答

Khalid Mahmood
Khalid Mahmood 2021 年 5 月 1 日
try these 3 commands:
1) clear all
2) imaqreset
3) Then a) cam =webcam b) preview cam
  8 件のコメント
Marlene Patterer
Marlene Patterer 2021 年 5 月 2 日
Thank you!
Sadly I can not attach the myNet1 file as the system tells me that is has more than 5 MB. Even though I compressed it into a zip file, it still is too big.
If you have any idea, how I may be able to share it with you, I would be very thankful!
By replacing the load myNet1 with myNet1 = alexnet it also works for me and there are no other warnings coming up.
Thank you!
Khalid Mahmood
Khalid Mahmood 2021 年 5 月 3 日
Its great that the solution is working for you.
Any how if you want to remove the error in load myNet1.mat, you can email me and attach that file in email.
Then I will tell you the actual cause of error and its remedy

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by