diff --git a/cv_bottle_detection/detector.py b/cv_bottle_detection/detector.py index 20bb3a6..23fc8d3 100644 --- a/cv_bottle_detection/detector.py +++ b/cv_bottle_detection/detector.py @@ -281,7 +281,7 @@ def detect_bottles(self, img: np.array, _preproc: bool = True, _return_bboxes=Fa # opening kernel = np.ones((3, 3), np.uint8) - dst = cv2.morphologyEx(dst, cv2.MORPH_OPEN, kernel, iterations=10) + dst = cv2.morphologyEx(dst, cv2.MORPH_OPEN, kernel, iterations=18) img = dst