Update viz_utils.py
Browse files- viz_utils.py +3 -0
viz_utils.py
CHANGED
@@ -50,6 +50,9 @@ def draw_keypoints_on_image(image,
|
|
50 |
alpha = [k[2] for k in keypoints]
|
51 |
norm = matplotlib.colors.Normalize(vmin=0, vmax=255)
|
52 |
|
|
|
|
|
|
|
53 |
names_for_color = [i for i in map_label_id_to_str.keys()]
|
54 |
colores = np.linspace(0, 255, num=len(names_for_color),dtype= int)
|
55 |
|
|
|
50 |
alpha = [k[2] for k in keypoints]
|
51 |
norm = matplotlib.colors.Normalize(vmin=0, vmax=255)
|
52 |
|
53 |
+
# debugging keypoints
|
54 |
+
print (keypoints)
|
55 |
+
|
56 |
names_for_color = [i for i in map_label_id_to_str.keys()]
|
57 |
colores = np.linspace(0, 255, num=len(names_for_color),dtype= int)
|
58 |
|