A new 3D morphable model (fitting) framework, based on inequality-constrained optimization and gradient correlation. An optimization-based method that does not require any training, and works robustly. Moreover, the method is capable of simultaneously fitting a 3DMM to multiple frames of a person. Finally, camera matrix can be injected.