This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def start_recording(self): | |
self.recording = 1 | |
while self.recording == 1: | |
# Find haar cascade to draw bounding box around face | |
frame = self.vs.read() | |
self.videoFrameStore.append(frame) | |
# fps stuff | |
self.out.write(frame) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tkinter settings | |
win = Tk() | |
win.title("Litmus Box") | |
win.geometry('800x480') | |
self.win = win | |
myFont = tkinter.font.Font(family='Helvetica', size=36, weight='bold') |