Nodes/comfyui_cv/cv2.pointPolygonTest
ComfyUI Node

cv2.pointPolygonTest

Raw wrapper of cv2.pointPolygonTest(contour, pt, measureDist). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.pointPolygonTest
  • contour
  • pt
  • float
measureDistfalse
Categoryimage/CV/low-level/cv2 P

Inputs (3)

NameTypeDefaultDescription
contourNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
ptCV_TUPLE0,0One value with 2 components (x, y) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place.
measureDistBOOLEANfalse - - -

Outputs (1)

NameTypeDescription
floatFLOAT