Skip to content

Instantly share code, notes, and snippets.

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)
@lumwb
lumwb / TkInter_GUI.py
Last active June 6, 2020 11:57
Litmus Box TkInter GUI
# tkinter settings
win = Tk()
win.title("Litmus Box")
win.geometry('800x480')
self.win = win
myFont = tkinter.font.Font(family='Helvetica', size=36, weight='bold')