Skip to content
Snippets Groups Projects
Commit 24a4c776 authored by Xianzong Meng's avatar Xianzong Meng
Browse files

Python code removing unrelavant note

parent 761c883c
No related branches found
No related tags found
No related merge requests found
......@@ -129,9 +129,6 @@ class Ui_MainWindow(QtWidgets.QWidget):
show = cv2.resize(self.image, (640, 480)) # resize to 640x480
_, previous = self.cap.read() # Save a frame of the webcam
_, current = self.cap.read()
currenta = current[406:501,89:184]
currentb = current[405:500,138:232]
currentc = current[404:500,187:280]
......@@ -274,6 +271,3 @@ if __name__ == '__main__':
cap.release()
out.release()
# to be achieved: 1. name the file
# 2. open camera will not save video, only save button pressed will start saving video
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment