The person extraction unit 10 analyzes the moving image data 100 to be analyzed for each frame, and detects a person(s) from each frame. Since a unit that detects a person(s) from an image can be implemented according to the related art, explanation thereof will not be repeated herein. The person extraction unit 10 may analyze all frames as data to be processed and perform person detection, or may intermittently analyze frames as data to be processed (for example, every M frames, provided M is an integer of 1 or more).
The person extraction unit 10 assigns a detection ID to each person detected from each frame. In a case where the same person is detected from a plurality of frames, a detection ID is provided for each detection from each frame.
Then, as shown in