ComfyUI Node
cv2.PCACompute (1/2)
Raw wrapper of cv2.PCACompute(data, mean, maxComponents?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.PCACompute (1/2)
- data
- mean
- mean
- eigenvectors
◄maxComponents0►
Categoryimage/CV/low-level/cv2 P
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| data | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| mean | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| maxComponentsopt | INT | 0-2147483648–2147483647 | - - - Preset to the OpenCV default (0). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mean | NPARRAY | — |
| eigenvectors | NPARRAY | — |