IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Namespaces | |
Surveillance.utils.imgs | |
Functions | |
def | draw_contour (bm, img=None, color=(0, 255, 0), thick=3) |
def | draw_dots (img, coords, color=[0, 255, 0], radius=20) |
Variables | |
bm = np.zeros((100, 100), dtype=bool) | |
def | contour_map = draw_contour(bm, thick=3) |
def | contour_map_2 = draw_contour(bm, img, thick=3) |
dot_coords | |
img = np.round(np.random.rand(bm.shape[0], bm.shape[1], 3) * 255).astype(np.uint8) | |
def | img_dots = draw_dots(img, dot_coords, radius=5) |