1. A method, comprising: generating a three-dimensional model of a human body, the three-dimensional model capturing one or more shapes or poses of the human body; determining two-dimensional contours associated with the three-dimensional model; segmenting the two-dimensional contours into one or more segments; and based on the one or more segments, generating a two-dimensional model of the human body, the two-dimensional model factoring deformations of the human body into a shape variation component, a viewpoint change, and a pose variation.