patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.91k stars 597 forks source link

Ceres nonlinear refactor #248

Open Alpus opened 5 years ago

Alpus commented 5 years ago

Add ModelFitter class that encapsulates ceres fitting logic. Using it the user can build needed cost function. Also, it supports a few cameras fitting. Pull request changes ceres example too.

Alpus commented 5 years ago

I can push new changes, but I can't build devel "as is". So I can't test my new code :-). Besides, I have some problems with color cost function fitting because I have no texture. I didn't change it before, but to support new eos::core::Image I need to do it.