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 information processing apparatus comprising:
at least one memory configured to store instructions; and
at least one processor configured to execute the instructions to:
detect a stationary object from video data;
execute person detection process of detecting a person in vicinity of a target object for each of a first video frame and a second video frame, the target object being an object detected as the stationary object, the first video frame including the target object, the second video frame including the target object and being generated after the first video frame; and
execute a predetermined process by comparing results of the person detection process for each of the first video frame and the second video frame,
wherein the predetermined process includes determining that the target object is in a first state of being left in a case where the person detected from the first video frame is not detected from the second video frame, and determining that the target object is in a second state of not being left in a case where the person detected from the first video frame is detected from the second video frame,
wherein the person detection process includes processing one or more video frames generated between timing 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. 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 video data;
executing person detection process of detecting a person in vicinity of a target object for each of a first video frame and a second video frame, the target object being an object detected as the stationary object, the first video frame including the target object, the second video frame including the target object and being generated after the first video frame; and
executing a predetermined process by comparing results of the person detection process for each of the first video frame and the second video frame,
wherein the predetermined process includes determining that the target object is in a first state of being left in a case where the person detected from the first video frame is not detected from the second video frame, and determining that the target object is in a second state of not being left in a case where the person detected from the first video frame is detected from the second video frame,
wherein the person detection process includes processing one or more video frames generated between timing the first video frame and the second video frame.
4. The computer-implemented method according to claim 3 , wherein the first video frame and the second video frame are displayed on a same screen.
5. A non-transitory computer-readable medium storing a program for causing a computer to perform operations, the operations comprising:
detecting a stationary object from video data;
executing person detection process of detecting a person in vicinity of a target object for each of a first video frame and a second video frame, the target object being an object detected as the stationary object, the first video frame including the target object, the second video frame including the target object and being generated after the first video frame; and
executing a predetermined process by comparing results of the person detection process for each of the first video frame and the second video frame,
wherein the predetermined process includes determining that the target object is in a first state of being left in a case where the person detected from the first video frame is not detected from the second video frame, and determining that the target object is in a second state of not being left in a case where the person detected from the first video frame is detected from the second video frame,
wherein the person detection process includes processing one or more video frames generated between timing the first video frame and the second video frame.
6. The non-transitory computer-readable medium according to claim 5 , wherein the first video frame and the second video frame are displayed on a same screen.