(self, box, ax, label)
| 847 | return image |
| 848 | |
| 849 | def show_box(self, box, ax, label): |
| 850 | x0, y0 = box[0], box[1] |
| 851 | w, h = box[2] - box[0], box[3] - box[1] |
| 852 | ax.add_patch(plt.Rectangle((x0, y0), w, h, edgecolor='green', facecolor=(0,0,0,0), lw=2)) |
| 853 | ax.text(x0, y0, label) |
| 854 | |
| 855 | |
| 856 | def get_mask_with_boxes(self, image_pil, image, boxes_filt): |
nothing calls this directly
no outgoing calls
no test coverage detected