Add rectangle to image (PIL-only).
(self, xy, fill=None, outline=None, width=1)
| 233 | self.fromarray(self.im) |
| 234 | |
| 235 | def rectangle(self, xy, fill=None, outline=None, width=1): |
| 236 | """Add rectangle to image (PIL-only).""" |
| 237 | self.draw.rectangle(xy, fill, outline, width) |
| 238 | |
| 239 | def text(self, xy, text, txt_color=(255, 255, 255), anchor='top', box_style=False): |
| 240 | """Adds text to an image using PIL or cv2.""" |
no outgoing calls
no test coverage detected