Information processing apparatus, control method, and program
An information processing apparatus ( 2000 ) detects a stationary object from video data ( 12 ). In addition, the information processing apparatus ( 2000 ) executes person detection process of detecting a person in vicinity of an object (target object) detected as the stationary object for each of a plurality of video frames ( 14 ) which includes the target object. Furthermore, the information processing apparatus ( 2000 ) executes a predetermined process by comparing results of the person detection process for each of the plurality of video frames ( 14 ).
1. An image processing apparatus for analyzing at least one video, the at least one video including video frames, the image processing apparatus comprising:
at least one memory storing instructions; and
at least one processor configured to execute the instructions to:
detect a stationary object from the video;
specify a first video frame including the stationary object;
specify, based on the first video frame, a second video frame generated before a time when the stationary object is left behind, the second video frame including the detected stationary object and at least one person; and
display both of the first video frame and the second video frame.
2. The image processing apparatus according to claim 1 , wherein the first video frame and the second video frame are displayed on a same screen.
3. The image processing apparatus according to claim 2 , wherein the at least one processor is further configured to execute the instructions to:
execute a person detection process of detecting a person in the vicinity of the stationary object for each of the first video frame and the second video frame; and
execute a predetermined process by comparing results of the person detection process for the first video frame and the second video frame.
4. A computer-implemented method for analyzing at least one video, the at least one video including video frames, the method comprising:
detecting a stationary object from the video;
specifying a first video frame including the stationary object;
specifying, based on the first video frame, a second video frame generated before a time when the stationary object is left behind, the second video frame including the detected stationary object and at least one person; and
displaying both of the first video frame and the second video frame.
5. The computer-implemented method according to claim 4 , wherein the first video frame and the second video frame are displayed on a same screen.
6. The computer-implemented method according to claim 5 , further comprising:
executing a person detection process of detecting a person in the vicinity of the stationary object for each of the first video frame and the second video frame; and
executing a predetermined process by comparing results of the person detection process for the first video frame and the second video frame.
7. A non-transitory computer recording medium storing a computer program executable by a computer to perform:
detecting a stationary object from the video;
specifying a first video frame including the stationary object;
specifying, based on the first video frame, a second video frame generated before a time when the stationary object is left behind, the second video frame including the detected stationary object and at least one person; and
displaying both of the first video frame and the second video frame.
8. The non-transitory computer recording medium according to claim 7 , wherein the first video frame and the second video frame are displayed on a same screen.
9. The non-transitory computer recording medium according to claim 8 , wherein the computer program is executable by the computer to perform:
executing a person detection process of detecting a person in the vicinity of the stationary object for each of the first video frame and the second video frame; and
executing a predetermined process by comparing results of the person detection process for the first video frame and the second video frame.