Nodes/opencv-comfyui/OpenCV findChessboardCorners_1
ComfyUI Node

OpenCV findChessboardCorners_1

The twin of the classic checkerboard detector

By geroldmeisinger·Created about a year ago·Updated about a year ago· 35
OpenCV findChessboardCorners_1
  • image
  • corners
  • bool
  • nparray
patternSize
flags

findChessboardCorners_1 is the second auto-generated overload of cv2.findChessboardCorners, and it is indistinguishable from findChessboardCorners_0 in the graph: same inputs (image, patternSize, flags, optional corners), same outputs (bool + corner nparray), same function underneath. The pack's generator numbered OpenCV's overloads and both schemas came out identical, so you get two nodes that do one job. Pick either one and never think about it again.

For the working knowledge - the patternSize interior-corner trap ((9, 6) for a 10×7 board, parentheses required), the flags options, the bool output you should actually check, and why the newer findChessboardCornersSB_0 is more robust on imperfect boards - read the findChessboardCorners_0 article. That's where the useful writing lives.

Installing it

It ships with the geroldmeisinger/opencv-comfyui pack, all ~600 nodes at once. ComfyUI Manager → search opencv-comfyui, or:

cd ComfyUI/custom_nodes
git clone https://github.com/geroldmeisinger/opencv-comfyui

then restart. Requirements: opencv-contrib-python, numpy, torch. If startup throws Cannot import name 'guidedFilter' from 'cv2.ximgproc', conflicting OpenCV installs - consolidate to one consistent version.

Pack-wide rules as ever: nparrays in and out (Image2Nparray / Nparrays2Image), batch size 1 only.

That's the full story. This node exists because auto-generation is exhaustive, not because it adds a feature. When you need checkerboard detection, use the _0 variant's guidance and whichever of the twins you happened to grab.

Categoryimage/OpenCV

Inputs (4)

NameTypeDefaultDescription
imageNPARRAY
patternSizeSTRING
flagsINT
cornersoptNPARRAY

Outputs (2)

NameTypeDescription
boolBOOLEAN
nparrayNPARRAY