Skip to content

Commit

Permalink
change opening iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannisha committed Apr 24, 2024
1 parent 5eef9f8 commit 588126d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cv_bottle_detection/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 588126d

Please sign in to comment.