webcam input not accessible in matlab

3 次查看(过去 30 天)
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