def transform_action(action_path,out_path): print(out_path) dirs.make_dir(out_path) action=read_action(action_path,False) new_imgs=action.apply(func) [imgs.save_img(out_path,img_i) for img_i in self.frames]
def save(self,out_path): print(str(out_path)) dirs.make_dir(out_path) [imgs.save_img(out_path,img_i) for img_i in self.frames]