Sample

import cv2 import matplotlib.image as mpimg import matplotlib.pyplot as plt your_test_image = "sample.jpg" img = mpimg.imread(your_test_image) plt.subplot(1,3,1) plt.imshow(img) print("Image Dimensions: ", img.shape)

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.