Nodes/comfyui_cv/cv2.face.drawFacemarks
ComfyUI Node

cv2.face.drawFacemarks

Raw wrapper of cv2.face.drawFacemarks(image, points, color?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'face' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.face.drawFacemarks
  • image
  • points
  • nparray
color
Categoryimage/CV/low-level/face

Inputs (3)

NameTypeDefaultDescription
imageNPARRAY,IMAGE,MASK - - - 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.
pointsNPARRAY,IMAGE,MASK - - - 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.
coloroptSTRING - - - cv2 Scalar as a literal, e.g. "(0, 255, 0)" (BGR) or "(0, 255, 0, 64)" (BGRA). A bare number broadcasts to every component, so "255" means (255, 255, 255, 255). Components past the target's channel count are ignored by OpenCV. Leave blank for the OpenCV default.

Outputs (1)

NameTypeDescription
nparrayNPARRAY