diff options
Diffstat (limited to 'src/argaze/ArUcoMarkers/ArUcoDetector.py')
-rw-r--r-- | src/argaze/ArUcoMarkers/ArUcoDetector.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoDetector.py b/src/argaze/ArUcoMarkers/ArUcoDetector.py index 8c843ae..a04bc8f 100644 --- a/src/argaze/ArUcoMarkers/ArUcoDetector.py +++ b/src/argaze/ArUcoMarkers/ArUcoDetector.py @@ -253,22 +253,6 @@ class ArUcoDetector(DataFeatures.PipelineStepObject): # Create aruco detector return ArUcoDetector(new_dictionary, new_optic_parameters, new_parameters) - @classmethod - def from_json(self, json_filepath: str) -> ArUcoDetectorType: - """ - Load attributes from .json file. - - Parameters: - json_filepath: path to json file - """ - - with open(json_filepath) as configuration_file: - - aruco_detector_data = json.load(configuration_file) - working_directory = os.path.dirname(json_filepath) - - return ArUcoDetector.from_dict(aruco_detector_data, working_directory) - @DataFeatures.PipelineStepMethod def detect_markers(self, timestamp: int|float, image: numpy.array) -> float: """Detect all ArUco markers into an image. |