def side2(self): print('Save Side 2 of image') time = datetime.now().strftime(" %Y%m%d_%H.%M.%S.png") folder_name = label_input.get() name = folder_name + "_side2" folder = "/home/pi/DC-Box/images" + "/" + folder_name +"/" try: os.makedirs(folder) except: pass path = folder + name + time sidex(path)
def side2(self): print('Save Side 2 of image') time = datetime.now().strftime(" %Y%m%d_%H.%M.%S.png") folder_name = self.label_input.get() project_name = self.project_input.get() name = folder_name + "_side1" folder = "./Project/" + project_name + "/" + folder_name + "/" try: os.makedirs(folder) except: pass path = folder + name + time sidex(path)
def side2(self): print('Save Side 2 of image') path = "leaf_side2.png" sidex(path)
def side1(self): print('Save Side 1 of image') path = "leaf_side1.png" sidex(path)