- Mar 05, 2017
-
-
Patrik Huber authored
Adjusted all files that use it (hopefully). This is a breaking change: If you're currently using the PcaModel constructor and giving it a PCA basis matrix, your code will (probably silently) break: The function now expects an orthonormal basis matrix, whereas before, it expected a rescaled basis matrix. However it makes more sense for the function to take an orthonormal basis matrix.
-
- Mar 04, 2017
-
-
Patrik Huber authored
This should clear up confusion and make the descriptions good and unambiguous. - orthonormal = the old "unnormalised" - rescaled = the old "normalised". Also changed PcaModel's getter for the basis accordingly, and updated the documentation.
-
Patrik Huber authored
Both the BFM and SFM store the orthonormal basis in their files. The orthonormal basis is what eos calls "unnormalised" (because it's not rescaled by the eigenvalues). We will get rid of this ambiguous terminology in eos now and use the unambiguous terms: - Orthonormal basis (previously "unnormalised") - Rescaled basis (previously "normalised).
-
- Feb 28, 2017
-
-
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
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.
-
- Feb 19, 2017
-
-
Patrik Huber authored
-
ggoldma1 authored
-
- Jan 02, 2017
-
-
Patrik Huber authored
-
Ruslan Baratov authored
Top level CMakeLists.txt already check '3.1.3' so there is no need to check it for subdirectories
-
Ruslan Baratov authored
'project' declare independent block of CMake code. If block is not designed to be used stand-alone it make no sense to declare 'project'
-
- Dec 24, 2016
-
-
Ruslan Baratov authored
If 'REQUIRED' used inside 'find_package' there is no need to check '*_FOUND' variable. And vice versa - if package is not optional then 'REQUIRED' can be used instead of 'if(NOT *_FOUND) message(FATAL_ERROR)' block.
-
- Dec 15, 2016
-
-
Patrik Huber authored
Also swapped order of project() declaration and cmake_minimum_required()
-
- Dec 10, 2016
-
-
Patrik Huber authored
-
Patrik Huber authored
-
Patrik Huber authored
-
- Dec 05, 2016
-
-
Patrik Huber authored
-
Patrik Huber authored
-
- Nov 17, 2016
-
-
Patrik Huber authored
-
- Nov 15, 2016
-
-
Patrik Huber authored
clang and gcc complained about this, while VS2015 accepted it. It turns out this is the much better way to do it!
-
- Nov 08, 2016
-
-
Patrik Huber authored
* Now using the transparent glm bindings * Replaced nonlinear camera estimate with the linear algorithm * Updated RenderingParameters bindings
-
Patrik Huber authored
-
Patrik Huber authored
-
- Oct 04, 2016
-
-
Patrik Huber authored
Careful about GLM's notation! A 3x4 matrix is a mat4x3!
-
Patrik Huber authored
-
Patrik Huber authored
Based on pybind11/eigen.h, fairly simple. A bit of care had to be taken for matrices because glm stores the data in col-major layout in memory. It makes an unnecessary copy of the data in glm::make_mat*, but these types are small anyway.
-
- Sep 26, 2016
-
-
Patrik Huber authored
-
- Sep 20, 2016
-
-
Patrik Huber authored
* Added estimate_orthographic_camera inside the submodule "fitting", and also added bindings for RenderingParameters * Updated documentation a bit
-
Patrik Huber authored
This allows buffer objects (e.g. arrays) to be converted to eos.Mat (and eos.VecXf), which will then subsequently be converted to cv::Mat/cv::VecXf in C++. Added mostly support for 1-channel CV_32F and CV_64F types. The explicit conversion that's required in Python is a bit cumbersome, but I can live with it for now.
-
Patrik Huber authored
-
- Sep 19, 2016
-
-
Patrik Huber authored
Put things from the morphablemodel namespace in a python submodule.
-
Patrik Huber authored
This adds a Python buffer view to cv::Vec4f, and the type is exposed as eos.Vec4f. That means that the type is convertible to a NumPy array using `np.array(vec4f_instance)`.
-
- Sep 18, 2016
-
-
Patrik Huber authored
-
Patrik Huber authored
Also renamed the app that creates the bindings to generate-python-bindings.cpp.
-
- Sep 17, 2016
-
-
Patrik Huber authored
- Added a flag GENERATE_PYTHON_BINDINGS to CMake which enables the use of pybind11 - `create-python-bindings` generates bindings for PcaModel - pybind11 is added as a submodule; needs to be cloned with `git submodule update --init` - Increased cmake_minimum_required to 2.8.12 for pybind11
-
- Aug 22, 2016
-
-
Patrik Huber authored
-
- May 21, 2016
-
-
Patrik Huber authored
-
- Apr 30, 2016
-
-
Patrik Huber authored
Added a BUILD_UTILS CMake option, defaulting to OFF.
-