Unverified Commit d5bd8b72 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fix bounding box padding (#6528)

parent bd70a780
......@@ -125,7 +125,7 @@ class BoundingBox(_Feature):
output = self._F.pad_bounding_box(self, padding, format=self.format, padding_mode=padding_mode)
# Update output image size:
left, top, right, bottom = self._F._geometry._parse_pad_padding(padding)
left, right, top, bottom = self._F._geometry._parse_pad_padding(padding)
height, width = self.image_size
height += top + bottom
width += left + right
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment