(point, width, height)
| 6 | return (np.array(bbox[0]) / 1000) * np.array([width, height, width, height]) |
| 7 | |
| 8 | def scale_point(point, width, height): |
| 9 | return (np.array(point[0]) / 1000) * np.array([width, height]) |
| 10 | |
| 11 | def draw_points(draw, image, data_entry, points): |
| 12 | for color, key in points: |