How to use the fitter.MorphableModelFitter function in fitter

To help you get started, we’ve selected a few fitter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github menpo / menpo3d / menpo3d / morphablemodel / 3dmm.py View on Github external
def run(self):
        # Runs the fitting using the 3D Morphable Model
        # model = Model()
        # self.model = model.init_from_basel(model_pf)

        fitter = MorphableModelFitter(self.model)
        fitter.fit(self.image, self.anchors_pf)