1. A method comprising: determining to capture one or more images of an area; based on the determination to capture one or more images of the area, capturing, with a camera positioned to include a person within a field of view of the camera, an image of the area; analyzing the captured image of the area to detect a state of the person by: performing image foreground segmentation on the captured image of the area to create a segmented image, performing template matching on the segmented image to identify a human shape in the segmented image, and calculating a position and an orientation associated with the identified human shape in the segmented image; and determining, based on the calculated position and the calculated orientation associated with the identified human shape in the segmented image, a potential fall event for the person; and performing an operation directed to assisting the person with the potential fall event based on the determined potential fall event for the person.