webcam input not accessible in matlab

2 views (last 30 days)
theking
theking on 27 Feb 2018
Answered: Sanika Patil on 24 Nov 2023
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 Comments
theking
theking on 27 Feb 2018
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 on 21 Mar 2018
able to solve the issue by uninstall it and reinstall matlab . thx walter robertson for install support packge really help.

Sign in to comment.

Answers (1)

Sanika Patil
Sanika Patil on 24 Nov 2023
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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!