CPC G08B 13/19606 (2013.01) [G06V 40/166 (2022.01); G06V 40/171 (2022.01); G06V 40/172 (2022.01); G06V 40/23 (2022.01); G08B 13/19613 (2013.01); G08B 31/00 (2013.01)] | 17 Claims |
1. A method for early warning of climbing behaviors, comprising:
acquiring video image data comprising a monitored target and at least one object;
acquiring behavior information of the at least one object when it is determined that the at least one object enters a target area corresponding to the monitored target; and
marking video frames in which the at least one object is included when it is determined that the behavior information indicates that the at least one object climbs the monitored target;
wherein determining that the at least one object enters the target area corresponding to the monitored target comprises:
acquiring the target area where the monitored target is located in a plurality of video frames in the video image data, and acquiring an object area where a target object is located, a head of the target object being located in the target area;
acquiring a tempo-spatial relation between the object area and the target area, the tempo-spatial relation referring to a relative positional relation between the object area and the target area in space at different times; and
determining that the target object enters the target area when it is determined that the tempo-spatial relation satisfies a first preset condition,
wherein the first preset condition comprises at least one of the following: the object area is within the target area and a distance between a bottom edge of the object area and a bottom edge of the target area does not exceed a set distance threshold, and the object area successively touches an edge and two mark lines of the target area and the distance between the bottom edge of the object area and the bottom edge of the target area does not exceed the set distance threshold, wherein the two mark lines are provided between a connecting line of the target area and the monitored target.
|