Changed PcaModel to use Eigen::Matrix instead of cv::Mat
This is a big step towards being not requiring OpenCV anymore as a dependency. All models will have to be converted and re-downloaded. * PcaModel: Removed the RNG from the class, and added a RNG parameter to the draw_sample method * PcaModel: Added a get_eigenvalues() accessor that returns all eigenvalues * MorphableModel: Changed CEREAL_CLASS_VERSION from 0 to 1 (and added a version check to the serialize method) * MorphableModel: Changed texture_coordinates from cv::Vec2f to array<double, 2> * Added binary Eigen::Matrix serialisation for cereal * Changed Blendshape to Eigen::Vector as well * Adjusted blendshape_fitting.hpp accordingly - and it now takes most parameters by const& * Adjusted fitting.hpp accordingly - now also takes most parameters by const& * Adjusted linear_shape_fitting.hpp: It's not totally converted, still using cv::Mat for the core algorithm
Showing
This diff is collapsed.
Please register or sign in to comment