ComfyUI Node
cv2.img_hash.pHash
Raw wrapper of cv2.img_hash.pHash(inputArr). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'img_hash' module. See the OpenCV documentation for details.
cv2.img_hash.pHash
- inputArr
- nparray
Categoryimage/CV/low-level/img_hash
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| inputArr | NPARRAY,IMAGE,MASK | input image want to compute hash value, type should be CV_8UC4, CV_8UC3, 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. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |