diff --git a/scenes/bbox.py b/scenes/bbox.py index 16acde3114ddd0f08ee407a40eee7166b2f1dd38..a023382d73366c5d3b326fa61087c45e224f2472 100644 --- a/scenes/bbox.py +++ b/scenes/bbox.py @@ -35,3 +35,6 @@ class BoundingBox: xmax=max(self.xmax, other.xmax), ymin=min(self.ymin, other.ymin), ymax=max(self.ymax, other.ymax)) + + def __str__(self): + return f"[{self.xmin}, {self.ymax}, {self.xmax}, {self.ymin}]"