A computer determines a type of change in a state of a bed on the basis of a correspondence relationship between a boundary that indicates a first bed area in a first image and a line segment represented by an edge detected from a second image. The second image is an image that is captured after the first image is captured, and the change in the state of the bed is a state change that occurs during a time period from the capturing of the first image to the capturing of the second image.