Nodes/comfyui_cv/cv2.solveLP (1/2)
ComfyUI Node

cv2.solveLP (1/2)

Raw wrapper of cv2.solveLP(Func, Constr, constr_eps). 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 (1/2)
  • Func
  • Constr
  • int
  • nparray
constr_eps0.0000
Categoryimage/CV/low-level/cv2 S

Inputs (3)

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.
constr_epsFLOAT0.0000-1e+38–1e+38allowed numeric disparity for constraints

Outputs (2)

NameTypeDescription
intINT
nparrayNPARRAY