1. A method for controlling a computer system, the method comprising: acquiring video of a subject in front of a background; obtaining from the video a time-resolved sequence of depth maps; selecting from a depth map in the sequence an area targeting motion; selecting a section of the depth map bounded by the area and lying in front of a plane; and fitting a geometric model of the subject to the section.