1. 28 Feb, 2017 9 commits
    • Patrik Huber's avatar
      Removed json-to-cereal-binary utility app · a7c03275
      Patrik Huber authored
      This was in the past used for converting a small BFM json model to a cereal binary. However, it was never satisfactory.
      I think it's also used to import the blendshapes from Matlab into C++, so we'll need it again at some point. However at the moment it does not compile as we don't have a json serialize() (cereal) function for Eigen::Matrix.
      a7c03275
    • Patrik Huber's avatar
      Full changes to io/cvssp.hpp · 65fa0f89
      Patrik Huber authored
      For some reason, not all changes got staged in the last commit. This is the full set of changes.
      65fa0f89
    • Patrik Huber's avatar
      Changed load_scm_model to use Eigen::Matrix · 5bdb4a12
      Patrik Huber authored
      Actually, we still read into an OpenCV matrix - should change that in the future to directly read into an Eigen::Matrix.
      5bdb4a12
    • Patrik Huber's avatar
      Updated bfm-binary-to-cereal to use Eigen · 00e0f8c1
      Patrik Huber authored
      Also removed division by 1000 of the mean. I don't think it makes sense to make this modification. Leave it as it is in the original.
      00e0f8c1
    • Patrik Huber's avatar
    • Patrik Huber's avatar
      Changed PcaModel to use Eigen::Matrix instead of cv::Mat · 470615a6
      Patrik Huber authored
      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
      470615a6
    • Patrik Huber's avatar
      Corrected PcaModel documentation · 29817961
      Patrik Huber authored
      It hasn't had a method to return a Mesh in quite a while I think.
      29817961
    • Patrik Huber's avatar
      Removed =default c'tor workaround for VS2015 in PcaModel · d0d9c914
      Patrik Huber authored
      Hopefully this is not an issue anymore.
      d0d9c914
    • Patrik Huber's avatar
      Corrected Landmark documentation · 3f0ffc18
      Patrik Huber authored
      3f0ffc18
  2. 19 Feb, 2017 16 commits
  3. 17 Feb, 2017 1 commit
  4. 10 Feb, 2017 4 commits
  5. 09 Feb, 2017 2 commits
  6. 07 Feb, 2017 1 commit
  7. 30 Jan, 2017 4 commits
  8. 29 Jan, 2017 3 commits