How to close the webcam after the image has been captured?
20 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
My webcam doesn't close after the execution of program. I need to close Matlab each time to close the webcam. I am using Matlab 2017a.
1 Kommentar
Antworten (2)
Nithin Banka
am 5 Jun. 2018
Bearbeitet: Nithin Banka
am 5 Jun. 2018
If the webcam object you are using to capture images is say 'camObject' use the below command to close the webcam
clear camObject;
Acquire Images from Webcams - This documentation about acquiring images using webcam might come in handy for your work.
0 Kommentare
Johan Sebastian
am 13 Mai 2023
clear all
1 Kommentar
bob pang
am 22 Mai 2023
this line can't release webcam:
clear camObject;
you should use :
clear all
Siehe auch
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!