webcam input not accessible in matlab

3 ビュー (過去 30 日間)
theking
theking 2018 年 2 月 27 日
回答済み: Sanika Patil 2023 年 11 月 24 日
this question regarding the "winvideo" input I am want to access the dell build in webcam so it shows error line when I try to run program. but if I use cam=webcam then I can access the webcam it shows the video and I also reinstall image accusation package toolbox several time. I am using Matlab 2015a. any advice deeply appreciates.
  3 件のコメント
theking
theking 2018 年 2 月 27 日
yes sir i did when try to open webcam in preview mode it can open. but i use obj=videoinput('winvideo',1,'MJPG_1280x720');
error detail below:
syntax Error using videoinput (line 393) Undefined variable "imaq" or class "imaq.winvideo1_1_source". Error in ColorDetectioninMATLABLiveVideo (line 2) obj=videoinput('winvideo',1,'MJPG_1280x720');
theking
theking 2018 年 3 月 21 日
able to solve the issue by uninstall it and reinstall matlab . thx walter robertson for install support packge really help.

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

回答 (1 件)

Sanika Patil
Sanika Patil 2023 年 11 月 24 日
this question regarding the "winvideo" input I am want to access the dell build in webcam so it shows error line when I try to run program. but if I use cam=webcam then I can access the webcam it shows the video

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by