ComfyUI Node
cv2.img_hash.blockMeanHash
Raw wrapper of cv2.img_hash.blockMeanHash(inputArr, mode?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'img_hash' module. See the OpenCV documentation for details.
cv2.img_hash.blockMeanHash
- inputArr
- nparray
◄modeBLOCK_MEAN_HASH_MODE_0►
Categoryimage/CV/low-level/img_hash
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| inputArr | NPARRAY,IMAGE,MASK | input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| modeopt | COMBO | BLOCK_MEAN_HASH_MODE_0 | the mode |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |