ComfyUI Node
cv2.solveLP (2/2)
Raw wrapper of cv2.solveLP(Func, Constr). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.solveLP (2/2)
- Func
- Constr
- int
- nparray
Categoryimage/CV/low-level/cv2 S
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| Func | NPARRAY | This row-vector corresponds to $c$ in the LP problem formulation (see above). It should contain 32- or 64-bit floating point numbers. As a convenience, column-vector may be also submitted, in the latter case it is understood to correspond to $c^T$. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| Constr | NPARRAY | `m`-by-`n+1` matrix, whose rightmost column corresponds to $b$ in formulation above and the remaining to $A$. It should contain 32- or 64-bit floating point numbers. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| int | INT | — |
| nparray | NPARRAY | — |