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
Post a Comment