OpenCV repeat_1
Repeat_1 — the tiling node, once more with feeling
- src
- dst
- nparray
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.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY | — | |
| ny | INT | — | |
| nx | INT | — | |
| dstopt | NPARRAY | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |