open-cv findChessboardCorners fails to detect corners

Job ID: 31770055

Budget: $10 – $30 USD

Why can't my code:

img = cv2.imread('path to image')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
val = cv2.CALIB_CB_ADAPTIVE_THRESH + cv2.CALIB_CB_FAST_CHECK + cv2.CALIB_CB_NORMALIZE_IMAGE
ret, corners = cv2.findChessboardCorners(gray, (24, 15), val)

detect the corners of the attached picture?

Use CORNER within your bid to be considered.
Related categories: Python Machine Learning (ML) Computer Vision