Nodes/opencv-comfyui/OpenCV repeat_1
ComfyUI Node

OpenCV repeat_1

Repeat_1 — the tiling node, once more with feeling

By geroldmeisinger·Created about a year ago·Updated about a year ago· 35
OpenCV repeat_1
  • src
  • dst
  • nparray
ny
nx

repeat_1 is repeat_0's identical twin. Same cv2.repeat overload, emitted twice by opencv-comfyui's (geroldmeisinger/opencv-comfyui) generator, no behavioral difference between them. You are not missing a feature; the pack just numbers every overload it finds in OpenCV's type stubs, and this one is listed twice. Use whichever, ignore the other.

What the node does: takes an NPARRAY src and tiles it ny times vertically, nx times horizontally into a single larger image. Three inputs (src, ny, nx, plus an optional dst out-parameter you can leave alone), one nparray output - a contact-sheet grid of the source. For use cases like batch-revision grids and tile-pattern previews, and the one gotcha about which of ny/nx is vertical vs horizontal, read the repeat_0 article. This page is a signpost.

Installing it

The standard pack install. ComfyUI Manager (search "opencv-comfyui"), or:

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

restart, confirm OpenCV:

pip install opencv-contrib-python

No models, no GPU, no extra dependencies. And the general rule for surviving this pack: when _0 and _1 twins appear, they're the same overload twice. The number is a generator artifact, not a version - bookmark the _0, and move on.

Categoryimage/OpenCV

Inputs (4)

NameTypeDefaultDescription
srcNPARRAY
nyINT
nxINT
dstoptNPARRAY

Outputs (1)

NameTypeDescription
nparrayNPARRAY