mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 04:36:36 +08:00
Added resources release for AVT cameras (ticket #1814)
This commit is contained in:
parent
624880fd67
commit
3d108958e7
@ -126,7 +126,8 @@ void CvCaptureCAM_PvAPI::close()
|
||||
// Stop the acquisition & free the camera
|
||||
PvCommandRun(Camera.Handle, "AcquisitionStop");
|
||||
PvCaptureEnd(Camera.Handle);
|
||||
PvCameraClose(Camera.Handle);
|
||||
PvCameraClose(Camera.Handle);
|
||||
PvUnInitialize();
|
||||
}
|
||||
|
||||
// Initialize camera input
|
||||
|
Loading…
Reference in New Issue
Block a user