def load_batch(self,path):
     '''
     Loading a image batch
     '''
     batch_loader = ImageLoader()
     
     return batch_loader.load_image(path)
Exemplo n.º 2
0
 def __init__(self):
     self.empty_piece_image = ImageLoader.load_image(self.EMPTY_PIECE_PATH)
     self.black_piece_image = ImageLoader.load_image(self.BLACK_PIECE_PATH)
     self.red_piece_image = ImageLoader.load_image(self.RED_PIECE_PATH)