From 1488459954fc03ba0d646b707622c9c3c452d3f1 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Sun, 4 Oct 2020 23:22:52 +0200 Subject: [PATCH] Change default img and export directories, closes #55 --- scripts/planktoscope/imager.py | 2 +- scripts/planktoscope/segmenter.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/planktoscope/imager.py b/scripts/planktoscope/imager.py index a6415f0..db4b164 100644 --- a/scripts/planktoscope/imager.py +++ b/scripts/planktoscope/imager.py @@ -154,7 +154,7 @@ class ImagerProcess(multiprocessing.Process): self.__iso = iso self.__shutter_speed = shutter_speed self.__exposure_mode = "fixedfps" - self.__base_path = "/home/pi/PlanktonScope/img" + self.__base_path = "/home/pi/data/img" self.__export_path = "" self.__global_metadata = None diff --git a/scripts/planktoscope/segmenter.py b/scripts/planktoscope/segmenter.py index c0ac437..6ac7ca2 100644 --- a/scripts/planktoscope/segmenter.py +++ b/scripts/planktoscope/segmenter.py @@ -63,8 +63,8 @@ class SegmenterProcess(multiprocessing.Process): self.stop_event = event self.__pipe = None self.segmenter_client = None - self.__img_path = "/home/pi/PlanktonScope/img" - self.__export_path = "/home/pi/PlanktonScope/export" + self.__img_path = "/home/pi/data/img" + self.__export_path = "/home/pi/data/export" self.__ecotaxa_path = os.path.join(self.__export_path, "ecotaxa") self.__global_metadata = None self.__working_path = ""