Nodes/comfyui_cv/cv2.findChessboardCornersSB
ComfyUI Node

cv2.findChessboardCornersSB

Raw wrapper of cv2.findChessboardCornersSB(image, patternSize, flags?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.findChessboardCornersSB
  • image
  • patternSize
  • bool
  • nparray
flagsnone (0)
Categoryimage/CV/low-level/cv2 F

Inputs (3)

NameTypeDefaultDescription
imageNPARRAY,IMAGE,MASKSource chessboard view. It must be an 8-bit grayscale or color image. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size.
patternSizeCV_TUPLE0,0Number of inner corners per a chessboard row and column ( patternSize = cv::Size(points_per_row,points_per_column) = cv::Size(columns,rows) ). One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place.
flagsoptSTRINGnone (0)Various operation flags that can be zero or a combination of the following values: - Normalize the image gamma with equalizeHist before detection. - Run an exhaustive search to improve detection rate. - Up sample input image to improve sub-pixel accuracy due to aliasing effects. - The detected pattern is allowed to be larger than patternSize (see description). - The detected pattern must have a marker (see description). This should be used if an accurate camera calibration is required. cv2.findChessboardCornersSB flags: one of none (0) plus any of CALIB_CB_NORMALIZE_IMAGE, CALIB_CB_EXHAUSTIVE, CALIB_CB_ACCURACY, CALIB_CB_LARGER, CALIB_CB_MARKER, pipe-joined (e.g. "none (0) | CALIB_CB_NORMALIZE_IMAGE"). In the UI this renders as a dropdown with one toggle per flag.

Outputs (2)

NameTypeDescription
boolBOOLEAN
nparrayNPARRAY