:param boxB: the target bounding box to compute overlap :type boxB: BoxBase :return: the intersection area divided by the area of current bounding box
(self, boxB)
| 123 | return s0 / float(s+self.eps) |
| 124 | |
| 125 | def ioa(self, boxB): |
| 126 | """ |
| 127 | :param boxB: the target bounding box to compute overlap |
| 128 | :type boxB: BoxBase |
| 129 | :return: the intersection area divided by the area of current bounding box |
| 130 | """ |
| 131 | return self.intersection(boxB) / float(self.area+self.eps) |
| 132 | |
| 133 | def iob(self, boxB): |
| 134 | """ |
nothing calls this directly
no test coverage detected