ParametricRegressor¶
- class menpo.fit.regression.base.ParametricRegressor(regressor, features, appearance_model, transform, update='composition')[source]¶
Bases: SemiParametricRegressor
Fitter of Parametric Regressor.
Parameters: regressor: function/closure :
The regressor to be used from menpo.fit.regression.regressionfunctions.py.
features: :
The features used to regress.
- get_parameters(shape)¶
Method that makes sure that the parameter passed to the fit method is the model parameters.
Parameters: shape : PointCloud
The current shape.
- update(delta_p, initial_shape)¶
Updates the parameters of the shape model.
Parameters: delta_p : ndarray
The parameters increment.
initial_shape : PointCloud
The current shape.