Skip to content

Commit

Permalink
Change opening iterations value
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannisha committed Apr 24, 2024
1 parent e467533 commit fd37af8
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=16)
dst = cv2.morphologyEx(dst, cv2.MORPH_OPEN, kernel, iterations=15)

img = dst

Expand Down

0 comments on commit fd37af8

Please sign in to comment.