A method, device and storage medium for determining tag personnel gathering

By establishing a tagging personnel database and calculating the aggregation coefficient, the problem of aggregation confirmation of tagging persons in a fixed area is solved, efficient and accurate aggregation judgment is achieved, labor costs are reduced and efficiency is improved, and powerful data support is provided for police management.

CN112001322BActive Publication Date: 2024-08-23ROPEOK TECHNOLOGY GROUP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010864389.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-25
Publication Date
2024-08-23
Estimated Expiration
2040-08-25

AI Technical Summary

Technical Problem

The existing technology has the problems of high labor cost, low efficiency, complex fixed location, unknown identity and great chance in confirming the gathering of tagging people in a fixed area, making it difficult to accurately judge the gathering situation of tagging people.

Method used

By obtaining the face image information of people entering and exiting a fixed area, a database of labeled people, related people, and people in the same household is established, and the face recognition engine is used to identify the identity, and the aggregation factor between each two people is calculated to calculate each person's The clustering coefficient determines whether the clustering threshold is reached to determine the clustering of labeled people.

Benefits of technology

It achieves accurate judgment on the gathering of tag personnel, reduces labor costs, improves efficiency, and provides more accurate data to support police management and case handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112001322B
    Figure CN112001322B
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for determining the gathering of labeled personnel, obtaining facial image information of personnel entering and leaving a fixed area; identifying the identity of the personnel corresponding to the facial image information through a face recognition engine, and obtaining the entry trajectory information of the identified personnel entering the fixed area and the exit trajectory information of the identified personnel leaving the fixed area; obtaining the valid personnel data who entered the fixed area and did not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel; if there are target labeled personnel in the valid personnel data, respectively calculating the gathering factor between each two people; calculating the gathering coefficient of each person, obtaining the personnel data whose gathering coefficient is greater than or equal to the gathering coefficient threshold and judging whether the personnel data is the gathering of labeled personnel. Not only can the gathering personnel of the target be obtained, but also certain data reference and judgment can be provided, which is helpful to better manage the place.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent security, and in particular to a method, a device and a storage medium for determining a gathering of tagged personnel. Background Art

[0002] With the rapid development of face recognition technology, personnel identity information recognition technology has been extended and applied to many scenarios, especially in the field of intelligent security. Therefore, a label personnel information database is established. Label personnel refer to personnel with attribute labels maintained by third-party systems, national fugitive databases, and user customization. The third-party system can be a public security system or a court system. For example, a dishonest person subject to execution is also a label person. The information of label personnel can be identified through face recognition technology, but there are many difficulties in confirming the gathering of label personnel in a fixed area. For example, in the confirmation of the gathering of label personnel in a bar, it is generally confirmed by citizen feedback and police visits and investigations. There are problems such as high labor costs, low efficiency, complex personnel in fixed locations, unknown identities, and high contingency. The judgment of the gathering of label personnel effectively helps relevant agencies obtain more effective information.

[0003] In the prior art, the patent application number CN201880064864.6, entitled "Human Aggregation Analysis Device, Mobile Destination Plan Making Device, Human Aggregation Analysis System, Vehicle and Human Aggregation Analysis Program", calculates the aggregation based on the movement distribution of people, but there are still some difficulties in confirming the aggregation. In particular, for some labeled personnel, it is impossible to confirm the aggregation more accurately.

[0004] In view of this, it is very meaningful to establish a more accurate method to determine the clustering of label personnel. Summary of the invention

[0005] In view of the above-mentioned problems such as the complexity of personnel in fixed locations and the inability to accurately determine the gathering of labeled personnel, the embodiment of the present application aims to propose a method, device and storage medium for determining the gathering of labeled personnel to solve the technical problems mentioned in the above background technology section.

[0006] In a first aspect, an embodiment of the present application provides a method for determining a tag person gathering, comprising the following steps:

[0007] S1: Obtain facial image information of people entering and leaving a fixed area, establish a label person database based on the information set of labeled people, establish a relationship person database based on the information set of people with genealogical relationships, establish a household person database based on the information set of people with the same address in one label and three real addresses, and establish a total person database based on the information set of all known people;

[0008] S2: Identify the identity of the person corresponding to the facial image information through the face recognition engine according to the total personnel database, and obtain the entry trajectory information of the identified person entering the fixed area and the exit trajectory information of the identified person leaving the fixed area;

[0009] S3: Acquire valid personnel data that enter a fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel;

[0010] S4: If the target labeled person exists in the valid personnel data, the clustering factor between every two people is calculated according to the labeled personnel database, the relationship personnel database, and the same household personnel database, otherwise the process ends directly; and

[0011] S5: Calculate the clustering coefficient of each person according to the clustering factor of each person and other people, obtain the personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold, and determine whether the personnel data is a labeled personnel cluster.

[0012] In some embodiments, a label personnel database is established by synchronizing the label personnel interface of a third-party system and the label personnel maintained by the user, a relationship personnel database is established by synchronizing the family tree interface of the third-party system and the personnel relationship maintained by the user, a household personnel database is established by synchronizing the one-label three-real personnel database interface of the third-party system, and a total personnel database is established by synchronizing the population subject database of the third-party system, the one-label three-real personnel database interface of the third-party system, and the user-collected personnel database. Establishing personnel databases of various relationship categories is conducive to providing a basis for subsequent judgment of the aggregation of label personnel.

[0013] In some embodiments, multiple face recognition engines analyze and fuse the face image information with the face images in the total personnel database to identify the identity of the person corresponding to the face image information. The face recognition data obtained by analyzing and fusing multiple face recognition engines is more accurate.

[0014] In some embodiments, valid personnel data includes data that is in the identified personnel entry trajectory information and is not in the identified personnel exit trajectory information within a set time interval, or data that is in the identified personnel exit trajectory information and subsequently appears in the identified personnel entry trajectory information.

[0015] In some embodiments, when both persons are target label persons in step S4, the clustering factor is calculated as follows:

[0016] S411: If they exist in the relationship personnel database, the aggregation factor of the two people is A1;

[0017] S412: If they exist in the same household database, the aggregation factor of the two people is B1; and

[0018] S413: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C1.

[0019] According to the situation of the two target label persons in the relationship personnel database and the same household personnel database, an objective data, namely the clustering factor, can be given to facilitate subsequent calculation and processing.

[0020] In some embodiments, when one of the two persons is a target label person in step S4, the clustering factor is calculated as follows:

[0021] S421: If they exist in the relationship personnel database, the aggregation factor of the two people is A2;

[0022] S422: If they exist in the same household database, the aggregation factor of the two people is B2; and

[0023] S423: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C2.

[0024] According to the situation of two people, one of whom has a target label, in the relationship personnel database and the same household personnel database, an objective data, namely the clustering factor, can be given to facilitate subsequent calculation and processing.

[0025] In some embodiments, when both persons are not target label persons in step S4, the clustering factor is calculated as follows:

[0026] S431: If they exist in the relationship personnel database, the aggregation factor of the two people is A3;

[0027] S432: If they exist in the same household database, the aggregation factor of the two people is B3; and

[0028] S433: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C3.

[0029] According to the situation of two people who are not target label persons in the relationship personnel database and the same household personnel database, an objective data, namely the clustering factor, can be given to facilitate subsequent calculation and processing.

[0030] In some embodiments, in step S5, each person's clustering coefficient is obtained by weighted calculation of the clustering factors of each person and other persons. The weighted calculation can obtain a more objective and accurate clustering coefficient.

[0031] In some embodiments, determining whether the personnel data is a labeled personnel cluster in step S5 specifically includes:

[0032] By calculating the total number of people and the total clustering coefficient in the personnel data, and judging whether the personnel data is a labeled personnel cluster according to the total number of people and the total clustering coefficient and the size of the clustered personnel parameter and the clustering coefficient parameter.

[0033] The judgment criteria for label personnel aggregation are based on the total number of personnel data and the total aggregation coefficient, so the judgment is more in line with the requirements of personnel aggregation.

[0034] In some embodiments, judging whether the personnel data is a labeled personnel cluster according to the total number of people and the total clustering coefficient and the size of the clustering personnel parameter and the clustering coefficient parameter specifically includes:

[0035] S51: If the total number of people and the total clustering coefficient are respectively greater than or equal to the clustering personnel parameter and the clustering coefficient parameter, the personnel data is a labeled personnel cluster;

[0036] S52: If the total number of people is within the minimum deviation clustering personnel parameter range and the total clustering coefficient is outside the maximum deviation clustering coefficient parameter range, the personnel data is a labeled personnel cluster; and

[0037] S53: If the total number of people is outside the maximum deviation clustering personnel parameter range and the total clustering coefficient is within the minimum deviation clustering coefficient parameter range, the personnel data is labeled personnel clustering, otherwise the personnel data is not labeled personnel clustering.

[0038] By judging by the total number of people and the parameters of the clustered personnel and the maximum or minimum deviation clustered personnel parameter range, and combining the total clustering coefficient with the clustering coefficient parameters and the maximum or minimum deviation clustering coefficient parameter range, a more accurate and reasonable judgment on the clustering of labeled personnel can be made.

[0039] In a second aspect, an embodiment of the present application further proposes a device for determining a gathering of labeled persons, comprising:

[0040] The data acquisition module is configured to acquire facial image information of persons entering and leaving a fixed area, establish a tagged person database based on the information set of persons tagged with a label, establish a relationship person database based on the information set of persons with a family tree relationship, establish a household person database based on the information set of persons with the same address in one label and three real addresses, and establish a total person database based on the information set of all known persons;

[0041] The face recognition module is configured to identify the identity of the person corresponding to the face image information through the face recognition engine according to the total person database, and obtain the entry trajectory information of the identified person entering the fixed area and the exit trajectory information of the identified person leaving the fixed area;

[0042] An effective personnel data acquisition module is configured to acquire effective personnel data who enter a fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel;

[0043] The clustering factor calculation module is configured to calculate the clustering factor between every two people according to the label personnel database, the relationship personnel database, and the same-household personnel database if there is a target label person in the valid personnel data, otherwise it ends directly; and

[0044] The labeled personnel clustering determination module is configured to calculate the clustering coefficient of each person based on the clustering factor of each person and other people, obtain personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold, and determine whether the personnel data is a labeled personnel cluster.

[0045] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement a method as described in any implementation method in the first aspect.

[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any implementation manner in the first aspect.

[0047] The present invention discloses a method and device for determining the gathering of labeled personnel. By acquiring the facial image information of personnel entering and leaving a fixed area, a labeled personnel database, a relationship personnel database, a same-household personnel database and a total personnel database are established; the identity of the personnel corresponding to the facial image information is identified by a face recognition engine according to the total personnel database, and the entry trajectory information of the identified personnel entering the fixed area and the exit trajectory information of the identified personnel leaving the fixed area are obtained; the valid personnel data who enter the fixed area and do not leave within a set time interval are obtained according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel; if there is a target labeled person in the valid personnel data, the gathering factor between each two people is calculated according to the labeled personnel database, the relationship personnel database and the same-household personnel database, otherwise it ends directly; the gathering coefficient of each person is calculated according to the gathering factor of each person and other people, and the personnel data whose gathering coefficient is greater than or equal to the gathering coefficient threshold is obtained, and it is judged whether the personnel data is a gathering of labeled personnel. The method and device are used in some places in fixed areas, not only can the gathering personnel of the target be obtained, but also certain data reference and judgment can be provided for the daily management and case handling of the police, which is helpful to better manage the place. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 is an exemplary device architecture diagram to which an embodiment of the present application may be applied;

[0050] Figure 2 A schematic flow chart of a method for determining a gathering of labeled personnel according to an embodiment of the present invention;

[0051] Figure 3 It is a flow chart of a method for calculating a clustering factor when both persons are target labeled persons in step S4 of a method for determining a clustering of labeled persons in an embodiment of the present invention;

[0052] Figure 4 It is a flow chart of a method for calculating a clustering factor when one of two persons is a target labeled person in step S4 of a method for determining a clustering of labeled persons in an embodiment of the present invention;

[0053] Figure 5 It is a flowchart of a method for calculating a clustering factor when both persons are not target labeled persons in step S4 of a method for determining a clustering of labeled persons in an embodiment of the present invention;

[0054] Figure 6 It is a flow chart of determining whether the personnel data is a labeled personnel aggregation according to the total number of persons and the total aggregation coefficient and the size of the aggregated personnel parameter and the aggregation coefficient parameter in step S5 of the method for determining the labeled personnel aggregation of an embodiment of the present invention;

[0055] Figure 7 A schematic diagram of an apparatus for determining a gathering of tagged persons according to an embodiment of the present invention;

[0056] Figure 8 It is a schematic diagram of the structure of a computer device suitable for implementing the electronic device of the embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] Figure 1 An exemplary device architecture 100 is shown in which a method for determining tag-person aggregation or a device for determining tag-person aggregation according to an embodiment of the present application can be applied.

[0059] like Figure 1 As shown, the device architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0060] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various applications, such as data processing applications, file processing applications, etc., can be installed on terminal devices 101, 102, 103.

[0061] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.

[0062] The server 105 may be a server that provides various services, such as a background data processing server that processes files or data uploaded by the terminal devices 101, 102, and 103. The background data processing server may process the acquired files or data and generate processing results.

[0063] It should be noted that the method for determining the gathering of labeled personnel provided in the embodiment of the present application can be executed by the server 105, or by the terminal devices 101, 102, 103. Accordingly, the device for determining the gathering of labeled personnel can be set in the server 105, or in the terminal devices 101, 102, 103.

[0064] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided as required. In the case where the processed data does not need to be obtained remotely, the above device architecture may not include a network, but only a server or a terminal device.

[0065] Figure 2 A method for determining a gathering of labeled persons provided by an embodiment of the present application is shown, comprising the following steps:

[0066] S1: Obtain facial image information of people entering and leaving a fixed area, establish a label person database based on the information set of labeled people, establish a relationship person database based on the information set of people with genealogical relationships, establish a household person database based on the information set of people with the same address in one label and three real addresses, and establish a total person database based on the information set of all known people;

[0067] S2: Identify the identity of the person corresponding to the facial image information through the face recognition engine according to the total personnel database, and obtain the entry trajectory information of the identified person entering the fixed area and the exit trajectory information of the identified person leaving the fixed area;

[0068] S3: Acquire valid personnel data that enter a fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel;

[0069] S4: If the target labeled person exists in the valid personnel data, the clustering factor between every two people is calculated according to the labeled personnel database, the relationship personnel database, and the same household personnel database, otherwise the process ends directly; and

[0070] S5: Calculate the clustering coefficient of each person according to the clustering factor of each person and other people, obtain the personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold, and determine whether the personnel data is a labeled personnel cluster.

[0071] In a specific embodiment, the facial image information of the personnel entering and leaving the fixed area in step S1 can be obtained by obtaining the facial capture information (including capture information and captured face images) uploaded by all camera interfaces entering and leaving the fixed area. The establishment of the label personnel library, the relationship personnel library, the same household personnel library and the total personnel library is specifically established in the following manner: the label personnel library is established through the synchronization of the label personnel interface of the third-party system and the label personnel maintained by the user, wherein the label personnel interface of the third-party system also includes the national fugitive interface, and the specific labels include various case-related labels; the relationship personnel library is established through the synchronization of the family tree interface of the third-party system and the personnel relationship maintained by the user; the same household personnel library is established through the synchronization of the one-standard three-real personnel library interface of the third-party system; the total personnel library is established through the population theme library of the third-party system, the one-standard three-real personnel library interface of the third-party system and the user-collected personnel library. The third-party system specifically includes various personnel theme libraries such as household registration and floating population, the basic investigation system (one-standard three-real), the fugitive data interface of the Ministry of Public Security, and the Xiamen label personnel library. By establishing a personnel library of each relationship category, it is beneficial to provide a basis for the subsequent judgment of the aggregation of label personnel.

[0072] In a specific embodiment, in step S2, multiple face recognition engines are used to analyze and fuse the face image information with the face images in the total personnel database to identify the identity of the person corresponding to the face image information. In other embodiments, a single face recognition engine may also be used to identify the face image information in the total personnel database, but the face recognition data obtained by analyzing and fusing multiple face recognition engines is more accurate. The recognition results of multiple face recognition engines are analyzed and fused, and parameters such as accuracy are relatively better than the recognition results of a single face recognition engine. The captured information of the identified entry into the fixed area is entered into the entry trajectory information of the identified person, and the captured information of the identified exit from the fixed area is entered into the exit trajectory information of the identified person. The selection of the fixed area is selected according to the specific scene and application requirements, such as bars, KTVs, restaurants, etc.

[0073] In a specific embodiment, the valid personnel data finally obtained in step S3 includes data in the identified personnel entry trajectory information and not in the identified personnel exit trajectory information within the set time interval, or data in the identified personnel exit trajectory information and subsequently appearing in the identified personnel entry trajectory information. The set time interval is marked as TR, and the valid personnel data is marked as T. If the valid personnel data T does not contain the target label person, then directly end, otherwise, execute the next step.

[0074] In a specific embodiment, Figure 3 As shown, in step S4, when both persons are target label persons, the clustering factor is calculated as follows:

[0075] S411: If they exist in the relationship personnel database, the aggregation factor of the two people is A1;

[0076] S412: If they exist in the same household database, the aggregation factor of the two people is B1; and

[0077] S413: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C1.

[0078] In the example, A and B exist in the relationship personnel database, A1 can be set to 0.5; A and C exist in the same-household personnel database, B1 can be set to 0.45; if A and D exist neither in the relationship personnel database nor in the same-household personnel database, C1 can be set to 0.4.

[0079] In a specific embodiment, Figure 4 As shown, in step S4, when one of the two persons is the target label person, the clustering factor is calculated as follows:

[0080] S421: If they exist in the relationship personnel database, the aggregation factor of the two people is A2;

[0081] S422: If they exist in the same household database, the aggregation factor of the two people is B2; and

[0082] S423: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C2.

[0083] In the example, A and B exist in the relationship personnel database, A2 can be set to 0.4; A and C exist in the same-household personnel database, B2 can be set to 0.35; if A and D exist neither in the relationship personnel database nor in the same-household personnel database, C2 can be set to 0.3.

[0084] In a specific embodiment, Figure 5 As shown, in step S4, when both persons are not target label persons, the clustering factor is calculated as follows:

[0085] S431: If they exist in the relationship personnel database, the aggregation factor of the two people is A3;

[0086] S432: If they exist in the same household database, the aggregation factor of the two people is B3; and

[0087] S433: If the two people do not exist in either the related personnel database or the same household personnel database, the clustering factor of the two people is C3.

[0088] In the example, A and B exist in the relationship personnel database, A3 can be set to 0.05; A and C exist in the same-household personnel database, B3 can be set to 0.1; if A and D exist neither in the relationship personnel database nor in the same-household personnel database, C3 can be set to 0.15.

[0089] In a specific embodiment, in step S5, the clustering coefficient N of each person is obtained by weighted calculation of the clustering factor M of each person and other people. Weighted calculation can obtain a more objective and accurate clustering coefficient. In one embodiment, the clustering coefficient of each person is obtained by directly adding up the clustering factors of each person. In other embodiments, weights can also be set according to whether each person has a relationship with other people for weighted calculation. Obtain personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold NT, and filter out personnel data P whose clustering coefficient is less than the clustering coefficient threshold NT. The personnel data P is a part of the valid personnel data T, and finally calculate the total number of people PS and the total clustering coefficient PN in the personnel data P.

[0090] In a specific embodiment, determining whether the personnel data is a labeled personnel cluster in step S5 specifically includes:

[0091] By calculating the total number of people and the total aggregation coefficient in the personnel data, and determining whether the personnel data is the aggregation of labeled personnel based on the comparison between the total number of people PS and the total aggregation coefficient PN and the labeled personnel parameter PST and the aggregation coefficient parameter PNT.

[0092] In a specific embodiment, such as Figure 6 shown, determining whether the personnel data is the aggregation of labeled personnel based on the comparison between the total number of people and the total aggregation coefficient and the labeled personnel parameter and the aggregation coefficient parameter specifically includes:

[0093] S51: If the total number of people and the total aggregation coefficient are respectively greater than or equal to the labeled personnel parameter and the aggregation coefficient parameter, then the personnel data is the aggregation of labeled personnel;

[0094] S52: If the total number of people is within the range of the minimum deviation labeled personnel parameter and the total aggregation coefficient is outside the range of the maximum deviation aggregation coefficient parameter, then the personnel data is the aggregation of labeled personnel; and

[0095] S53: If the total number of people is outside the range of the maximum deviation labeled personnel parameter and the total aggregation coefficient is within the range of the minimum deviation aggregation coefficient parameter, then the personnel data is the aggregation of labeled personnel, otherwise the personnel data is not the aggregation of labeled personnel.

[0096] If the total number of people PS and the total aggregation coefficient PN are respectively greater than or equal to the labeled personnel parameter PST and the aggregation coefficient parameter PNT, then the personnel data P is the aggregation of labeled personnel; if the total number of people PS is within the range of the minimum deviation labeled personnel parameter (i.e., PST*(1 - X) < PS < PST) and the total aggregation coefficient PN is outside the range of the maximum deviation aggregation coefficient parameter (i.e., PN > PNT*(1 + X)), then the personnel data P is the aggregation of labeled personnel; if the total number of people PS is outside the range of the maximum deviation labeled personnel parameter (i.e., PS > PST*(1 + X)) and the total aggregation coefficient PN is within the range of the minimum deviation aggregation coefficient parameter (i.e., PNT*(1 - X) < PN < PNT), then the personnel data P is the aggregation of labeled personnel; 9.4 Otherwise, the personnel data P is not the aggregation of labeled personnel. By judging through the total number of people and the labeled personnel parameter and the range of the maximum or minimum deviation labeled personnel parameter, and combining with the total aggregation coefficient and the aggregation coefficient parameter and the range of the maximum or minimum deviation aggregation coefficient parameter for judgment, a relatively accurate and reasonable judgment of the aggregation of labeled personnel can be obtained.

[0097] The embodiment of the present application also proposes a device for determining the aggregation of labeled personnel, such as Figure 7 shown, including:

[0098] The data acquisition module 1 is configured to acquire facial image information of persons entering and leaving a fixed area, establish a label person database based on the information set of persons marked with labels, establish a relationship person database based on the information set of persons with genealogical relationships, establish a household person database based on the information set of persons with the same address in one label and three real addresses, and establish a total person database based on the information set of all known persons;

[0099] The face recognition module 2 is configured to identify the identity of the person corresponding to the face image information through the face recognition engine according to the total person database, and obtain the entry trajectory information of the identified person entering the fixed area and the exit trajectory information of the identified person leaving the fixed area;

[0100] The valid personnel data acquisition module 3 is configured to acquire valid personnel data who enter the fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel;

[0101] The clustering factor calculation module 4 is configured to calculate the clustering factor between every two people according to the label personnel database, the relationship personnel database, and the same-household personnel database if there is a target label person in the valid personnel data, otherwise it ends directly; and

[0102] The labeled personnel clustering determination module 5 is configured to calculate the clustering coefficient of each person according to the clustering factor of each person and other people, obtain personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold, and determine whether the personnel data is a labeled personnel cluster.

[0103] The present invention discloses a method and device for determining the gathering of labeled personnel. By acquiring the facial image information of personnel entering and leaving a fixed area, a labeled personnel database, a relationship personnel database, a same-household personnel database and a total personnel database are established; the identity of the personnel corresponding to the facial image information is identified by a face recognition engine according to the total personnel database, and the entry trajectory information of the identified personnel entering the fixed area and the exit trajectory information of the identified personnel leaving the fixed area are obtained; the valid personnel data who enter the fixed area and do not leave within a set time interval are obtained according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel; if there is a target labeled person in the valid personnel data, the gathering factor between each two people is calculated according to the labeled personnel database, the relationship personnel database and the same-household personnel database, otherwise it ends directly; the gathering coefficient of each person is calculated according to the gathering factor of each person and other people, and the personnel data whose gathering coefficient is greater than or equal to the gathering coefficient threshold is obtained, and it is judged whether the personnel data is a gathering of labeled personnel. The method and device are used in some places in fixed areas, not only can the gathering personnel of the target be obtained, but also certain data reference and judgment can be provided for the daily management and case handling of the police, which is helpful to better manage the place.

[0104] Reference below Figure 8 , which shows an electronic device (eg Figure 1 A schematic diagram of the structure of a computer device 800 (a server or terminal device as shown). Figure 8 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0105] like Figure 8 As shown, the computer device 800 includes a central processing unit (CPU) 801 and a graphics processing unit (GPU) 802, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 803 or the program loaded from the storage part 809 to the random access memory (RAM) 804. In the RAM 804, various programs and data required for the operation of the device 800 are also stored. The CPU 801, GPU 802, ROM 803 and RAM 804 are connected to each other through a bus 805. An input / output (I / O) interface 806 is also connected to the bus 805.

[0106] The following components are connected to the I / O interface 806: an input section 807 including a keyboard, a mouse, etc.; an output section 808 including a display such as a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 809 including a hard disk, etc.; and a communication section 810 including a network interface card such as a LAN card, a modem, etc. The communication section 810 performs communication processing via a network such as the Internet. A drive 811 can also be connected to the I / O interface 806 as needed. A removable medium 812, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 811 as needed, so that a computer program read therefrom is installed into the storage section 809 as needed.

[0107] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 810, and / or installed from a removable medium 812. When the computer program is executed by a central processing unit (CPU) 801 and a graphics processing unit (GPU) 802, the above-mentioned functions defined in the method of the present application are executed.

[0108] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, device or component, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution device, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution device, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0109] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0110] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0111] The modules involved in the embodiments described in this application may be implemented by software or hardware, and the modules described may also be set in a processor.

[0112] As another aspect, the present application further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains facial image information of persons entering and exiting a fixed area, establishes a label person database according to the information set of persons marked with labels, establishes a relationship person database according to the information set of persons with genealogical relationships, establishes a household person database according to the information set of persons with the same address as one label and three real addresses, and establishes a total person database according to the information set of all known persons; identifies the identity of the person corresponding to the facial image information through a face recognition engine according to the total person database, and obtains entry trajectory information of the identified persons entering the fixed area and exit trajectory information of the identified persons leaving the fixed area; obtains valid personnel data that enters the fixed area and does not leave within a set time interval according to the entry trajectory information of the identified persons and the exit trajectory information of the identified persons; if there is a target label person in the valid personnel data, calculates the clustering factor between each two persons according to the label person database, the relationship person database, and the household person database, otherwise terminates directly; and calculates the clustering coefficient of each person according to the clustering factor of each person and other persons, obtains personnel data with a clustering coefficient greater than or equal to a clustering coefficient threshold, and determines whether the personnel data is a cluster of label persons.

[0113] The above are only preferred embodiments of the present application and descriptions of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A method for determining a gathering of labeled persons, characterized in that: The following steps are involved: S1: Obtain facial image information of people entering and leaving a fixed area, establish a label person database based on the information set of labeled people, establish a relationship person database based on the information set of people with genealogical relationships, establish a household person database based on the information set of people with the same address in one label and three real addresses, and establish a total person database based on the information set of all known people; S2: Identify the identity of the person corresponding to the facial image information through the face recognition engine according to the total personnel database, and obtain entry trajectory information of the identified person entering the fixed area and exit trajectory information of the identified person leaving the fixed area; S3: acquiring valid personnel data who enter the fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel; S4: If there is a target labeled person in the valid personnel data, the clustering factor between every two people is calculated according to the labeled personnel database, the related personnel database, and the same-household personnel database, otherwise the process ends directly; as well as When both persons are target label persons, the clustering factor is calculated as follows: S411: If they exist in the relationship personnel database, the aggregation factor of the two people is A1; S412: If they exist in the same household database, the aggregation factor of the two people is B1; and S413: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C1; When one of the two persons is the target label person, the clustering factor is calculated as follows: S421: If they exist in the relationship personnel database, the aggregation factor of the two persons is A2; S422: If they exist in the same household database, the aggregation factor of the two people is B2; and S423: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C2; When neither person is a target label person, the clustering factor is calculated as follows: S431: If they exist in the relationship personnel database, the aggregation factor of the two persons is A3; S432: If they exist in the household database, the aggregation factor of the two persons is B3; and S433: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C3; S5: Calculate the clustering coefficient of each person according to the clustering factor of each person and other people, obtain personnel data whose clustering coefficient is greater than or equal to the clustering coefficient threshold, and determine whether the personnel data is a labeled personnel cluster; The clustering coefficient of each person is obtained by weighted calculation of the clustering factors of each person and other persons; By calculating the total number of people and the total clustering coefficient in the personnel data, and judging whether the personnel data is a labeled personnel cluster according to the total number of people and the total clustering coefficient and the size of the clustered personnel parameter and the clustering coefficient parameter, specifically including: S51: If the total number of people and the total clustering coefficient are respectively greater than or equal to the clustered personnel parameter and the clustering coefficient parameter, the personnel data is a labeled personnel cluster; S52: If the total number of people is within the minimum deviation clustering personnel parameter range and the total clustering coefficient is outside the maximum deviation clustering coefficient parameter range, the personnel data is a labeled personnel cluster; and S53: If the total number of people is outside the maximum deviation clustering personnel parameter range and the total clustering coefficient is within the minimum deviation clustering coefficient parameter range, the personnel data is labeled personnel clustering, otherwise the personnel data is not labeled personnel clustering.

2. The method for determining tag person gathering according to claim 1, characterized in that: A tagged personnel database is established through synchronization of the tagged personnel interface of the third-party system and the tagged personnel maintained by users; a relationship personnel database is established through synchronization of the genealogy interface of the third-party system and the personnel relationships maintained by users; a same-household personnel database is established through synchronization of the one-label, three-real personnel database interface of the third-party system; a total personnel database is established through synchronization of the population subject database of the third-party system, the one-label, three-real personnel database interface of the third-party system and the personnel database collected by users.

3. The method for determining tag personnel gathering according to claim 1, characterized in that: The facial image information is analyzed and integrated with the facial images in the total personnel database through multiple facial recognition engines to identify the identity of the person corresponding to the facial image information.

4. The method for determining tag person gathering according to claim 1, characterized in that: The valid personnel data includes data that is in the identified personnel entry trajectory information and is not in the identified personnel exit trajectory information within the set time interval, or data that is in the identified personnel exit trajectory information and subsequently appears in the identified personnel entry trajectory information.

5. A device for determining a gathering of labeled persons, characterized in that: include: The data acquisition module is configured to acquire facial image information of persons entering and leaving a fixed area, establish a tagged person database based on the information set of persons tagged with a label, establish a relationship person database based on the information set of persons with a family tree relationship, establish a household person database based on the information set of persons with the same address in one label and three real addresses, and establish a total person database based on the information set of all known persons; A face recognition module is configured to identify the identity of the person corresponding to the face image information through a face recognition engine according to the total person database, and obtain entry trajectory information of the identified person entering the fixed area and exit trajectory information of the identified person leaving the fixed area; An effective personnel data acquisition module is configured to acquire effective personnel data who enter the fixed area and do not leave within a set time interval according to the entry trajectory information of the identified personnel and the exit trajectory information of the identified personnel; The clustering factor calculation module is configured to calculate the clustering factor between every two persons according to the label personnel database, the relationship personnel database, and the same-household personnel database respectively if there is a target label person in the valid personnel data, otherwise the clustering factor is directly terminated; as well as When both persons are target label persons, the clustering factor is calculated as follows: S411: If they exist in the relationship personnel database, the aggregation factor of the two people is A1; S412: If they exist in the same household database, the aggregation factor of the two people is B1; and S413: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C1; When one of the two persons is the target label person, the clustering factor is calculated as follows: S421: If they exist in the relationship personnel database, the aggregation factor of the two persons is A2; S422: If they exist in the same household database, the aggregation factor of the two people is B2; and S423: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C2; When neither person is a target label person, the clustering factor is calculated as follows: S431: If they exist in the relationship personnel database, the aggregation factor of the two persons is A3; S432: If they exist in the same household database, the aggregation factor of the two people is B3; and S433: If the two persons do not exist in the related personnel database or the same household personnel database, the clustering factor of the two persons is C3; A label personnel gathering determination module is configured to calculate the gathering coefficient of each person according to the gathering factor of each person and other persons, obtain personnel data whose gathering coefficient is greater than or equal to the gathering coefficient threshold, and determine whether the personnel data is a label personnel gathering; The clustering coefficient of each person is obtained by weighted calculation of the clustering factors of each person and other persons; By calculating the total number of people and the total clustering coefficient in the personnel data, and judging whether the personnel data is a labeled personnel cluster according to the total number of people and the total clustering coefficient and the size of the clustered personnel parameter and the clustering coefficient parameter, specifically including: S51: If the total number of people and the total clustering coefficient are respectively greater than or equal to the clustered personnel parameter and the clustering coefficient parameter, the personnel data is a labeled personnel cluster; S52: If the total number of people is within the minimum deviation clustering personnel parameter range and the total clustering coefficient is outside the maximum deviation clustering coefficient parameter range, the personnel data is a labeled personnel cluster; and S53: If the total number of people is outside the maximum deviation clustering personnel parameter range and the total clustering coefficient is within the minimum deviation clustering coefficient parameter range, the personnel data is labeled personnel clustering, otherwise the personnel data is not labeled personnel clustering.

6. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a computer, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • People-gathering analysis device, movement destination prediction creation device, people-gathering analysis system, vehicle, and people-gathering analysis program

    CN111279402A

  • Video analysis and detection method and system for crowd gathering and moving

    CN106331657A

  • Special crowd gathering behavior analysis method and device and electronic device

    CN109858365A

  • Facial image recognition method and apparatus, electronic device, and storage medium

    WO2020155627A1