Created
June 23, 2020 14:56
-
-
Save rahim42324/3b9915c444926e8c4eeaf23fc9e292a8 to your computer and use it in GitHub Desktop.
MedianBlur
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # importing libraries | |
| import cv2 | |
| import numpy as np | |
| image = cv2.imread('fruits.jpg') | |
| cv2.imshow('Original Image', image) | |
| cv2.waitKey(0) | |
| # Median Blur | |
| median = cv2.medianBlur(image, 5) | |
| cv2.imshow('Median Blurring', median) | |
| cv2.waitKey(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment