We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde7416 commit 67bfce5Copy full SHA for 67bfce5
src/python/model_api/models/segmentation.py
@@ -224,9 +224,6 @@ def get_contours(
224
while next_child_idx >= 0:
225
children.append(contours[next_child_idx])
226
next_child_idx = hierarchy[next_child_idx][0]
227
-
228
- if not children:
229
- children = None
230
231
mask = np.zeros(prediction.resultImage.shape, dtype=np.uint8)
232
cv2.drawContours(
0 commit comments