Then, the person extraction unit 10 groups detection IDs obtained from different frames such that those having associated feature values that are similar to each other by a predetermined level or more belong to the same group. As a result, in a case where the same person is detected from a plurality of frames, the detection IDs of the plurality of detections can be grouped. The person extraction unit 10 then assigns a person ID to each group, the person ID identifying each “person detected in the moving image data to be analyzed”. As a result, detected person information shown in
After the detected person information shown in
Then, the person extraction unit 10 calculates appearance frequencies as described in the first example embodiment, and extracts a person whose appearance frequency satisfies a predetermined condition.