PERSON COUNTING METHOD AND PERSON COUNTING SYSTEM
First Claim
1. A person counting method comprising:
- extracting, from a first video frame of a video source, a group of images of persons to obtain a first image set, each image corresponding to one person;
dividing the first image set into a first subset and a second subset based on whether a related image corresponding to an image in the first image set exists in a second image set, and reusing a person ID of the related image in the second image set for the corresponding image in the first subset, the second image set being a group of images of persons extracted from a video frame preceding the first video frame, a prediction position where the related image in the second image set is located in the first video frame matching an actual position where the corresponding image in the first image set is located in the first video frame;
estimating posture patterns of images in the first subset, and storing the images in the first subset into an image library based on person IDs and the posture patterns; and
for each image in the second subset, selecting, from the image library, a target image whose similarity to the image in the second subset is highest, reusing a person ID of the target image for the corresponding image in the second subset when the similarity of the target image is greater than a predetermined threshold, and assigning a new person ID to the corresponding image in the second subset and outputting a value of a counter for counting persons after incrementing the counter by 1 when the similarity of the target image is less than or equal to the predetermined threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A person counting method and a person counting system are provided. The method includes extracting a group of person images to obtain a first image set; dividing the first image set into first and second subsets based on whether a related image exists in a second image set, and reusing a person ID of the related image; estimating posture patterns of images in the first subset, and storing the images in the first subset into an image library based on person IDs and the posture patterns; and selecting a target image whose similarity to an image in the second subset is highest from the image library, reusing a person ID of the target image when the similarity is greater than a threshold, and assigning a new person ID and incrementing a person counter by 1 when the similarity is not greater than the threshold.
-
Citations
18 Claims
-
1. A person counting method comprising:
-
extracting, from a first video frame of a video source, a group of images of persons to obtain a first image set, each image corresponding to one person; dividing the first image set into a first subset and a second subset based on whether a related image corresponding to an image in the first image set exists in a second image set, and reusing a person ID of the related image in the second image set for the corresponding image in the first subset, the second image set being a group of images of persons extracted from a video frame preceding the first video frame, a prediction position where the related image in the second image set is located in the first video frame matching an actual position where the corresponding image in the first image set is located in the first video frame; estimating posture patterns of images in the first subset, and storing the images in the first subset into an image library based on person IDs and the posture patterns; and for each image in the second subset, selecting, from the image library, a target image whose similarity to the image in the second subset is highest, reusing a person ID of the target image for the corresponding image in the second subset when the similarity of the target image is greater than a predetermined threshold, and assigning a new person ID to the corresponding image in the second subset and outputting a value of a counter for counting persons after incrementing the counter by 1 when the similarity of the target image is less than or equal to the predetermined threshold. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A person counting system comprising:
-
an image extracting unit configured to extract, from a first video frame of a video source, a group of images of persons to obtain a first image set, each image corresponding to one person; a set dividing unit configured to divide the first image set into a first subset and a second subset based on whether a related image corresponding to an image in the first image set exists in a second image set, and reuse a person ID of the related image in the second image set for the corresponding image in the first subset, the second image set being a group of images of persons extracted from a video frame preceding the first video frame, a prediction position where the related image in the second image set is located in the first video frame matching an actual position where the corresponding image in the first image set is located in the first video frame; a posture estimating unit configured to estimate posture patterns of images in the first subset, and store the images in the first subset into an image library based on person IDs and the posture patterns; and a person counting unit configured to select, for each image in the second subset, from the image library, a target image whose similarity to the image in the second subset is highest, reuse a person ID of the target image for the corresponding image in the second subset when the similarity of the target image is greater than a predetermined threshold, and assign a new person ID to the corresponding image in the second subset and outputting a value of a counter for counting persons after incrementing the counter by 1 when the similarity of the target image is less than or equal to the predetermined threshold. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A person counting system comprising:
-
a memory storing computer-readable instructions; and one or more processors configured to execute the computer-readable instructions such that the one or more processors are configured to extract, from a first video frame of a video source, a group of images of persons to obtain a first image set, each image corresponding to one person; divide the first image set into a first subset and a second subset based on whether a related image corresponding to an image in the first image set exists in a second image set, and reuse a person ID of the related image in the second image set for the corresponding image in the first subset, the second image set being a group of images of persons extracted from a video frame preceding the first video frame, a prediction position where the related image in the second image set is located in the first video frame matching an actual position where the corresponding image in the first image set is located in the first video frame; estimate posture patterns of images in the first subset, and store the images in the first subset into an image library based on person IDs and the posture patterns; and for each image in the second subset, select, from the image library, a target image whose similarity to the image in the second subset is highest, reuse a person ID of the target image for the corresponding image in the second subset when the similarity of the target image is greater than a predetermined threshold, and assign a new person ID to the corresponding image in the second subset and outputting a value of a counter for counting persons after incrementing the counter by 1 when the similarity of the target image is less than or equal to the predetermined threshold. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification