2020-10-16 08:36:52 +00:00
|
|
|
import pickle
|
|
|
|
|
|
|
|
|
|
class Importer:
|
|
|
|
|
def __init__(self, config):
|
|
|
|
|
self.path = config["importPath"]
|
|
|
|
|
|
|
|
|
|
def importRawData(self):
|
2020-11-08 15:28:47 +00:00
|
|
|
print("Loading previous results")
|
2020-10-16 08:36:52 +00:00
|
|
|
with open(self.path, "rb") as file:
|
2020-11-08 15:28:47 +00:00
|
|
|
layers, contours = pickle.load(file)
|
|
|
|
|
return (layers, contours)
|