1. A method for determining a location of an occupant in a space, the method comprising: detecting a shape of an occupant in an image of a space; using a first calculation to determine a location of the occupant on a floor in the image when the shape of the occupant is a first shape type; using a second calculation to determine the location of the occupant on the floor in the image when the shape of the occupant is a second shape type; transforming the location on the floor in the image to a real world location; and outputting a signal based on the real world location.