Image Properties Shape and Size in OpenCV

Machine Learning courses with 100+ Real-time projects Start Now!!

Program 1

import cv2
img=cv2.imread("D://opencvapp//library-img.jpg")
cv2.imshow('Image Window',img)
# print(img.shape)
# print(img.size)
cv2.waitKey(0)
cv2.destroyAllWindows()

 

We work very hard to provide you quality material
Could you take 15 seconds and share your happy experience on Google

courses

TechVidvan Team

TechVidvan Team provides high-quality content & courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.

Leave a Reply

Your email address will not be published. Required fields are marked *