Noah Vriese
commited on
Commit
·
48d3fca
1
Parent(s):
ef1c5ae
Update visualization text
Browse files- data_objects.py +3 -2
data_objects.py
CHANGED
@@ -180,9 +180,10 @@ class Detection:
|
|
180 |
tipLength=0.2
|
181 |
)
|
182 |
|
|
|
|
|
|
|
183 |
if draw_centroids:
|
184 |
-
centroid: np.ndarray = self.centroid()[0]
|
185 |
-
centroid_coords: Tuple[int, int] = (int(centroid[0]), int(centroid[1]))
|
186 |
|
187 |
if centroid_color is None:
|
188 |
centroid_color = self.color_centroid
|
|
|
180 |
tipLength=0.2
|
181 |
)
|
182 |
|
183 |
+
centroid: np.ndarray = self.centroid()[0]
|
184 |
+
centroid_coords: Tuple[int, int] = (int(centroid[0]), int(centroid[1]))
|
185 |
+
|
186 |
if draw_centroids:
|
|
|
|
|
187 |
|
188 |
if centroid_color is None:
|
189 |
centroid_color = self.color_centroid
|