import cv2

img = cv2.imread(
    r"C:\xampp\htdocs\API\Inventory\sample.jpg"
)

print(img.shape)