Grayscale filter is a widely used and popular filter used by youngsters. Lets try making a filter of our own through Image Processing.
Use the package manager pip to install cv2 and numpy.
pip install cv2
pip install numpy
import cv2
import numpy as np
img = cv2.imread("cat.png")
gray = cv2.cvtColor(img , cv2.COLOR_BGR2GRAY)
print('Image Grayscaled.')
cv2.imshow('ORIGINAL',img)
cv2.imshow('GRAYSCALE',gray)
cv2.waitKey(0)
cv2.destroyAllWindows()