videoinput error in real time detection
Afficher commentaires plus anciens
Hello sir, While I was working on real time face detection I got this error when I run my code for the second time. I have written stop(vid) and clear (vid) at the end of script,still I am getting this following error.
"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."
Can you tell me how to get rid of this? Thank you
2 commentaires
Nachiket Patki
le 2 Mai 2017
Modifié(e) : Walter Roberson
le 2 Mai 2017
Nachiket Patki
le 5 Mai 2017
Réponses (1)
Ashiq Ullah
le 22 Jan 2019
0 votes
Use this method:
>>objects = imaqfind ;
>> delete(objects) ;
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!