Webcam cannot be disconnected

2 Ansichten (letzte 30 Tage)
Beril Sirmacek
Beril Sirmacek am 15 Mai 2018
Kommentiert: Star Strider am 23 Mai 2018
After the camera variable is defined and used as below;
camera = webcam;
picture = camera.snapshot;
I use;
clear camera
However deleting the structure of course doesn't disconnect the webcam.
How can I officially stop image acquisition and disconnect the webcam?

Antworten (1)

Star Strider
Star Strider am 15 Mai 2018
Try the function version:
clear('camera')
That is in the documentation as step 8 in: Acquire Webcam Images (link).
  8 Kommentare
Beril Sirmacek
Beril Sirmacek am 23 Mai 2018
Yes, I can turn it on and off with other software which reaches to webcam.
Star Strider
Star Strider am 23 Mai 2018
Then request help from MathWorks. Use the Contact Us link in the upper right corner of this page.
Run the ver command from your Command Window first. Then copy and paste the results to the appropriate window.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by