diff --git a/slave/video.py b/slave/video.py index 159c076..d9f1d30 100644 --- a/slave/video.py +++ b/slave/video.py @@ -36,7 +36,7 @@ class Video: cv2.namedWindow("window", cv2.WND_PROP_FULLSCREEN) cv2.moveWindow("window", self.x, self.y) - #cv2.setWindowProperty("window",cv2.WND_PROP_FULLSCREEN,cv2.WINDOW_FULLSCREEN) + cv2.setWindowProperty("window",cv2.WND_PROP_FULLSCREEN,cv2.WINDOW_FULLSCREEN) cv2.imshow("window", frame) @@ -45,10 +45,10 @@ class Video: # Break the loop else: break - # self.cap.release() + self.cap.release() - # # Closes all the frames - # cv2.destroyAllWindows() + # Closes all the frames + cv2.destroyAllWindows() if __name__ == "__main__": video = Video(0, 0)