Nodes/comfyui_cv/cv2.solveLP (2/2)
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.solveLP (2/2)
  • Func
  • Constr
  • int
  • nparray
Categoryimage/CV/low-level/cv2 S

Inputs (2)

NameTypeDefaultDescription
FuncNPARRAYThis 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.
ConstrNPARRAY`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)

NameTypeDescription
intINT
nparrayNPARRAY