1 | initial version |
See Python API for cv2.findChessboardCorners using google. You'll get to OpenCV: Camera Calibration and Reconstruction. Note the python parameter description:
Python:
retval, corners = cv.findChessboardCorners( image, patternSize[, corners[, flags]] )
So, you can pass flags and NOT pass corners by calling it like this:
find_flags = cv2.CALIB_CB_ADAPTIVE_THRESH + cv2.CALIB_CB_FAST_CHECK
retval, corners = cv.findChessboardCorners(image, patternSize, flags=find_flags)
Note that for bit fields, addition (+) results in the same values as a bitwise OR operation (|), so the choice is arbitrary (I tend to use + in Python, but | in C++).