def annotate_btn_clicked(self): annotation_text = self.b.toPlainText() print(annotation_text) frame = videowidget.getframe() self.annotations.append('Annotation for frame %s: %s' % (frame, annotation_text)) self.b.clear()
def cone_btn_clicked(self): print('cone') frame = videowidget.getframe() self.cones.append('Cone recorded at frame: %s ' % frame)
def incline_btn_clicked(self): print('incline') frame = videowidget.getframe() self.inclines.append('Incline recorded at frame: %s ' % frame)
def slope_btn_clicked(self): print('slope') frame = videowidget.getframe() self.slopes.append('Slope recorded at frame: %s ' % frame)
def bump_btn_clicked(self): print('bump') frame = videowidget.getframe() self.bumps.append('Bump recorded at frame: %s ' % frame)
def error_btn_clicked(self): print('error') frame = videowidget.getframe() self.errors.append('Error recorded at frame: %s' % frame)