import pickle
class Importer:
def __init__(self, config):
self.path = config["importPath"]
def importRawData(self):
print("Loading previous results")
with open(self.path, "rb") as file:
layers, contours = pickle.load(file)
return (layers, contours)