- 03 Mar, 2017 2 commits
-
-
Patrik Huber authored
With this, 'python setup.py sdist' creates a valid source .tar.gz that can be uploaded to pypi and then built on other machines with 'pip install eos-py'
-
Patrik Huber authored
-
- 02 Mar, 2017 2 commits
-
-
-
Patrik Huber authored
Also added a setup.cfg template to specify paths to the libraries we need (mainly useful on Windows where CMake needs the locations). Updated .gitignore. On Windows, it uses the "Visual Studio 14 2015 Win64" generator.
-
- 01 Mar, 2017 1 commit
-
-
Patrik Huber authored
Eigen only introduced rsqrt() in 3.3. Eventually, we'll switch back to rsqrt(), or even include Eigen directly under 3rdparty/.
-
- 28 Feb, 2017 13 commits
-
-
Patrik Huber authored
This allows to completely create a model in Python from numpy matrices, and store with save_model.
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
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.
-
Patrik Huber authored
For some reason, not all changes got staged in the last commit. This is the full set of changes.
-
Patrik Huber authored
Actually, we still read into an OpenCV matrix - should change that in the future to directly read into an Eigen::Matrix.
-
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.
-
Patrik Huber authored
-
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
-
Patrik Huber authored
It hasn't had a method to return a Mesh in quite a while I think.
-
Patrik Huber authored
Hopefully this is not an issue anymore.
-
Patrik Huber authored
-
- 19 Feb, 2017 16 commits
-
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
CMake changes (built in windows and linux): * Include newest eigen3 CMake file * Make CMake scripts work with OpenCV 3.1
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
The diff looks really weird because I clang-formatted the whole document. But there should be no changes in extract_texture, except for tabs->spaces.
-
ggoldma1 authored
-
Patrik Huber authored
* Can now return any cv::Mat to Matlab * Can convert 3 and 4-channel images from Matlab to cv::Mat
-
ggoldma1 authored
1) Fixes for OpenCV > 2.4.3 2) Update to newest eigne3 cmake file (support in environment variables).
-
- 17 Feb, 2017 1 commit
-
-
Patrik Huber authored
This enables defining multiple functions per Matlab mex module
-
- 10 Feb, 2017 4 commits
-
-
Patrik Huber authored
-
Patrik Huber authored
Can return 4-chan uchar matrices (isomaps) back to Matlab, and convert 3-chan uchar matrices (images) from Matlab to C++.
-
Patrik Huber authored
These are required for extract_texture in Matlab. Maybe the better strategy would be to add a constructor to RenderingParameters and not have all these setters.
-
Patrik Huber authored
* Convert Frustum back and forth * Convert RenderingParameters back to C++ * Convert glm::mat4x4 back to C++
-
- 09 Feb, 2017 1 commit
-
-
Patrik Huber authored
-