Webcam Device ID 1 is in use , how to solve it?
Show older comments
Hy , I want to try it this code: http://www.mathworks.com/matlabcentral/fileexchange/30812-tracking-moving-object?s_tid=srchtitle
But I get error:
Error using videoinput (line 391) winvideo: The device associated with device ID 1 is already in use. A new videoinput object cannot be created for this device while it is in use.
Error in trck_movng_obj (line 2) vid = videoinput('winvideo',1,'YUY2_160X120');
Can somebody tell me how to solve it ? please
2 Comments
Stella SU
on 16 Sep 2016
I have met the same problem,did you fix it?
Jahid Hassan
on 23 Mar 2019
faceing same problem
Accepted Answer
More Answers (1)
Image Analyst
on 7 May 2016
2 votes
Make sure nothing else is using it. I'm not sure how to tell what else is using it if you don't already know, like you have your webcam manufacturer's app running, or webex running or whatever.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!