Nonlinear solver such as Levenberg- Marquardt

asked 2020-07-08 04:43:24 -0600

ARYL518 gravatar image

Hi, I need to use a nonlinear solver in OpenCV. Does OpenCV support it or I need to use 3rd lib such as Ceres or Dlib?

Thanks a lot.


edit retag flag offensive close merge delete


There is this LMSolver in OpenCV.

You can find some example in the OpenCV source code, for instance. It should be something like supplying your functions to compute the errors vector and the Jacobian.

Eduardo gravatar imageEduardo ( 2020-07-08 10:53:02 -0600 )edit

Thank you so much!

ARYL518 gravatar imageARYL518 ( 2020-07-09 20:17:08 -0600 )edit