示例#1
0
 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()
示例#2
0
 def cone_btn_clicked(self):
     print('cone')
     frame = videowidget.getframe()
     self.cones.append('Cone recorded at frame: %s ' % frame)
示例#3
0
 def incline_btn_clicked(self):
     print('incline')
     frame = videowidget.getframe()
     self.inclines.append('Incline recorded at frame: %s ' % frame)
示例#4
0
 def slope_btn_clicked(self):
     print('slope')
     frame = videowidget.getframe()
     self.slopes.append('Slope recorded at frame: %s ' % frame)
示例#5
0
 def bump_btn_clicked(self):
     print('bump')
     frame = videowidget.getframe()
     self.bumps.append('Bump recorded at frame: %s ' % frame)
示例#6
0
 def error_btn_clicked(self):
     print('error')
     frame = videowidget.getframe()
     self.errors.append('Error recorded at frame: %s' % frame)