(box)
| 179 | assert ocr_bbox is None or isinstance(ocr_bbox, List) |
| 180 | |
| 181 | def box_area(box): |
| 182 | return (box[2] - box[0]) * (box[3] - box[1]) |
| 183 | |
| 184 | def intersection_area(box1, box2): |
| 185 | x1 = max(box1[0], box2[0]) |
no outgoing calls
no test coverage detected