Image Properties Shape and Size in OpenCV
by TechVidvan Team
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()
Did we exceed your expectations?
If Yes, share your valuable feedback on Google
Tags: image properties in opencvimage properties shape and size in opencvopencvopencv practicalopencv programshape and size image properties in opencv
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.