in source/frontend/video_capture.py [0:0]
def release(self): if self.cap is not None: self.cap.release()