Nodes/comfyui_cv/CV Chessboard Flags
ComfyUI Node

CV Chessboard Flags

Authors a flags value once and fans it out: wire the 'flags' STRING output into the flags input of any number of cv2_findChessboardCorners / cv2_findChessboardCornersSB(WithMeta) nodes so they all share one configuration. Each toggle ORs one bit in. ADAPTIVE_THRESH/FAST_CHECK/FILTER_QUADS drive the classic detector, EXHAUSTIVE/ACCURACY/LARGER/MARKER the SB one; NORMALIZE_IMAGE both. The 'value' INT output is the resolved integer for raw int flag params or MathExpression.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Chessboard Flags
    • flags
    • value
    flagsCALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGE
    Categoryimage/CV/low-level

    Inputs (1)

    NameTypeDefaultDescription
    flagsSTRINGCALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGEPipe-joined cv2 constant names, e.g. "CALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGE | CALIB_CB_ADAPTIVE_THRESH". In the UI this renders as a base dropdown with one toggle per flag.

    Outputs (2)

    NameTypeDescription
    flagsSTRINGThe pipe-joined flags string - wire it into the flags input of cv2_findChessboardCorners / cv2_findChessboardCornersSB(WithMeta) nodes.
    valueINTThe resolved integer (constants OR-ed together).