Example #1
0
 def trainmodel(self):
     if self.controller.num_of_images < 300:
         messagebox.showerror("ERROR", "No enough Data, Capture at least 300 images!")
         return
     train_classifer(self.controller.active_name)
     messagebox.showinfo("SUCCESS", "The modele has been successfully trained!")
     self.controller.show_frame("PageFour")
Example #2
0
 def trainmodel(self):
     if self.controller.num_of_images < 300:
         messagebox.showerror("ERROR", "Need more images captured.")
         return
     train_classifer(self.controller.active_name)
     messagebox.showinfo("SUCCESS",
                         "The model has been trained and is ready!")
     self.controller.show_frame("PageFour")
Example #3
0
 def trainmodel(self):
     if self.controller.num_of_images < 300:
         messagebox.showerror(
             "ERROR", "No enough Data, Capture at least 300 images!")
         return
     train_classifer(self.controller.active_name)
     messagebox.showinfo("SUCCESS", "Welcome to the Easy Bank Network!")
     self.controller.show_frame("PageFour")