diff --git a/deeptrack/augmentations.py b/deeptrack/augmentations.py index 35169e944..aee14ac0b 100644 --- a/deeptrack/augmentations.py +++ b/deeptrack/augmentations.py @@ -258,7 +258,7 @@ def update_properties(self, image, number_of_updates, **kwargs): for prop in image.properties: if "position" in prop: position = np.array(prop["position"]) - position[..., 0] = image.shape[1] - position[..., 0] + position[..., 0] = image.shape[0] - position[..., 0] prop["position"] = position