CN114792451B - Information processing method, device, and storage medium - Google Patents
Information processing method, device, and storage medium Download PDFInfo
- Publication number
- CN114792451B CN114792451B CN202210708085.3A CN202210708085A CN114792451B CN 114792451 B CN114792451 B CN 114792451B CN 202210708085 A CN202210708085 A CN 202210708085A CN 114792451 B CN114792451 B CN 114792451B
- Authority
- CN
- China
- Prior art keywords
- objects
- information
- face
- similarity
- identity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/32—Individual registration on entry or exit not involving the use of a pass in combination with an identity check
- G07C9/37—Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/38—Individual registration on entry or exit not involving the use of a pass with central registration
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
Abstract
The application provides an information processing method, equipment and a storage medium, wherein attribute information of each object in a first object set acquired by access control equipment in a first area and attribute information of each object in a second object set acquired by the access control equipment in a second area are acquired; the attribute information comprises identity information, a face image and face size information, and the face image and the face size information are collected through an image collecting unit in the access control equipment; the method comprises the steps of obtaining the similarity of one or more items of information in any two pairs of object attribute information in a first object set and a second object set, and determining the same object in the first object set and the second object set; and merging the attribute information of the same object. The same object is effectively identified through multi-dimensional comparison of the similarity of the attribute information of the objects collected by different access control devices, and the attribute information of the same object is combined, so that a foundation can be provided for the attribute information of each object to be synchronized in the access control devices in different areas, and the problem of synchronization conflict is avoided.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an information processing method, an information processing apparatus, and a storage medium.
Background
An enterprise or an organization usually uses access control equipment to check attendance on a staff, and the attendance condition of the staff can be counted by recording the attribute information of the staff and checking the card of the staff.
For some enterprises or institutions, there may be a plurality of different areas, for example, different parks, different areas may have different entrance guard devices, each entrance guard device may enter attribute information of people in its own area, but there may be a flow of people, and the same person may enter different areas. In order to uniformly manage the personnel, the attribute information of the personnel recorded by each access control device is reported to the server, and the attribute information is stored or synchronized to the access control devices in other areas by the server.
Because each access control device can input and report the attribute information of the personnel in each region, the access control devices in different regions can possibly have repeated personnel, and the server cannot effectively identify the repeated personnel.
Disclosure of Invention
The application provides an information processing method, equipment and a storage medium, which are used for effectively identifying the same object and combining the attribute information of the same object.
In a first aspect, the present application provides an information processing method, including:
acquiring attribute information of each object in a first object set acquired by access control equipment in a first area and attribute information of each object in a second object set acquired by access control equipment in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment;
acquiring similarity of one or more items of information in attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity;
and merging the attribute information of the same object.
In a second aspect, the present application provides an information processing apparatus comprising:
the access control device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring attribute information of each object in a first object set acquired by the access control device in a first area and attribute information of each object in a second object set acquired by the access control device in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment;
the matching module is used for acquiring the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set and determining the same object in the first object set and the second object set according to the similarity;
and the information merging module is used for merging the attribute information of the same object.
In a third aspect, the present application provides an electronic device, comprising: at least one processor; and a memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the information processing method, the equipment and the storage medium, the attribute information of each object in a first object set acquired by the access control equipment in a first area and the attribute information of each object in a second object set acquired by the access control equipment in a second area are acquired; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment; acquiring the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity; and merging the attribute information of the same object. The similarity of the attribute information of the objects collected by different access control devices is compared through multiple dimensions, so that the same objects are effectively identified, the attribute information of the same objects is combined, a foundation can be synchronously provided for the attribute information of each object in the access control devices in different areas, and the problem of synchronous conflict is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a system diagram of an information processing method according to an embodiment of the present application;
fig. 2 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 3 is a flowchart of an information processing method according to another embodiment of the present application;
fig. 4 is a flowchart of an information processing method according to another embodiment of the present application;
fig. 5 is a schematic diagram of obtaining a face length according to an embodiment of the present application:
fig. 6 is a block diagram of an information processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
An enterprise or an organization usually uses access control equipment to check attendance on a worker, and the attendance condition of the worker can be counted by recording the attribute information of the worker and checking the card of the worker for registration.
For some enterprises or organizations, a plurality of different areas may exist, for example, different parks, different areas may be provided with different access control devices, each access control device may enter attribute information of people in each area, but people may flow, and the same person may enter different areas. In order to uniformly manage the personnel, the attribute information of the personnel recorded by each access control device is reported to the server, and the attribute information is stored or synchronized to the access control devices in other areas by the server.
However, each access control device can input and report the attribute information of the personnel in each area, repeated personnel can possibly occur in access control devices in different areas, each access control device can report the attribute information of the personnel to the server in an asynchronous mode after a period of time, the problem of synchronous conflict can exist, and the server can synchronize the attribute information of the repeated personnel; in addition, attribute information of repeat persons acquired by different access control devices may have certain errors or deviations, for example, attribute information input errors, and for example, acquisition of face pictures is influenced by camera parameters and illumination to have deviations, which may result in that a server cannot effectively identify repeat persons.
In order to solve the technical problem, the present application provides an information processing method, which includes acquiring attribute information of each object in a first object set acquired by an access control device in a first area, and acquiring attribute information of each object in a second object set acquired by an access control device in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment; acquiring the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity; and merging the attribute information of the same object. The similarity of the attribute information of the objects collected by different access control devices is compared through multiple dimensions, so that the same objects are effectively identified, the attribute information of the same objects is combined, a foundation can be synchronously provided for the attribute information of each object in the access control devices in different areas, and the problem of synchronous conflict is avoided.
The information processing method provided by the application is suitable for the system shown in fig. 1, and comprises a plurality of areas of access control devices and a server 103, wherein the access control devices in the plurality of areas only take an access control device 101 in a first area and an access control device 102 in a second area as examples; the access control equipment 101 in the first area uploads the acquired attribute information of each object in the first object set to the server 103, and the access control equipment 102 in the second area uploads the acquired attribute information of each object in the second object set to the server 103; the server 103 can obtain the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determine the same object in the first object set and the second object set according to the similarity; and merging the attribute information of the same object. The access control device may include, but is not limited to, an image acquisition unit, an input unit, and the like.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present application. The embodiment provides an information processing method, an execution main body of which is an electronic device such as a server, and the information processing method comprises the following specific steps:
s201, acquiring attribute information of each object in a first object set acquired by access control equipment in a first area and attribute information of each object in a second object set acquired by access control equipment in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired through an image acquisition unit in the access control equipment.
In this embodiment, when any object visits the first area or the second area, the attribute information of the object, including but not limited to identity information, a face image, face size information, and the like, is acquired by the access control device in the first area or the access control device in the second area, where the identity information may include but not limited to an identity, a contact, name information, and the like, which are automatically input by the object, and the face image and the face size information are acquired by an image acquisition unit (e.g., a camera) in the access control device. The access control equipment in the first area can upload the collected attribute information of one or more objects (namely, the attribute information of each object in the first object set) to the server, the access control equipment in the second area can upload the collected attribute information of one or more objects (namely, the attribute information of each object in the second object set) to the server, and the server can perform unified management on personnel in each area, such as attendance checking and the like, based on the attribute information of the objects.
In the present embodiment, only the first region and the second region are taken as examples, and the same applies when there are more regions. Optionally, the attribute information of each object in any one of the first object set and the second object set acquired by the access control device in the first area and the second object set may also be the attribute information of each object in the object set, which is acquired at the past time and stored in the server.
It should be noted that the processing of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the user data and other information in the embodiment all complies with the regulations of the relevant laws and regulations, and does not violate the good customs of the public order.
S202, obtaining the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity.
In this embodiment, since there may be some objects visiting the first area and the second area, for example, some hydroelectric maintenance workers, special technicians, and the like may go to each area according to the shift schedule to perform operations, and the access control equipment in the first area and the access control equipment in the second area may both collect the attribute information of the objects, the same object may exist in the first object set and the second object set, and therefore the same object needs to be identified from the first object set and the second object set to merge the attribute information.
Specifically, for any two objects in the first object set and the second object set, the similarity of one or more items in the two object attribute information is obtained, and whether the two objects are the same object is determined based on the similarity. If the similarity of one item of attribute information is adopted, the similarity is directly compared with a preset threshold value, and if the similarity is greater than the preset threshold value, the same object is determined; and if the similarity of the multiple items of attribute information is adopted, performing weighted summation on the similarity of each item of attribute information in the multiple items of attribute information, comparing the weighted summation result with a preset threshold value, and if the weighted summation result is greater than the preset threshold value, determining the same object.
And S203, merging the attribute information of the same object.
In this embodiment, the server may store or synchronize the attribute information of the merged object to the access control devices in each area, and may perform unified management on personnel in each area based on the attribute information of the object, for example, attendance checking, and determine the absent personnel based on the attribute information of each object collected on the current day, and other applications are not described herein again.
In the information processing method of this embodiment, attribute information of each object in a first object set acquired by an access control device in a first area and attribute information of each object in a second object set acquired by an access control device in a second area are acquired; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment; acquiring the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity; and merging the attribute information of the same object. The embodiment compares the similarity of the attribute information of the objects collected by different access control devices through multi-dimension, thereby effectively identifying the same object, combining the attribute information of the same object, and further synchronously providing a basis for the attribute information of each object in the access control devices in different areas, and avoiding the problem of synchronous conflict.
On the basis of any of the above embodiments, the identity information includes an identity, which is a unique identifier of the object; as shown in fig. 3, the obtaining the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set in S202, and determining the same object in the first object set and the second object set according to the similarity may include:
s301, respectively verifying the authenticity of the identity marks of any two objects in the first object set and the second object set;
in this embodiment, the identification usually has a certain rule, for example, the last bit is a check code, which is calculated according to a unified formula through the previous number to check the authenticity of the identification, and the authenticity of the identification input by each object can be verified based on the last check code of the identification of each object.
If the identity of the two objects is true, S302 can be executed; further, if at least one of the identities of the two objects is not true, S304 may be performed.
S302, if the identity marks of the two objects are true, comparing the identity marks of the two objects;
in this embodiment, if it is determined that the identifiers of the two objects are both true, that is, it is described that each identifier is complete and accurate, the identity of the object may be accurate according to the identifiers.
S303, if the identity identifications of the two objects are the same, determining that the two objects are the same object; or if the identification marks of the two objects are different, determining that the two objects are not the same object.
In this embodiment, the identity of the object can be accurately determined based on the identity, so that if the identities of the two objects are the same, the two objects are directly determined to be the same object; and if the identification marks of the two objects are different, directly determining that the two objects are not the same object.
S304, if at least one of the identity marks of the two objects is not true, acquiring the similarity among the identity information, the face image and the face size information of the two objects;
s305, carrying out weighted summation on the similarity among the identity information, the face image and the face size information of the two objects to obtain the comprehensive similarity of the two objects.
In this embodiment, when it is determined that at least one of the identity identifiers of the two objects is not true, it indicates that the identity identifiers of the two objects may have a certain degree of missing filling or filling errors, and therefore, it is necessary to determine whether the two objects are the same object by combining multiple dimensions of each of the identity information, the face image, and the face size information of the two objects. Specifically, the similarity of the identity information of the two objects, including but not limited to the identity, the contact information, and the name information, the similarity of the face images of the two objects, and the similarity of the face size information, may be obtained, and then weighted summation is performed, where the weight of each similarity may be preconfigured, which is not limited herein. And then whether the two objects are the same object can be determined based on the comparison of the comprehensive similarity obtained by the weighted summation and a preset threshold value.
And S306, if the comprehensive similarity of the two objects is larger than a preset threshold value, determining that the two objects are the same object.
In this embodiment, if the integrated similarity of the two objects is greater than the preset threshold, the two objects can be accurately determined to be the same object, and if the integrated similarity of the two objects is not greater than the preset threshold, the two objects can be accurately determined not to be the same object. By matching most of the dimension information, the accuracy of identifying whether the same objects exist can be improved.
On the basis of any of the above embodiments, obtaining the similarity between the identity information of the two objects may include obtaining the similarity of the identity identifiers, and specifically includes:
and comparing the identity marks of the two objects from left to right and from right to left, acquiring the character proportions matched with each other in the identity marks of the two objects, and determining the similarity of the identity marks of the two objects.
In this embodiment, the identifiers of the two objects are sequentially compared from left to right and from right to left, and the character proportion of matching the identifiers from left to right and from right to left is determined, for example, 18 bits of identifiers are total, when the identifiers are input into the access control devices in the first area and the second area, the 5 th digit is wrongly filled, the characters are compared from left to right and from right to left until unmatched characters are obtained, the matching character proportion is 4/18 and 13/18, 17/18 is obtained through summation, the similarity of the identifiers of the two objects is determined, and the same number of characters before and after the identifiers can be accurately determined through left to right and from right to left comparison. Certainly, other matching manners may also be used to determine the similarity between the identifiers of the two objects, for example, only one of the comparison identifiers in the left-to-right comparison and the right-to-left comparison is used for all the bits, which is not described herein again.
On the basis of any of the above embodiments, the identity information further includes a contact address; obtaining the similarity between the identity information of the two objects, and also obtaining the similarity of the contact ways, specifically comprising:
and acquiring the character proportion matched with each other in the contact ways of the two objects, and determining the similarity of the contact ways of the two objects.
In this embodiment, the contact manner may be a phone number, and the character ratio that matches each other in the contact manners of the two objects is determined by comparing the contact manners bit by bit, which is determined as the similarity of the contact manners of the two objects. Optionally, a matching manner identical to the above-mentioned identity identifier may also be adopted, that is, performing left-to-right comparison and right-to-left comparison in sequence, and determining a character ratio of matching between left-to-right comparison and right-to-left comparison, or other matching manners, which is not limited herein.
On the basis of any of the above embodiments, the identity information further includes name information; obtaining the similarity between the identity information of the two objects, and also obtaining the similarity of name information, which specifically includes:
if the characters of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is 1; or alternatively
If the characters of the name information of the two objects are inconsistent and the pinyin of the name information of the two objects is consistent, determining that the similarity of the name information of the two objects is a first preset value; or
If the characters of the name information of the two objects are inconsistent, the pinyin of the name information of the two objects is inconsistent, and the pinyin initial consonant abbreviations of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is a second preset value; or alternatively
And if the characters of the name information of the two objects are inconsistent, the pinyin of the name information of the two objects is inconsistent, and the pinyin of the name information of the two objects is consistent after ignoring the flat-raised tongue sound and/or the nasal sound, determining that the similarity of the name information of the two objects is a third preset numerical value.
In this embodiment, the characters of the name information of the two objects may be directly compared, and if the characters of the name information of the two objects are consistent, it is determined that the similarity of the name information of the two objects is 1; if the characters of the name information of the two objects are not consistent, the pinyin of the name information of the two objects can be compared when the characters of the name information of the two objects are not consistent, and if the pinyin of the name information of the two objects is consistent, the similarity of the name information of the two objects is determined to be a first preset numerical value, such as 0.9, considering that the pinyin is the same but the characters are wrong when input is possible; in addition, if the characters of the name information of the two objects are not consistent, the pinyin of the name information of the two objects is not consistent, and the condition of pinyin input error also exists, so that the name information of the two objects can be compared with the pinyin initial consonants of the name information of the two objects, and if the pinyin initial consonants of the name information of the two objects are consistent, the name information of the two objects is determined to have certain similarity, and the similarity can be determined to be a second preset numerical value, such as 0.6; in another case, if the characters of the name information of the two objects are not consistent, the pinyin of the name information of the two objects is not consistent, or the flat-raised tongue sound and/or the nasal sound are/is wrong due to the problems of accents and the like, the pinyin of the name information of the two objects can be compared after the flat-raised tongue sound and/or the nasal sound are ignored, if the characters of the name information of the two objects are consistent, it is determined that the name information of the two objects has a certain similarity, and the similarity is determined to be a third preset value, for example, 0.7. Through the process, the similarity of the name information of the two objects can be determined more accurately, and more situations are covered.
On the basis of any of the above embodiments, the obtaining of the similarity between the face images of the two objects may specifically include:
and according to a preset face recognition algorithm, acquiring the similarity between the face images of the two objects.
In this embodiment, the similarity between the two face images of the object can be determined by a preset face recognition algorithm, such as a neural network, and will not be described herein again. Whether two objects are the same object can be determined more accurately based on the similarity of the face images.
On the basis of the embodiment, in order to increase the dimension of the attribute information of the object, the comparison of the similarity of the face size information is also considered, and the comparison accuracy is improved. The method includes the steps that the human face size information of each object in a first object set acquired by the access control equipment in a first area is acquired, and the human face size information of each object in a second object set acquired by the access control equipment in a second area specifically includes the following steps:
for the face image of any object acquired by any access control equipment, determining the relative multiple of the face length of the object relative to the face length of a preset reference object according to the face image of the object and the face image of the preset reference object; the face image of the preset reference object is the face image acquired by the image acquisition unit in the access control equipment in the first area and/or the second area.
In this embodiment, a preset reference object may be allowed to stand in front of the image acquisition unit in the access control device in the first area and/or the second area in advance, the face of the person faces the image acquisition unit of the access control device, and a face image of the preset reference object is acquired as a reference image, and when the face length of any object is acquired, the face image of the preset reference object is used as a reference, a relative multiple of the face length of the object with respect to the face length of the preset reference object is determined as face size information of the object, and when the similarity between the face size information of two objects is acquired, the relative multiple of the face lengths of the two objects with respect to the preset reference object is compared, and the similarity between the face size information of the two objects is determined. Optionally, in consideration that the installation positions and the shooting angles of the image acquisition units in the access control devices in the first area and the second area may be different, the preset reference object may be respectively stood in front of the image acquisition units in the access control devices in the first area and the second area to acquire the face images of the preset reference object, and when the relative multiple of the face length of any object with respect to the preset reference object is acquired, the relative multiple of the face length of the object with respect to the preset reference object may be determined based on the face image of the object and the face image of the preset reference object in the area where the face image of the object is located.
More specifically, when determining the relative multiple of the face length of the object with respect to the face length of the preset reference object, as shown in fig. 4, the method may include:
s401, screening out a target face image of the object from a plurality of alternative face images acquired by the access control equipment for the object;
the target face image is a face image which is acquired by the access control equipment when the object is at different distances and faces of the object towards the access control equipment image acquisition unit, and the target face image is a face image which is positioned at the same position as the bottom end or the top end of the face in the face images of the preset reference object in the multiple candidate face images;
s402, obtaining the ratio of the number of pixels occupied by the length direction of the face in the target face image of the object to the number of pixels occupied by the length direction of the face in the face image of the preset reference object, and determining the ratio as the relative multiple of the length of the face of the object relative to the length of the face of the preset reference object.
In this embodiment, when any object is in front of any access control device, the face of the object may be moved toward the image acquisition unit of the access control device, so that multiple candidate face images of the object at different distances may be acquired, because the image acquisition unit is fixed, the positions and sizes of the faces in the multiple candidate face images are different, a target face image is selected from the candidate face images, the face in the target face image and the bottom end or the top end of the face in the face image of the preset reference object are at the same position, so that the target face image has comparability, taking the bottom end of the face as an example, as shown in fig. 5, where a solid line face is the face of the current object and a dotted line object face is the face of the preset reference object, the number of pixels occupied in the length direction of the face in the target face image of the object is counted (in fig. 5, the target face image and the face image of the preset reference object are overlapped to make an example), and the number of pixels occupied in the length direction of the face in the face image of the preset reference object are compared to obtain a ratio, which the length of the object is determined as a relative multiple of the length of the preset reference object relative to the preset reference object, and the preset reference object are compared to each other face position, and the preset reference object, so that the preset reference object has the relative multiple of the preset reference object.
Fig. 6 is a block diagram of an information processing apparatus according to an embodiment of the present application. The information processing apparatus provided in this embodiment may execute the processing flow provided in the embodiment of the information processing method, and as shown in fig. 6, the information processing apparatus 600 includes: an obtaining module 601, a matching module 602, and an information merging module 603.
The access control device comprises an acquisition module 601, a processing module and a processing module, wherein the acquisition module 601 is used for acquiring attribute information of each object in a first object set acquired by the access control device in a first area and attribute information of each object in a second object set acquired by the access control device in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment;
a matching module 602, configured to obtain similarity of one or more items of information in attribute information of any two objects in the first object set and the second object set, and determine the same object in the first object set and the second object set according to the similarity;
an information merging module 603, configured to merge the attribute information of the same object.
In one or more embodiments of the present application, the identity information includes an identity; the matching module 602, when obtaining similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity, is configured to:
respectively verifying the authenticity of the identity marks of any two objects in the first object set and the second object set;
if the identity marks of the two objects are true, comparing the identity marks of the two objects;
if the identity identifications of the two objects are the same, determining that the two objects are the same object; or
And if the identification marks of the two objects are different, determining that the two objects are not the same object.
In one or more embodiments of the present application, the matching module 602 is further configured to:
if at least one of the identity marks of the two objects is not true, acquiring the similarity among the identity information, the face image and the face size information of the two objects;
carrying out weighted summation on the similarity among the identity information, the face image and the face size information of the two objects to obtain the comprehensive similarity of the two objects;
and if the comprehensive similarity of the two objects is greater than a preset threshold value, determining that the two objects are the same object.
In one or more embodiments of the present application, when acquiring the face size information of each object in a first object set acquired by an access control device in a first area and the face size information of each object in a second object set acquired by an access control device in a second area, the acquiring module 601 is configured to:
for the face image of any object acquired by any access control equipment, determining the relative multiple of the face length of the object relative to the face length of a preset reference object according to the face image of the object and the face image of the preset reference object; the face image of the preset reference object is a face image acquired by an image acquisition unit in the access control equipment of the first area and/or the second area;
the matching module 602, when obtaining the similarity between the face size information of two objects, is configured to:
and comparing the face lengths of the two objects with the relative multiple of a preset reference object, and determining the similarity between the face size information of the two objects.
In one or more embodiments of the present application, when determining, for a face image of any object acquired by any access control device, a relative multiple of a face length of the object with respect to a face length of a preset reference object according to the face image of the object and a face image of the preset reference object, the acquiring module 601 is configured to:
screening a target face image of the object from a plurality of alternative face images acquired by the access control equipment for the object, wherein the plurality of alternative face images are face images acquired by the access control equipment when the object is at different distances, faces of the object face the access control equipment image acquisition unit, and the target face image is a face image which is positioned at the same position as the bottom end or top end of a face in the face images of the preset reference object in the plurality of alternative face images;
and acquiring the ratio of the number of pixels occupied by the length direction of the face in the target face image of the object to the number of pixels occupied by the length direction of the face in the face image of the preset reference object, and determining the ratio as the relative multiple of the length of the face of the object relative to the length of the face of the preset reference object.
In one or more embodiments of the present application, when obtaining similarity between identity information of two objects, the matching module 602 is configured to:
comparing the identity marks of the two objects from left to right and from right to left to obtain the character proportion matched with each other in the identity marks of the two objects and determine the similarity of the identity marks of the two objects; and/or
The identity information further comprises a contact way; acquiring the similarity between the identity information of the two objects, comprising the following steps:
and acquiring the character proportion matched with each other in the contact ways of the two objects, and determining the similarity of the contact ways of the two objects.
In one or more embodiments of the present application, the identity information further includes name information; when obtaining the similarity between the identity information of two objects, the matching module 602 is configured to:
if the characters of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is 1; or
If the characters of the name information of the two objects are inconsistent and the pinyin of the name information of the two objects is consistent, determining that the similarity of the name information of the two objects is a first preset value; or alternatively
If the characters of the name information of the two objects are inconsistent, the pinyin of the name information of the two objects is inconsistent, and the pinyin initial consonant abbreviations of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is a second preset value; or alternatively
And if the characters of the name information of the two objects are inconsistent, the pinyin of the name information of the two objects is inconsistent, and the pinyin of the name information of the two objects is consistent after ignoring the flat-warped-tongue sound and/or the nasal sound, determining that the similarity of the name information of the two objects is a third preset value.
In one or more embodiments of the present application, the matching module 602, when obtaining the similarity between two face images of the subject, is configured to:
and according to a preset face recognition algorithm, acquiring the similarity between the face images of the two objects.
The information processing device of the embodiment of the present application may be configured to execute the technical solutions of the method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 shows a hardware structure diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 700 is configured to implement the operations corresponding to the electronic device in any of the method embodiments described above, where the electronic device 700 of this embodiment may include: memory 701, processor 702, and communication interface 703.
A memory 701 for storing a computer program. The Memory 701 may include a Random Access Memory (RAM), a Non-Volatile Memory (NVM), at least one disk Memory, a usb disk, a removable hard disk, a read-only Memory, a magnetic disk or an optical disk.
The processor 702 is configured to execute the computer program stored in the memory to implement the method in the foregoing embodiments, which may be specifically referred to in the foregoing description of the method embodiments. The Processor 702 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Alternatively, the memory 701 may be separate or integrated with the processor 702. The electronic device 700 may also include a bus when the memory 701 is separate from the processor 702. The bus is used to connect the memory 701 and the processor 702. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
A communication interface 703 for receiving or transmitting information and/or data.
The electronic device provided in this embodiment may be used to execute the method in the foregoing embodiments, and the implementation manner and the technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the above embodiment.
In addition, the present embodiment also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the method of the above embodiment.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
The above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, and are not limited thereto; although embodiments of the present application have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (9)
1. An information processing method, characterized by comprising:
acquiring attribute information of each object in a first object set acquired by access control equipment in a first area and attribute information of each object in a second object set acquired by access control equipment in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment;
acquiring similarity of one or more items of information in attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity;
merging the attribute information of the same object;
the identity information comprises an identity label; the obtaining of the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity includes:
respectively verifying the authenticity of the identity marks of any two objects in the first object set and the second object set;
if the identity marks of the two objects are true, comparing the identity marks of the two objects;
if the identity identifications of the two objects are the same, determining that the two objects are the same object; or
If the identity identifications of the two objects are different, determining that the two objects are not the same object;
if at least one of the identity marks of the two objects is not true, acquiring the similarity among the identity information, the face image and the face size information of the two objects;
carrying out weighted summation on the similarity among the identity information, the face image and the face size information of the two objects to obtain the comprehensive similarity of the two objects;
and if the comprehensive similarity of the two objects is greater than a preset threshold value, determining that the two objects are the same object.
2. The method of claim 1, wherein obtaining the face size information of each object in a first set of objects collected by the access control device in the first area and the face size information of each object in a second set of objects collected by the access control device in the second area comprises:
for the face image of any object acquired by any access control equipment, determining the relative multiple of the face length of the object relative to the face length of a preset reference object according to the face image of the object and the face image of the preset reference object; the face image of the preset reference object is a face image acquired by an image acquisition unit in the access control equipment of the first area and/or the second area;
obtaining the similarity between the face size information of two objects, comprising:
and comparing the face lengths of the two objects with the relative multiple of a preset reference object, and determining the similarity between the face size information of the two objects.
3. The method according to claim 2, wherein the determining, for the face image of any object acquired by any access control device, the relative multiple of the face length of the object with respect to the face length of a preset reference object according to the face image of the object and the face image of the preset reference object comprises:
screening a target face image of the object from a plurality of alternative face images acquired by the access control equipment for the object, wherein the plurality of alternative face images are face images acquired by the access control equipment when the object is at different distances, faces of the object face the access control equipment image acquisition unit, and the target face image is a face image which is positioned at the same position as the bottom end or top end of a face in the face images of the preset reference object in the plurality of alternative face images;
and acquiring the ratio of the number of pixels occupied by the length direction of the face in the target face image of the object to the number of pixels occupied by the length direction of the face in the face image of the preset reference object, and determining the ratio as the relative multiple of the length of the face of the object relative to the length of the face of the preset reference object.
4. The method of claim 1, wherein obtaining similarity between identity information of two objects comprises:
comparing the identity marks of the two objects from left to right and from right to left to obtain the character proportions matched with each other in the identity marks of the two objects and determine the similarity of the identity marks of the two objects; and/or
The identity information further comprises a contact way; acquiring the similarity between the identity information of the two objects, comprising the following steps:
and acquiring the character proportion matched with each other in the contact ways of the two objects, and determining the similarity of the contact ways of the two objects.
5. The method of claim 4, wherein the identity information further comprises name information; acquiring the similarity between the identity information of the two objects, comprising the following steps:
if the characters of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is 1; or
If the characters of the name information of the two objects are inconsistent and the pinyin of the name information of the two objects is consistent, determining that the similarity of the name information of the two objects is a first preset value; or
If the characters of the name information of the two objects are inconsistent, the Pinyin of the name information of the two objects is inconsistent, and the Pinyin initial consonant abbreviations of the name information of the two objects are consistent, determining that the similarity of the name information of the two objects is a second preset numerical value; or
And if the characters of the name information of the two objects are inconsistent, the pinyin of the name information of the two objects is inconsistent, and the pinyin of the name information of the two objects is consistent after ignoring the flat-warped-tongue sound and/or the nasal sound, determining that the similarity of the name information of the two objects is a third preset value.
6. The method of claim 1, wherein obtaining the similarity between the face images of the two objects comprises:
and according to a preset face recognition algorithm, acquiring the similarity between the face images of the two objects.
7. An information processing apparatus characterized by comprising:
the access control device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring attribute information of each object in a first object set acquired by the access control device in a first area and attribute information of each object in a second object set acquired by the access control device in a second area; the attribute information comprises identity information, a face image and face size information, wherein the face image and the face size information are acquired by an image acquisition unit in the access control equipment;
the matching module is used for acquiring the similarity of one or more items of information in the attribute information of any two objects in the first object set and the second object set and determining the same object in the first object set and the second object set according to the similarity;
the information merging module is used for merging the attribute information of the same object;
the identity information comprises an identity mark; the matching module is configured to, when obtaining similarity of one or more items of information in attribute information of any two objects in the first object set and the second object set, and determining the same object in the first object set and the second object set according to the similarity,:
respectively verifying the authenticity of the identity marks of any two objects in the first object set and the second object set;
if the identity marks of the two objects are true, comparing the identity marks of the two objects;
if the identity identifications of the two objects are the same, determining that the two objects are the same object; or alternatively
If the identity identifications of the two objects are different, determining that the two objects are not the same object;
the matching module is further configured to:
if at least one of the identity marks of the two objects is not true, acquiring the similarity among the identity information, the face image and the face size information of the two objects;
carrying out weighted summation on the similarity among the identity information, the face image and the face size information of the two objects to obtain the comprehensive similarity of the two objects;
and if the comprehensive similarity of the two objects is greater than a preset threshold value, determining that the two objects are the same object.
8. An electronic device, comprising: at least one processor; and a memory;
the memory stores computer execution instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-6.
9. A computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210708085.3A CN114792451B (en) | 2022-06-22 | 2022-06-22 | Information processing method, device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210708085.3A CN114792451B (en) | 2022-06-22 | 2022-06-22 | Information processing method, device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114792451A CN114792451A (en) | 2022-07-26 |
CN114792451B true CN114792451B (en) | 2022-11-25 |
Family
ID=82463298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210708085.3A Active CN114792451B (en) | 2022-06-22 | 2022-06-22 | Information processing method, device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114792451B (en) |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171032A (en) * | 2017-12-01 | 2018-06-15 | 平安科技(深圳)有限公司 | A kind of identity identifying method, electronic device and computer readable storage medium |
CN110348274B (en) * | 2018-04-08 | 2022-03-04 | 杭州海康威视数字技术股份有限公司 | Face recognition method, device and equipment |
US10963677B2 (en) * | 2018-07-23 | 2021-03-30 | The Mitre Corporation | Name and face matching |
CN109658572B (en) * | 2018-12-21 | 2020-09-15 | 上海商汤智能科技有限公司 | Image processing method and device, electronic equipment and storage medium |
CN110298243A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Testimony verification method, apparatus, computer equipment and computer readable storage medium |
CN110717428A (en) * | 2019-09-27 | 2020-01-21 | 上海依图网络科技有限公司 | Identity recognition method, device, system, medium and equipment fusing multiple features |
CN111091155B (en) * | 2019-12-18 | 2023-12-15 | 北京明略软件系统有限公司 | ID information pairing method, fusion method, device and storage medium |
JP7181256B2 (en) * | 2020-07-08 | 2022-11-30 | 株式会社スクウェア・エニックス | Face recognition program and face recognition system |
CN111861240A (en) * | 2020-07-27 | 2020-10-30 | 深圳前海微众银行股份有限公司 | Suspicious user identification method, device, equipment and readable storage medium |
CN112307979A (en) * | 2020-10-31 | 2021-02-02 | 成都新潮传媒集团有限公司 | Personnel attribute identification method and device and computer equipment |
CN114241648A (en) * | 2021-11-29 | 2022-03-25 | 浙江大华技术股份有限公司 | Access control method, device and equipment |
CN114415908B (en) * | 2022-03-14 | 2022-06-28 | 深圳市海清视讯科技有限公司 | Display method, display device, electronic equipment and storage medium |
CN114647653A (en) * | 2022-03-18 | 2022-06-21 | 成都商汤科技有限公司 | Face library updating method and related product |
CN114491148B (en) * | 2022-04-14 | 2022-07-12 | 武汉中科通达高新技术股份有限公司 | Target person searching method and device, computer equipment and storage medium |
-
2022
- 2022-06-22 CN CN202210708085.3A patent/CN114792451B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114792451A (en) | 2022-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109858371B (en) | Face recognition method and device | |
CN109920174B (en) | Book borrowing method and device, electronic equipment and storage medium | |
CN102945366A (en) | Method and device for face recognition | |
CN108446681B (en) | Pedestrian analysis method, device, terminal and storage medium | |
US11816923B2 (en) | Face image candidate determination apparatus for authentication, face image candidate determination method for authentication, program, and recording medium | |
CN110245573A (en) | A kind of register method, apparatus and terminal device based on recognition of face | |
CN110798709A (en) | Video processing method and device, storage medium and electronic device | |
CN110264497B (en) | Method and device for determining tracking duration, storage medium and electronic device | |
CN111898538A (en) | Certificate authentication method and device, electronic equipment and storage medium | |
CN113762106A (en) | Face recognition method and device, electronic equipment and storage medium | |
CN115222427A (en) | Artificial intelligence-based fraud risk identification method and related equipment | |
CN112818150B (en) | Picture content auditing method, device, equipment and medium | |
CN114792451B (en) | Information processing method, device, and storage medium | |
CN109801394B (en) | Staff attendance checking method and device, electronic equipment and readable storage medium | |
CN111581531A (en) | Family member structure identification method and device, storage medium and electronic equipment | |
CN112286780A (en) | Method, device and equipment for testing recognition algorithm and storage medium | |
CN112183161A (en) | Method, device and equipment for processing face database | |
US20200234338A1 (en) | Content selection apparatus, content selection method, content selection system, and program | |
CN115391596A (en) | Video archive generation method and device and storage medium | |
CN111860357B (en) | Attendance rate calculating method and device based on living body identification, terminal and storage medium | |
CN115552483A (en) | Data collection method, device, equipment and storage medium | |
CN108052555A (en) | A kind of photo classification method and system | |
CN114373209A (en) | Video-based face recognition method and device, electronic equipment and storage medium | |
CN113850836A (en) | Employee behavior identification method, device, equipment and medium based on behavior track | |
CN111626161A (en) | Face recognition method and device, terminal and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518000 Guangdong Shenzhen Baoan District Xixiang street, Wutong Development Zone, Taihua Indus Industrial Park 8, 3 floor. Patentee after: Shenzhen Haiqing Zhiyuan Technology Co.,Ltd. Address before: 518000 Guangdong Shenzhen Baoan District Xixiang street, Wutong Development Zone, Taihua Indus Industrial Park 8, 3 floor. Patentee before: SHENZHEN HIVT TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |