def overlaps(self, box, th=0.0001):
        """
        Check whether this box and given box overlaps at least by given threshold.

        :param box: Box to compare with
        :param th: Threshold above which overlapping should be considered
        :returns: True if overlaps
        """
        int_box = Box.intersection_box(self, box)
        small_box = self if self.smaller(box) else box
        return True if int_box.area() / small_box.area() >= th else False
Check whether this box and given box overlaps at least by given threshold.

        :param box: Box to compare with
        :param th: Threshold above which overlapping should be considered
        :returns: True if overlaps