c# - Turn a webcam off -


currently program able turn on webcam, right have no idea how turn webcam off code.

here's code use capture pictures:

private void webcamstart_click(object sender, eventargs e) {     image = new capture();     image.queryframe();     application.idle += new eventhandler(framegrabber); } 

ps: using emgucv

try this,not sure may

 camera.dispose() 

Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -