I am using Python3.10 and Opencv 4.7.
This is my code:
img = cv2.imread('1_1691050309204.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, corners = cv2.findChessboardCorners(gray, (5, 6))
print(ret)
print(corners)
returns False(ret) and None(corners).
What's wrong with the code or the image?

It seems that it worked once I resized the image.