Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD, SYSTEM, AND COMPUTER READABLE MEDIUM FOR PERFORMANCE MODELING OF CROWD ESTIMATION TECHNIQUES
Document Type and Number:
WIPO Patent Application WO/2019/188458
Kind Code:
A1
Abstract:
Methods and systems for performance modeling of crowd estimation techniques are provided. The system for modeling of crowd estimation techniques includes one or more crowd estimation modules for estimating a crowd count of a crowd in an image and a performance modeling module for each of the one or more crowd estimation modules. The performance modeling module determines a plurality of performances of the corresponding crowd estimation technique at a plurality of crowd levels and models a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation techniques

Inventors:
CHANDRAN ARUN KUMAR (SG)
ZHANG WEN (SG)
TAKAHASHI YUSUKE (SG)
Application Number:
PCT/JP2019/011024
Publication Date:
October 03, 2019
Filing Date:
March 11, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NEC CORP (JP)
International Classes:
G06Q10/04
Foreign References:
US20100322516A12010-12-23
US20180005071A12018-01-04
Other References:
MIYANO, HIROYOSHI ET AL.: "Crowd Behavior Analysis Technology to Detect Changes in Crowded Environments", IMAGE LABORATORY, vol. 25, no. 10, 10 October 2014 (2014-10-10), pages 17 - 21
Attorney, Agent or Firm:
IEIRI, Takeshi (JP)
Download PDF:
Claims:
CLAIMS

[Claim I]

A method for performance modeling of crowd estimation techniques comprising:

determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels; and

modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[Claim 2]

The method according to Claim 1 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level.

[Claim 3]

The method according to Claim 1 or Claim 2 wherein determining a plurality of performances of a crowd estimation technique comprises further determining a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

[Claim 4]

The method according to any of the preceding claims wherein modeling the

performance of the crowd estimation technique comprises determining an error distribution of the plurality of performances of the crowd estimation technique.

[Claim 5]

The method according to Claim 4 wherein determining the error distribution of the plurality of performances of the crowd estimation technique comprises determining an error of crowd counting of each of the plurality of performances.

[Claim 6]

The method according to Claim 4 or Claim 5 wherein determining the error distribution of the plurality of performances of the crowd estimation technique comprises determining a standard deviation of the error distribution for each of the plurality of performances of the crowd estimation technique as an indicator of performance of the crowd estimation technique. [Claim 7]

The method according to any of Claims 1 to 3 wherein modeling the performance of the crowd estimation technique comprises determining an accuracy metric for the plurality of performances of the crowd estimation technique.

[Claim 8]

The method according to Claim 7 wherein the accuracy metric comprises a F-score, and wherein determining the accuracy metric for the plurality of performances of the crowd estimation technique comprises determining a variance of the F-score for the plurality of performances of the crowd estimation technique.

[Claim 9]

The method according to Claim 8 wherein determining the accuracy metric for the plurality of performances of the crowd estimation technique further comprises determining a F- score distribution with respect to a mean of F-scores for the plurality of performances of the crowd estimation technique, the method further comprising determining an indicator of performance of the crowd estimation technique in response to both the variance of the F-score for the plurality of performances of the crowd estimation technique and the F-score distribution with respect to the mean of F-scores for the plurality of performances of the crowd estimation technique.

[Claim 10]

A system for performance modeling of crowd estimation techniques comprising:

one or more crowd estimation modules for estimating a crowd count of a crowd in an image; and

a performance modeling module for each of the one or more crowd estimation modules, the performance modeling module determining a plurality of performances of the corresponding crowd estimation technique at a plurality of crowd levels and modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[Claim 11]

The system according to Claim 10 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level. [Claim 12]

The system according to Claim 10 or Claim 11 wherein the performance modeling module further determines a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

[Claim 13]

The system according to any of Claims 10 to 12 wherein the performance modeling module models the performance of the crowd estimation technique by determining an error distribution of the plurality of performances of the crowd estimation technique.

[Claim 14]

The system according to Claim 13 wherein the performance modeling module determines the error distribution of the plurality of performances of the crowd estimation technique by determining an error of crowd counting for each of the plurality of performances.

[Claim 15]

The system according to Claim 13 or Claim 14 wherein the performance modeling module determines the error distribution of the plurality of performances of the crowd estimation technique by determining a standard deviation of the error distribution for each of the plurality of performances of the crowd estimation technique as an indicator of performance of the crowd estimation technique.

[Claim 16]

The system according to any of Claims 10 to 12 wherein the performance modeling module models the performance of the crowd estimation technique by determining an accuracy metric for the plurality of performances of the crowd estimation technique.

[Claim 17]

The system according to Claim 16 wherein the accuracy metric comprises a F-score, and wherein the performance modeling module determines the accuracy metric for the plurality of performances of the crowd estimation technique by determining a variance of the F-score for the plurality of performances of the crowd estimation technique. [Claim 18]

The system according to Claim 17 wherein the performance modeling module further determines a F-score distribution with respect to a mean of F-scores for the plurality of performances of the crowd estimation technique and then determines an indicator of performance of the crowd estimation technique in response to both the variance of the F-score for the plurality of performances of the crowd estimation technique and the F-score distribution with respect to the mean of F-scores for the plurality of performances of the crowd estimation technique. [Claim 19]

A computer readable medium having stored thereon a program to be executed by a processor, the program causing the processor to execute:

determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels; and

modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[Claim 20]

The computer readable medium according to Claim 19 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level, and wherein determining a plurality of performances of a crowd estimation technique comprises further determining a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

Description:
DESCRIPTION

Title of Invention

METHOD, SYSTEM, AND COMPUTER READABLE MEDIUM FOR PERFORMANCE MODELING OF CROWD ESTIMATION TECHNIQUES

Technical Field

[0001]

The present disclosure generally relates to methods and systems for crowd estimation, and more particularly relates to methods and systems for performance modelling of multiple crowd estimation techniques.

Background Art

[0002]

Many security systems observe areas where crowds form and it is necessary in many circumstances to estimate the size of the crowd for monitoring foot-traffic through the area or for providing services to the area to accommodate the crowd or for other reasons. There are numerous techniques that estimate crowd levels to discover the number of humans in the crowd. The techniques range from simple pixel level techniques such as background subtraction based blob counting to complex pattern recognition techniques such as body part detection and combined head pattern generation. Each technique has its own advantages and disadvantages.

[0003]

A single crowd estimation technique may not be suitable for all environmental and crowd conditions. For example, background subtraction techniques have inferior performance when there is an overlap of humans (i.e., an occlusion). Similarly, body part recognition is also affected in cases of occlusions at high crowd densities, thereby reducing the accuracy of the technique. However, combined head pattern techniques are observed to perform better at high crowd densities due to the underlying concept of learning combined head patterns, yet they tend to have lower accuracies at sparse crowd levels or low crowd densities. Summary of Invention

Technical Problem

[0004]

Thus, what is needed is a method and system for real-time crowd level estimation which provides improved accuracy in a variety of crowd conditions and crowd locations. Furthermore, other desirable features and characteristics will become apparent from the subsequent detailed description and the appended claims, taken in conjunction with the accompanying drawings and this background of the disclosure.

Solution to Problem

[0005]

According to at least one embodiment of the present disclosure, a method for performance modeling of crowd estimation techniques is provided. The method includes determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels and modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[0006]

According to another embodiment of the present disclosure, a system for performance modeling of crowd estimation techniques is provided. The system includes one or more crowd estimation modules for estimating a crowd count of a crowd in an image and a performance modeling module for each of the one or more crowd estimation modules. The performance modeling module determines a plurality of performances of the corresponding crowd estimation technique at a plurality of crowd levels and models a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[0007]

Further, according to another embodiment, a computer readable medium is provided. The computer readable medium has stored thereon a program which, when executed by a processor, causes the processor to perform a method. The method includes determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels and modeling a performance of the crowd estimation technique in response to the plurality of performances, of the crowd estimation technique.

Brief Description of Drawings

[0008]

The accompanying figures, where like reference numerals refer to identical or functionally similar elements throughout the separate views and which together with the detailed description below are incorporated in and form part of the specification, serve to illustrate various embodiments and to explain various principles and advantages in accordance with a present embodiment. [Fig. 1A]

FIG. 1 A depicts illustrations of front end crowd level estimation in accordance with a present embodiment, wherein FIG. 1 A depicts a camera arranged to capture images of a crowd. [Fig. 1B]

5 FIG. IB depicts illustrations of front end crowd level estimation in accordance with a present embodiment, wherein FIG. 1B depicts images of the crowd captured by the camera. [Fig. 2]

FIG. 2 depicts a diagram of a system for crowd level estimation in accordance with a first aspect of the present embodiment.

0 [Fig. 3]

FIG. 3 depicts a diagram of a system for crowd level estimation in accordance with a second aspect of the present embodiment.

[Fig. 4]

FIG. 4 depicts a flowchart of performance modelling in accordance with the second5 aspect of the present embodiment.

[Fig. 5 A]

FIG. 5 A depicts a graph of error distribution for crowd estimation of high crowd level crowds in accordance with the second aspect of the present embodiment.

[Fig. 5B]

0 FIG. 5B depicts a graph of error distribution for crowd estimation of low crowd level crowds in accordance with the second aspect of the present embodiment.

[Fig. 6]

FIG. 6 depicts a graph of F-score variance for two crowd levels in accordance with the present embodiment.

5 [Fig. 7]

FIG. 7 depicts a diagram of a system for crowd level estimation in accordance with a third aspect of the present embodiment.

[Fig. 8]

FIG. 8 depicts a spatial pixel variation crowd estimation technique in accordance with0 the present embodiment.

[Fig. 9] "

FIG. 9 depicts automatic crowd estimation technique switching in accordance with the present embodiment.

- [Fig. 10] FIG. 10 depicts a flowchart of a method for crowd level estimation in accordance with the present embodiment.

[Fig.11]

FIG. 11 depicts a flowchart for selecting the best performing crowd estimation technique in accordance with the present embodiment.

[Fig. 12]

FIG. 12 depicts a configuration example of the computer device according to the present embodiment.

Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been depicted to scale.

Description of Embodiments

[0009]

The following detailed description is merely exemplary in nature and is not intended to limit the present disclosure or the application and uses of the present disclosure. Furthermore, there is no intention to be bound by any theory presented in the preceding background of the invention or the following detailed description. It is the intent of the present embodiment to present methods and systems for real time robust and optimized crowd estimation. When analyzed closely, it is possible to identify and/or model multiple techniques which can complement each other. In accordance with present embodiments, methods and systems to automatically switch between these crowd estimation techniques depending on a current crowd level (low crowd level, high crowd level) and other parameters tap these advantages to provide optimized crowd estimation. Note that throughout this description, high/low crowd density refers to a discrete crowd level and should not be considered as a measure of discrete crowd density.

[0010]

Referring to FIG. 1 A, an illustration 100 depicts a crowd 102 at a location 104 and a camera 106 arranged to capture images of the crowd 102 at the location 104. FIG. 1B depicts an illustration 150 of media 152 capturing images 154, 156. The images 154 are images of a high crowd level (first crowd level) and the images 156 are images of a low crowd level (second crowd level).

[0011]

Referring to FIG. 2, a diagram 200 depicts a system for crowd estimation in accordance with a first aspect of the present embodiment. The system includes an input module 202 for receiving an image of the crowd 102. In accordance with the present embodiments, a plurality of crowd estimation technique calculators 204 receive the image of the crowd 102 from the input module 202 and estimate crowd counts 205 therefrom. An equal plurality of performance modeling modules 206 are coupled to each of the crowd estimation technique calculators 204 for modeling each of the plurality of crowd estimation techniques based on an accuracy thereof at different crowd levels and/or at different locations.

[0012]

A crowd estimation technique integration module 208 selects one or more of the plurality of crowd estimation techniques in response to the performance modeling thereof and an estimated crowd level and/or an estimated location. The crowd estimation technique integration module 208 then estimates the crowd count of the crowd in the received image in accordance with the selected one or more of the plurality of crowd estimation techniques and outputs a final crowd count 210.

[0013]

Accordingly, performance models of individual crowd estimation techniques are created at different crowd levels by using incoming image frames to generate the estimated crowd counts for the different crowd estimation techniques. Then, a crowd level estimation method determines which estimated crowd count to select or assign a high confidence value. In accordance with the present embodiment, the input module 202 can receive the image of the crowd and determine a region of interest within the image of the crowd. The crowd estimation technique integration module 208 then estimates one or both of the crowd level of the crowd in the region of interest within the image of the crowd or the location of the crowd in the region of interest within the image of the crowd.

[0014]

Alternatively, the input module 202 can receive the image of the crowd and divide the image into a plurality of sub-regions. The input module could divide the image of the crowd into the plurality of sub-regions in consideration of a view point of the camera 106 which has captured the image or in respect of other criteria. The crowd estimation technique integration module 208 would then select one or more of the plurality of crowd estimation technique calculators 204 for each of the plurality of sub-regions in response to the performance modeling of the one or more of the plurality of crowd estimation techniques by the corresponding one of the plurality of performance modeling modules 206 and an estimated crowd level and/or an estimated location for the one of the plurality of sub-regions. The crowd estimation technique integration module 208 would then estimate the crowd count of the crowd in each of the plurality of sub-regions in accordance with the selected one or more of the plurality of crowd estimation techniques for that one of the plurality of sub-regions. Finally, the crowd estimation technique integration module 208 would combine the estimated crowd counts for each of the plurality of sub-regions to obtain the final crowd count 210 of the crowd in the received image.

[0015]

In accordance with the present embodiment, the plurality of performance modeling modules 206 could assign a real-time confidence value to each of the plurality of crowd estimation techniques in accordance with the performance modeling thereof. The system may then include a confidence value observer 212 coupled to the crowd estimation technique integration module 208 for removing one of the plurality of crowd estimation technique calculators 204 from selection when the real-time confidence value of the one of the plurality of crowd estimation techniques falls below a confidence value threshold.

[0016]

The crowd estimation technique integration module 208 could further select multiple ones of the plurality of crowd estimation technique calculators 204 and combine the crowd estimation results (crowd counts) 205 from the multiple crowd estimation technique calculators 204 to estimate the crowd count of the crowd in the received image. In accordance with the present embodiment, the crowd estimation technique integration module 208 can dynamically combine the crowd estimation results 205 from the multiple crowd estimation technique calculators 204 in accordance with the real-time confidence value thereof to estimate the final crowd count 210 of the crowd in the received image of the crowd 102. The crowd estimation results 205 can be combined in accordance with an inverted weighted sum approach or in accordance with a normalized weighted sum approach.

[0017]

A further enhancement of the system depicted in the diagram 200 could involve adding a foreground measurement module 214 coupled between the input module 202 and the crowd estimation technique integration module 208 to measure a crowd level in a foreground of the image of the crowd to provide an estimated crowd level for use by the crowd estimation technique integration module 208 when selecting the one or more of the plurality of crowd estimation technique calculators 204.

[0018]

Referring to FIG. 3, a diagram 300 depicts a system for crowd level estimation in accordance with a second aspect of the present embodiment. The system depicted in the diagram 300 implements performance modeling of crowd estimation techniques by the performance modeling modules 206 for each of the one or more crowd estimation technique calculators 204 determining a plurality of performances of the corresponding crowd estimation technique calculator 204 at multiple crowd levels (e.g., HIGH crowd levels, LOW crowd levels) and modeling the performance of the crowd estimation technique calculator 204 in response to the plurality of performances of the crowd estimation technique calculator 204 at the multiple crowd levels.

[0019]

This performance modeling operation of the performance modeling modules 206 is shown in a flowchart 400 of FIG. 4. Each of the performance modeling modules 206 collect images at different crowd levels (Step 402) and categorize those images into low crowd images and high crowd images (Step 404). Each performance modeling module 206 then models the performance of the corresponding crowd estimation technique calculator 204 in response to the plurality of performances of the crowd estimation technique calculator 204 at the different crowd levels (Step 406).

[0020]

Referring back to FIG. 3, the performance modeling modules 206 can also determine a plurality of performances of the corresponding crowd estimation technique calculator 204 at locations of interest and model the performance of the crowd estimation technique calculator 204 in response to the plurality of performances of the crowd estimation technique calculator 204 at the locations of interest.

[0021]

In accordance with the present embodiment, a performance modeling module 206 may model the performance of a corresponding crowd estimation technique calculator 204 by determining an error distribution 302 of the plurality of performances of the crowd estimation technique, such as by determining an error of crowd counting for each of the plurality of performances and/or by determining a standard deviation of the error distribution for each of the plurality of performances of the crowd estimation technique, as an indicator of performance of the crowd estimation technique calculator 204.

[0022]

Referring to FIGs. 5A and 5B, graphs 500, 550 depict error distribution for crowd estimation in accordance with the second aspect of the present embodiment. The graph 500 depicts a graph of error distribution for crowd estimation of high crowd level crowds and the graph 550 depicts a graph of error distribution for crowd estimation of low crowd level crowds. Validation of an accuracy of the crowd estimation technique calculator 204 with image samples at different crowd levels is used by the performance modeling module 206 in accordance with the present embodiment to generate the error distribution 302 at the considered crowd levels, the error referring to the deviation in the crowd estimation from the actual number of people.

[0023]

The standard deviation (s) of the error distribution 302 indicates the suitability of the crowd estimation technique calculator 204. When the count estimate error is less, s is small. For low crowd level s as shown in the graph 550, the error distribution indicates the crowd estimation technique calculator 204 has less error for low crowd levels as compared to high crowd levels (i.e., as shown in the distribution graph 500). The calculation of the standard deviation is shown in Equation (1) below.

where M is the number of samples, Xi is the error of the 1 th sample. The Equation (1) shows that if ai ow « G high , the particular crowd estimation technique calculator 204 being performance modeled by the corresponding performance modeling module 206 is suitable for low crowd level estimation.

[0024]

Referring back to FIG. 3, the performance modeling module 206 may alternatively model the performance of the corresponding crowd estimation technique calculator 204 by determining an accuracy metric for the plurality of performances of the crowd estimation technique, wherein the accuracy metric may include a F-score and wherein the performance modeling module 206 determines the accuracy metric for the plurality of performances of the corresponding crowd estimation technique calculator 204 by determining a variance of the F- score 304 for the plurality of performances of the crowd estimation technique. F-score is a measure of performance based on the number of humans not detected and other regions falsely detected as humans. The performance modeling module 206 may determine the variance of the F-score (F-score distribution) 304 with respect to a mean of F-scores for the multiple

performances of the crowd estimation technique calculator 204 and then determine an indicator of performance of the crowd estimation technique calculator 204 in response to both the variance of the F-score for the multiple performances of the crowd estimation technique calculator 204 and the F-score distribution with respect to the mean of F-scores for the multiple performances of the crowd estimation technique calculator 204.

[0025]

FIG. 6 depicts a graph 600 showing F-score variance at a crowd level 602 and another crowd level 604. The F-score for samples at different crowd levels is used to find the F-Score variance at these crowd levels. The variance V(Fcr ) of F-scores at a particular crowd level can be calculated from Equation (2) below.

where cr is low or high crowd level, M is the number of samples, m is a mean of F-scores and F r is the F-score for the 1 th sample. If V(Fi 0w ) «V(Fhigh) and pi ow » pwg h , the particular crowd estimation technique calculator 204 being performance modeled by the corresponding performance modeling module 206 is suitable for low crowd level estimation.

[0026]

Referring to FIG. 7, a diagram 700 depicts a system for crowd level estimation in accordance with a third aspect of the present embodiment. In accordance with this third aspect, a crowd level estimation module 702 provides an estimated crowd level to the crowd estimation technique integration module 208 for use in selecting a most appropriate one of the crowd estimation technique calculators 204. The crowd level estimation module 702 can estimate a crowd level of the crowd in the input image received by the input module 202 in response to a crowd density level. This could be accomplished by focusing on a region of interest within the image. The input module 202 could receive the input image of the crowd and determine the region of interest within the input image of the crowd. Then, the crowd level estimation module 702 could estimate the crowd level of the crowd within the region of interest of the input image in response to the crowd density level at that region of interest.

[0027]

The crowd level estimation module 702 may include a spatial pixel variation model building unit 704 for modeling spatial variations of each of a plurality of crowd levels in response to pixel density variations thereof to generate multiple models of crowd level spatial variations. The crowd level estimation module 702 can then estimate the crowd level for automatic crowd estimation technique switching 706 by determining a similarity of the input image of the crowd to each of the models of crowd level spatial variations built by the spatial pixel variation model building unit 704 and estimating the crowd level of the crowd in the input image in response to a most similar one of the models of crowd level spatial variations.

[0028]

In regards to determining the most similar one of the models of crowd level spatial variations, the crowd level estimation module 702 can estimate the crowd level of the crowd in the input image in response to a probability density function of a similarity of the input image of the crowd and each of the plurality of models of crowd level spatial variations. More specifically, the crowd level estimation module estimates the crowd level of the crowd in the input image in response to a best fit model of the plurality of models of crowd level spatial variations as determined by the probability density function of the similarity of the input image of the crowd and each of the plurality of models of crowd level spatial variations.

[0029]

The spatial pixel variation model building unit 704 can generate the plurality of models of crowd level spatial variations in response to one or more of a grayscale crowd histogram or a red-green-blue (RGB) crowd histogram 708, a crowd local binary pattern 710 or a crowd texture 712. The automatic crowd estimation technique switching 706 of the crowd level estimation module 702 can switch crowd estimation techniques in response to an estimated discrete level of the crowd in the input image.

[0030]

Thus, crowd levels such as low crowd levels and high crowd levels are estimated to select or to assign higher confidence values to crowd estimation technique calculators 204 which perform better at the estimated crowd level. The crowd level estimation module 702 is accomplished by first spatial pixel variation model building by the spatial pixel variation model building unit 704 and then automatic crowd estimation technique switching 706.

[0031]

Referring to FIG. 8, a flow chart 800 and illustrations 820 depict the operation of the crowd level estimation module 702 where estimation is based on modeling spatial variations of crowd levels by the spatial pixel variation model building unit 704. The flowchart 800 depicts the spatial variation modeling process in accordance with the present embodiment. At a location of interest (Step 802), the camera 106 acquires images of the crowd 102 (Step 804). Training images of the crowd are extracted for required crowd levels (e.g., high crowd level or low crowd level) (Step 806). The spatial pixel variations are then extracted from the training images (Step 808) and spatial pixel variation models are developed for the required crowd levels (Step 810).

[0032]

Turning to the illustrations 820, each of the steps of the flowchart is shown pictorially. At an illustration 830, the camera 106 monitoring the location (location of interest) 104 is selected. In an illustration 840, the video (media 152) is recorded from the location of interest 104 covering different crowd levels ranging from high crowd levels in images 154 to low crowd levels in images 156. [0033]

The illustrations 850 correspond to Step 806 in the flowchart 800 where training images 852 for high crowd levels and training images 854 for low crowd levels are extracted. In this manner, training images (image frames) 852, 854 with different crowd levels covering a‘no person case’ to‘a fully crowded case’ are extracted from the video (video clip) 152 recorded at Step 804 in the flowchart 800.

[0034]

At the next Step 808, spatial pixel variations are extracted. A histogram approach for extracting spatial pixel variation is provided as an example in the illustration 860. A grey scale histogram of an image is a frequency representation of the pixel intensities grouped at discrete pixel intensity levels called bins. Grey scale histograms 862, 864 of all the extracted image frames 852, 854 are recorded with 256 bins. The image-histogram pairs are grouped into high crowd level image frames 852 and histograms 862 and low crowd level image frames 854 and histograms 864 based on the number of humans in the image frames 852, 854.

[0035]

At each crowd level, a bin-wise frequency averaging is performed considering all the image-histogram pairs. The averaging forms histogram models 872, 874 for each crowd level as pictured in the illustration 870. In operation, incoming images (image frames) 154, 156 are compared against these histogram models 872, 874 to estimate a crowd level for each image frame.

[0036]

Referring to FIG. 9, a flow chart 900 and illustrations 920 depict the operation of the crowd level estimation module 702 where estimation is based on automatic crowd estimation technique switching by the automatic crowd estimation technique switching 706 (FIG. 7). The flowchart 900 depicts the automatic crowd estimation technique switching process in accordance with the present embodiment. At a location of interest (Step) 902, the camera 106 acquires a live stream video of images of the crowd 102 (Step 904). The spatial pixel variations are then extracted from the acquired images (Step 906) and crowd level estimation is performed by probability calculation based on similarity determination (Step 908). Processing then selects or integrates the appropriate crowd estimation technique calculator 204 (Step 910).

[0037]

Turning to the illustrations 920, each of the steps of the flowchart are shown pictorially. At an illustration 930, the camera 106 initiates a live video stream of the location of interest 104. In an illustration 940, the automatic periodic capture of image frames 942 of the crowd is initiated for the location of interest 104. The user can define an appropriate time interval for image frame capture 944.

[0038]

At the next Step 906, spatial pixel variations are extracted. An exemplary histogram approach for extracting spatial pixel variation 950 extracts a grey scale histogram 952 of an image as a frequency representation of the pixel intensities grouped at discrete pixel intensity levels.

[0039]

At the next Step 908, the histogram 952 is compared against all the histogram models 872, 874 generated in the illustration (model building stage) 870 (FIG. 8). The histogram 952 is compared to the histogram model 872 at the illustration 962 and compared to the histogram model 874 at the illustration 964. The comparison is performed by calculating similarity scores between the histogram 952 of the incoming image frame and the histogram models 872, 874. Examples of the similarity calculation methods include the correlation method, the Bhattacharya distance method, the Chi-square method and the intersection method. The similarity calculation results in each similarity method acting as a classifier on whether the incoming image frame resembles a high crowd level (the illustration 962) or a low crowd level (the illustration 964).

[0040]

For example, using four different pixel variation modeling methods with each method outputs histogram model 872 or 874 being compared against that of an incoming image frame 942 by four different similarity calculations would result in sixteen classifications. A

Probability Density Function (PDF) can be constructed based on these sixteen classifications as shown in Equations (3) and (4).

At Step 910, an incoming image frame 942 is classified to a particular crowd level based on the highest probability calculated at Step 908. For crowd estimation technique selection at Step 910, the crowd estimation technique calculator 204 with the lowest s or V ( Fcr ) with a high Fcr at the estimated crowd level is selected.

[0042]

For crowd estimation technique integration at Step 910, the final count estimate (Fcount) is calculated using Equation (5).

where i = 1 to N crowd estimation techniques and Z ri is a re-weighted confidence value calculated by Equation (6).

Zri = 1 ^normi (6)

where Z normi is the normalized confidence value in the range [0,1] calculated using Equation

(7)·

where, Z can either be a set of s or a set of V ( Fcr ) generated for all the crowd estimation technique calculators 204. For example, where results from a first crowd estimation technique calculator 204 (e.g., a combined head pattern estimation technique) and a second crowd estimation technique calculator 204 (e.g., an individual head pattern estimation technique) can be represented as Count i and Count2, Equation (8) shows mean averaging of the confidence values.

(Z; x Counti + Z2 Count 2 )12 (8) where Zi » Z2 and Zi + Z2 = 1 (for example Z; could be 1 and Z2 could be 0).

[0043]

Referring to FIG. 10, a flowchart 1000 depicts a method for crowd level estimation in accordance with the present embodiment. When an input image of a crowd is received (Step 1002), each crowd estimation technique is applied to the image (Step 1004) and crowd counts are calculated for each of the crowd estimation techniques (Step 1006). At the same time, spatial pixel variations are extracted from the received input image (Step 1008). The extracted spatial pixel variations are compared against spatial pixel models to find the highest similarity as described above (Step 1010). The crowd level is determined from the comparisons in Step 1010 and confidence values are assigned (Step 1012). The counts calculated for each of the crowd estimation techniques in Step 1006 are then integrated with the crowd level/confidence values determined/assigned in Step 1012 (Step 1014) to estimate the final crowd count (Step 1016).

[0044]

Methods in accordance with the present embodiment can also be used to select the best performing crowd estimation technique. In this case, the incoming image frame is not processed by all crowd estimation techniques; only the selected techniques will process the incoming image frame. Referring to FIG. 11, a flowchart 1100 depicts this selection process.

The input image is received (Step 1102) and spatial pixel variations are extracted (Step 1104). The spatial pixel variations axe compared against all spatial pixel models (Step 1106) to determine the crowd level and select the crowd estimation technique for that crowd level (Step 1108). The selected crowd estimation technique is applied (Step 1110) to estimate the final crowd count (Step 1112).

[0045]

Thus, it can be seen that the present embodiment provides methods and systems for real time robust and optimized crowd estimation. When analyzed closely, it is possible to identify and/or model multiple techniques which can complement each other. In accordance with present embodiments, methods and systems to automatically switch between these crowd estimation techniques depending on a current crowd level (low crowd level, high crowd level) and other parameters tap these advantages to provide optimized real time crowd estimation with improved accuracy in a variety of crowd conditions and crowd locations.

[0046]

While exemplary embodiments have been presented in the foregoing detailed description of the present disclosure, it should be appreciated that a vast number of variations exist. It should further be appreciated that the exemplary embodiments are only examples, and are not intended to limit the scope, applicability, operation, or configuration of the present disclosure in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing an exemplary embodiment of the present disclosure, it being understood that various changes may be made in the function and arrangement of steps and method of operation described in the exemplary embodiment without departing from the scope of the present disclosure as set forth in the appended claims.

[0047]

In the aforementioned embodiment, the functions of the system for crowd estimation depicted as the diagrams 200, 300, and 700 may be implemented, for example, by a processor included in a computer device operating in accordance with a program. FIG. 12 shows a configuration example of the computer device. The computer device 110 includes a processor 120 and a memory 121. The memory 121 includes a volatile memory and/or a non-volatile memory. The memory 121 stores a software (computer program) to be executed on the processor 120 in, for example, the non-volatile memory. The processor 120 is, for example, a Central Processing Unit (CPU) or the like, and the control and the operations executed by the computer device 110 are achieved by, for example, the processor 120 operating in accordance with the computer program loaded from the memory 121. The processor 120 may load the computer program from an external memory of the computer device 110 and execute the loaded computer program instead of loading the computer program from the memory 121 in the computer device 110.

[0048]

The above computer program can be stored and provided to the computer device using any type of non-transitory computer readable media. Non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (e.g. magneto-optical disks), CD-ROM (compact disc read only memory), CD-R (compact disc recordable), CD-R/W (compact disc rewritable), and semiconductor memories (such as mask ROM, PROM (programmable ROM), EPROM (erasable PROM), flash ROM, RAM (random access memory), etc.). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line (e.g. electric wires, and optical fibers) or a wireless communication line.

[0049]

The whole or part of the exemplary embodiments disclosed above can be described as, but not limited to, the following supplementary notes.

[0050]

(Supplementary note 1)

A method for performance modeling of crowd estimation techniques comprising:

determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels; and

modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[0051]

(Supplementary note 2)

The method according to Supplementary note 1 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level.

[0052]

(Supplementary note 3)

The method according to Supplementary note 1 or Supplementary note 2 wherein determining a plurality of performances of a crowd estimation technique comprises further determining a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

[0053]

(Supplementary note 4)

The method according to any of the preceding Supplementary notes wherein modeling the performance of the crowd estimation technique comprises determining an error distribution of the plurality of performances of the crowd estimation technique.

[0054]

(Supplementary note 5)

The method according to Supplementary note 4 wherein determining the error distribution of the plurality of performances of the crowd estimation technique comprises determining an error of crowd counting of each of the plurality of performances.

[0055]

(Supplementary note 6)

The method according to Supplementary note 4 or Supplementary note 5 wherein determining the error distribution of the plurality of performances of the crowd estimation technique comprises determining a standard deviation of the error distribution for each of the plurality of performances of the crowd estimation technique as an indicator of performance of the crowd estimation technique.

[0056]

(Supplementary note 7)

The method according to any of Supplementary notes 1 to 3 wherein modeling the performance of the crowd estimation technique comprises determining an accuracy metric for the plurality of performances of the crowd estimation technique.

[0057]

(Supplementary note 8)

The method according to Supplementary note 7 wherein the accuracy metric comprises a F-score, and wherein determining the accuracy metric for the plurality of performances of the crowd estimation technique comprises determining a variance of the F-score for the plurality of performances of the crowd estimation technique.

[0058]

(Supplementary note 9)

The method according to Supplementary note 8 wherein determining the accuracy metric for the plurality of performances of the crowd estimation technique further comprises determining a F-score distribution with respect to a mean of F-scores for the plurality of performances of the crowd estimation technique, the method further comprising determining an indicator of performance of the crowd estimation technique in response to both the variance of the F-score for the plurality of performances of the crowd estimation technique and the F-score distribution with respect to the mean of F-scores for the plurality of performances of the crowd estimation technique.

[0059]

(Supplementary note 10)

A system for performance modeling of crowd estimation techniques comprising:

one or more crowd estimation modules for estimating a crowd count of a crowd in an image; and

a performance modeling module for each of the one or more crowd estimation modules, the performance modeling module determining a plurality of performances of the corresponding crowd estimation technique at a plurality of crowd levels and modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[0060]

(Supplementary note 11)

The system according to Supplementary note 10 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level.

[0061]

(Supplementary note 12)

The system according to Supplementary note 10 or Supplementary note 11 wherein the performance modeling module further determines a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

[0062]

(Supplementary note 13)

The system according to any of Supplementary notes 10 to 12 wherein the performance modeling module models the performance of the crowd estimation technique by determining an error distribution of the plurality of performances of the crowd estimation technique.

[0063]

(Supplementary note 14)

The system according to Supplementary note 13 wherein the performance modeling module determines the error distribution of the plurality of performances of the crowd estimation technique by determining an error of crowd counting for each of the plurality of performances. [0064]

(Supplementary note 15)

The system according to Supplementary note 13 or Supplementary note 14 wherein the performance modeling module determines the error distribution of the plurality of performances of the crowd estimation technique by determining a standard deviation of the error distribution for each of the plurality of performances of the crowd estimation technique as an indicator of performance of the crowd estimation technique.

[0065]

(Supplementary note 16)

The system according to any of Supplementary notes 10 to 12 wherein the performance modeling module models the performance of the crowd estimation technique by determining an accuracy metric for the plurality of performances of the crowd estimation technique.

[0066]

(Supplementary note 17)

The system according to Supplementary note 16 wherein the accuracy metric comprises a F-score, and wherein the performance modeling module determines the accuracy metric for the plurality of performances of the crowd estimation technique by determining a variance of the F- score for the plurality of performances of the crowd estimation technique.

[0067]

(Supplementary note 18)

The system according to Supplementary note 17 wherein the performance modeling module further determines a F-score distribution with respect to a mean of F-scores for the plurality of performances of the crowd estimation technique and then determines an indicator of performance of the crowd estimation technique in response to both the variance of the F-score for the plurality of performances of the crowd estimation technique and the F-score distribution with respect to the mean of F-scores for the plurality of performances of the crowd estimation technique.

[0068]

(Supplementary note 19)

A computer readable medium having stored thereon a program to be executed by a processor, the program causing the processor to execute:

determining a plurality of performances of a crowd estimation technique at a corresponding plurality of crowd levels; and

modeling a performance of the crowd estimation technique in response to the plurality of performances of the crowd estimation technique.

[0069]

(Supplementary note 20)

The computer readable medium according to Supplementary note 19 wherein the plurality of crowd levels comprises a first crowd level and a second crowd level lower than the first crowd level, and wherein determining a plurality of performances of a crowd estimation technique comprises further determining a plurality of performances of a crowd estimation technique at a plurality of locations of interest.

[0070]

This application is based upon and claims the benefit of priority from Singapore Patent

Application No. 10201802670T, filed on March 29, 2018, the disclosure of which is incorporated herein in its entirety by reference.