py::modulemorphablemodel_module=eos_module.def_submodule("morphablemodel","Functionality to represent a Morphable Model, its PCA models, and functions to load models and blendshapes.");
py::modulemorphablemodel_module=eos_module.def_submodule("morphablemodel","Functionality to represent a Morphable Model, its PCA models, and functions to load models and blendshapes.");
...
@@ -100,6 +101,7 @@ PYBIND11_PLUGIN(eos) {
...
@@ -100,6 +101,7 @@ PYBIND11_PLUGIN(eos) {
;
;
morphablemodel_module.def("load_model",&morphablemodel::load_model,"Load a Morphable Model from a cereal::BinaryInputArchive (.bin) from the harddisk.",py::arg("filename"));
morphablemodel_module.def("load_model",&morphablemodel::load_model,"Load a Morphable Model from a cereal::BinaryInputArchive (.bin) from the harddisk.",py::arg("filename"));
morphablemodel_module.def("save_model",&morphablemodel::save_model,"Save a Morphable Model as cereal::BinaryOutputArchive.",py::arg("model"),py::arg("filename"));