Nodes/comfyui_cv/cv2.img_hash.pHash
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.img_hash.pHash
  • inputArr
  • nparray
Categoryimage/CV/low-level/img_hash

Inputs (1)

NameTypeDefaultDescription
inputArrNPARRAY,IMAGE,MASKinput 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)

NameTypeDescription
nparrayNPARRAY