leaf_focus/ocr/recognise/item.py
def line_bounds(self):
        """Line bounds from top of text to bottom of text."""
        top_bound = min(
            [self.top_left_y, self.top_right_y, self.bottom_left_y, self.bottom_right_y]
        )
        bottom_bound = max(
            [self.top_left_y, self.top_right_y, self.bottom_left_y, self.bottom_right_y]
        )
        return top_bound, bottom_bound
Line bounds from top of text to bottom of text.
Line bounds from top of text to bottom of text.
Line bounds from top of text to bottom of text .
def line_bounds(self):
        top_bound = min(
            [self.top_left_y, self.top_right_y, self.bottom_left_y, self.bottom_right_y]
        )
        bottom_bound = max(
            [self.top_left_y, self.top_right_y, self.bottom_left_y, self.bottom_right_y]
        )
        return top_bound, bottom_bound
def line_bounds ( self ) : top_bound = min ( [ self . top_left_y , self . top_right_y , self . bottom_left_y , self . bottom_right_y ] ) bottom_bound = max ( [ self . top_left_y , self . top_right_y , self . bottom_left_y , self . bottom_right_y ] ) return top_bound , bottom_bound
Line bounds from top of text to bottom of text.
Line bounds from top of text to bottom of text .
"""Line bounds from top of text to bottom of text."""
self