How to use LMSolver in OpenCV 4.3.0 c++

asked 2020-06-05 18:02:12 -0600

facureyes gravatar image

Hi guys, Im trying to use the LMSolver (Levenberg-Marquardt Algorithm) but I cant find any example online and I dont really understand the documentation.

I would really apreciatte if anyone can provide me with an easy example to start with.

Thanks!!

edit retag flag offensive close merge delete

Comments

1

could you show us, what you're trying to solve ? (code snippet / data)

berak gravatar imageberak ( 2020-06-06 01:48:29 -0600 )edit

Example for LM solver for non-linear minimisation for PnP problem.

Eduardo gravatar imageEduardo ( 2020-06-06 11:40:30 -0600 )edit

@berak Im trying to estimate facial expresisons using Candide3 model wich has multiple variables, so my idea is to use the 2D projection of the facial model and with LMSolver find the variables that fit better and minimize error

facureyes gravatar imagefacureyes ( 2020-06-06 15:28:13 -0600 )edit