OpenCV setTrackbarMin_0
The other end of the slider you're probably not using
- unknown
setTrackbarMin_0 sets the minimum value of a trackbar - a slider - in an OpenCV HighGUI window. It's the mirror image of setTrackbarMax_0, and it has the same fundamental problem: it only does anything if you're running OpenCV's interactive desktop windows, which most ComfyUI installs never do.
This is a sibling in the pack's auto-generated family of HighGUI nodes. The generator scans OpenCV's top-level functions and emits a node for each one; cv2.setTrackbarMin is a one-line call (cv2.setTrackbarMin(trackbarname, winname, minval)) that adjusts the lower bound of a named slider in a named window. The pack has no opinion about whether that's useful in a node graph - it just wraps it.
The inputs:
- trackbarname - STRING, the slider's name.
- winname - STRING, the window it lives in.
- minval - INT, the new minimum.
Output is None (unknown in the schema). Nothing to connect downstream; it's a pure side effect.
Reality check on when this does anything: you need a desktop session with a display, an OpenCV window already opened by a sibling node like namedWindow, and a trackbar created with createTrackbar - and then this node changes its range. If any link in that chain is missing, the node silently does nothing. On a headless server or a machine you're not sitting at, the chain is broken from the start, so the node is inert. If you found it in a shared workflow, it's almost certainly scaffolding from someone's live-tuning experiment; deleting it won't break anything because its None output feeds nothing.
And yes, there's a twin: setTrackbarMax_0 does the same thing for the top of the range, and setTrackbarPos_0 for the current position. The three of them together control a slider's bounds and thumb - but only in a world where the slider exists.
If your actual goal is interactive parameter tuning in ComfyUI, stop here and use the native widget approach instead - primitive number inputs, or the built-in value widgets on regular nodes. They're persistent, visible in the UI, and don't depend on a display being attached to the server.
Install is the same for the whole pack: ComfyUI Manager → search "opencv-comfyui", or git clone https://github.com/geroldmeisinger/opencv-comfyui into ComfyUI/custom_nodes, restart. Needs opencv-contrib-python (plus numpy/torch already present). If ComfyUI won't boot with Cannot import name 'guidedFilter' from 'cv2.ximgproc', a second OpenCV from another node is conflicting - uninstall the duplicate.
Bottom line: a genuinely niche node from a pack that wraps everything, useful only for live desktop OpenCV debugging. For 99% of ComfyUI users it's a delete-and-move-on.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| trackbarname | STRING | — | |
| winname | STRING | — | |
| minval | INT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| unknown | None | — |