def crop_video(self, event): Videos = self.filelist if len(Videos) > 0: for video in Videos: deeplabcut.CropVideo(video, useGUI=True) else: print("Please select a video first!")
def crop_video(self, event): deeplabcut.CropVideo(self.filelist[0], useGUI=True)