Method and apparatus for detecting movement direction of target object
First Claim
1. A method for detecting a movement direction of a target object, the method comprising:
- acquiring a video sequence of the target object, and determining positions of the target object in a plurality of image frames of the video sequence;
setting a plurality of base vectors within a coverage range of an image collection apparatus capturing the video sequence, wherein an angle between each of the base vectors and a reference vector set according to a specific scene being captured satisfies a predetermined condition;
for each of the base vectors, determining a movement direction of the target object between each pair of adjacent image frames with respect to the base vector according to the positions of the target object in the plurality of image frames, and determining a movement direction of the target object with respect to the base vector according to movement directions of the target object between respective pairs of adjacent image frames with respect to the base vector; and
determining a movement direction of the target object according to the movement directions of the target object with respect to respective base vectors.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for detecting a movement direction of a target object are provided. The method comprises: acquiring a video sequence of the target object, and determining positions of the target object in a plurality of image frames of the video sequence; setting a plurality of base vectors within a coverage range of an image collection apparatus capturing the video sequence, wherein an angle between each of the base vectors and a reference vector set according to a specific scene being captured satisfies a predetermined condition; for each of the base vectors, determining a movement direction of the target object between each pair of adjacent image frames with respect to the base vector, and determining a general movement direction of the target object with respect to the base vector thereby; determining a movement direction of the target object according to the general movement directions of the target object.
-
Citations
19 Claims
-
1. A method for detecting a movement direction of a target object, the method comprising:
-
acquiring a video sequence of the target object, and determining positions of the target object in a plurality of image frames of the video sequence; setting a plurality of base vectors within a coverage range of an image collection apparatus capturing the video sequence, wherein an angle between each of the base vectors and a reference vector set according to a specific scene being captured satisfies a predetermined condition; for each of the base vectors, determining a movement direction of the target object between each pair of adjacent image frames with respect to the base vector according to the positions of the target object in the plurality of image frames, and determining a movement direction of the target object with respect to the base vector according to movement directions of the target object between respective pairs of adjacent image frames with respect to the base vector; and determining a movement direction of the target object according to the movement directions of the target object with respect to respective base vectors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus for detecting a movement direction of a target object, the apparatus comprising:
-
a processor; a memory; and a computer program instruction stored in the memory, which, when run by the processor, causes the apparatus for detecting the movement direction of the target object to perform steps of; acquiring a video sequence of the target object, and determining positions of the target object in a plurality of image frames of the video sequence; setting a plurality of base vectors within a coverage range of an image collection apparatus capturing the video sequence, wherein an angle between each of the base vectors and a reference vector set according to a specific scene being captured satisfies a predetermined condition; for each of the base vectors, determining a movement direction of the target object between each pair of adjacent image frames with respect to the base vector according to the positions of the target object in the plurality of image frames, and determining a movement direction of the target object with respect to the base vector according to movement directions of the target object between respective pairs of adjacent image frames with respect to the base vector; and determining a movement direction of the target object according to the movement directions of the target object with respect to respective base vectors.
-
-
19. A non-transitory computer program product for detecting a movement direction of a target object, the non-transitory computer program product comprising:
a non-transitory computer readable storage medium storing thereon a computer program instruction which may be executed by a processor to cause the processor to; acquire a video sequence of the target object, and determine positions of the target object in a plurality of image frames of the video sequence; set a plurality of base vectors within a coverage range of an image collection apparatus capturing the video sequence, wherein an angle between each of the base vectors and a reference vector set according to a specific scene being captured satisfies a predetermined condition; for each of the base vectors, determine a movement direction of the target object between each pair of adjacent image frames with respect to the base vector according to the positions of the target object in the plurality of image frames, and determine a movement direction of the target object with respect to the base vector according to movement directions of the target object between respective pairs of adjacent image frames with respect to the base vector; and determine a movement direction of the target object according to the movement directions of the target object with respect to respective base vectors.
Specification