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.
cv2.pointPolygonTest
- contour
- pt
- float
◄measureDistfalse►
Categoryimage/CV/low-level/cv2 P
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| contour | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| pt | CV_TUPLE | 0,0 | One 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. |
| measureDist | BOOLEAN | false | - - - |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |