Skip to content

Instantly share code, notes, and snippets.

@lucapiccinelli
Created March 31, 2016 05:30
Show Gist options
  • Save lucapiccinelli/8405fbfdb5e41c793f98e6af54539cb9 to your computer and use it in GitHub Desktop.
Save lucapiccinelli/8405fbfdb5e41c793f98e6af54539cb9 to your computer and use it in GitHub Desktop.
kernel = np.ones((21, 35), np.uint8)
im = cv2.morphologyEx(im, cv2.MORPH_OPEN, kernel, iterations=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment