image_output_1.png
import cv2 as cv

import matplotlib.pyplot as plt

blob = plt.imread('../input/opencv-samples-images/blobs.jpg')
blob_gray = cv.cvtColor(blob, cv.COLOR_RGB2GRAY)
plt.imshow(blob_gray)
plt.show()