WO2022227562A1 - Identity recognition method and apparatus, and electronic device, storage medium and computer program product - Google Patents

Identity recognition method and apparatus, and electronic device, storage medium and computer program product Download PDF

Info

Publication number
WO2022227562A1
WO2022227562A1 PCT/CN2021/134598 CN2021134598W WO2022227562A1 WO 2022227562 A1 WO2022227562 A1 WO 2022227562A1 CN 2021134598 W CN2021134598 W CN 2021134598W WO 2022227562 A1 WO2022227562 A1 WO 2022227562A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
personnel
image information
target
database
Prior art date
Application number
PCT/CN2021/134598
Other languages
French (fr)
Chinese (zh)
Inventor
孙贺然
王磊
李佳宁
Original Assignee
北京市商汤科技开发有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京市商汤科技开发有限公司 filed Critical 北京市商汤科技开发有限公司
Publication of WO2022227562A1 publication Critical patent/WO2022227562A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • G06V10/95Hardware or software architectures specially adapted for image or video understanding structured as a network, e.g. client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Definitions

  • the present disclosure relates to, but is not limited to, the field of computer technology, and in particular, to an identity recognition method and apparatus, electronic equipment, storage medium, and computer program product.
  • Face detection, face recognition and face segmentation are of great significance in the field of images. Through the detection and recognition of faces in images, it can provide strong support in applications such as face beautification and identity recognition.
  • Embodiments of the present disclosure provide at least an identity identification method and apparatus, an electronic device, a storage medium, and a computer program product.
  • An embodiment of the present disclosure provides an identification method, including: acquiring image information collected by a target image capture device; determining a target personnel database associated with the target image capture device from a plurality of preset personnel databases; The target personnel database is used, and the collected image information is matched to determine the identity information corresponding to the collected image information.
  • the determining a target personnel database associated with the target image acquisition device from a plurality of preset personnel databases includes: obtaining the target personnel database. deployment information of the target image acquisition device, and determine the target geographic area corresponding to the target image acquisition device based on the deployment information; based on the first correspondence, determine the target geographic area from the multiple personnel databases The corresponding target personnel library.
  • the target personnel database associated with the target image capture device is determined from a plurality of preset personnel databases, including : Acquire the identification information of the target image acquisition device, and determine the target personnel database corresponding to the identification information of the target image acquisition device from the plurality of personnel libraries based on the second correspondence.
  • the target person library includes a plurality of reference image information
  • the collected image information includes person images
  • the collected image information is matched based on the target person library to determine the
  • the identity information corresponding to the collected image information includes: performing feature extraction on the person image to obtain a first face feature; searching for a first reference matching the first face feature in the target person database image information, and determine the identity information corresponding to the first reference image information as the identity information corresponding to the collected image information.
  • the target person library includes a plurality of reference image information
  • the collected image information includes a second face feature
  • the collected image information is matched based on the target person library , determining the identity information corresponding to the collected image information, including: searching the target person database for second reference image information that matches the second face feature, and comparing the second reference image information with the second reference image information
  • the corresponding identity information is determined to be the identity information corresponding to the collected image information.
  • the method further includes: creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device, the personnel information including the correspondence between the reference image information of the personnel and the identity information relation.
  • the creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device includes: acquiring the personnel information; At least part of the personnel information in the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographical area indicated by the deployment information of one or more image capture devices; based on the same identification information or the same geographical area Associate the personnel information and create a personnel library.
  • matching the collected image information based on the target person database to determine the identity information corresponding to the collected image information includes: including a plurality of categories in the target person database In the case of a library, according to the order of the priority of the plurality of classification libraries from high to low, look for whether there is reference image information matching the collected image information one by one, until the collected image information is obtained. The reference image information whose information is matched; the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
  • the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
  • the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
  • An embodiment of the present disclosure provides an identity recognition device, including: an acquisition part configured to acquire image information collected by a target image acquisition device; a determination part for determining from a plurality of preset personnel libraries the relationship with the target A target person database associated with the image acquisition device; a matching part is used to match the collected image information based on the target person database, and determine the identity information corresponding to the collected image information.
  • the determining part includes: a first determining sub-part, configured to acquire the deployment information of the target image acquisition device, and based on the The deployment information determines a target geographic area corresponding to the target image acquisition device; a second determination sub-section is configured to determine, from the plurality of personnel databases, all of the target geographic areas corresponding to the target geographic area based on the first correspondence. Describe the target personnel pool.
  • the determining part includes: a third determining sub-part configured to acquire the identification information of the target image capturing device, And based on the second correspondence, the target personnel database corresponding to the identification information of the target image acquisition device is determined from the plurality of personnel databases.
  • the target person library includes a plurality of reference image information
  • the collected image information includes a person image
  • the matching part includes: a feature extraction sub-section configured to perform an analysis on the person image. Feature extraction, to obtain a first face feature; a first search subsection, configured to search for the first reference image information matching the first face feature in the target person database, and to match the first reference image information with the first face feature.
  • the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
  • the target person database includes a plurality of reference image information
  • the collected image information includes a second face feature
  • the matching part includes: a second search sub-part, configured to Find the second reference image information matching the second face feature in the target person database, and determine the identity information corresponding to the second reference image information as the identity information corresponding to the collected image information .
  • the apparatus further includes: a creation part configured to create a personnel database according to the personnel information, and the deployment information and/or identification information of the image capture device, the personnel information including the reference image information of the personnel and the Correspondence between identity information.
  • the creation part includes: an acquisition subsection, configured to acquire the personnel information; and a configuration subsection, configured to, in response to a configuration operation on the personnel information, convert at least the personnel information into Part of the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographic area indicated by the deployment information of one or more image capture devices; subsections are created, configured to be based on the same identification information or the same Personnel information associated with geographic areas to create a personnel library.
  • the matching part includes: in the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, searching whether the There is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; the identity information corresponding to the reference image information is determined as the collected image information The identity information corresponding to the information.
  • the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
  • the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
  • An embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to call the instructions stored in the memory to execute any of the above method of identification.
  • An embodiment of the present disclosure provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the above-mentioned methods for identity recognition is implemented.
  • Embodiments of the present disclosure further provide a computer program product, including computer-readable code, when the computer-readable code is executed on the device, the processor in the device executes the method for implementing any one of the above-mentioned identification.
  • the target personnel database associated with the image acquisition device can be determined from a plurality of personnel databases, the image information is matched based on the target personnel database to determine the identity information, and the image information matching based on the personnel database can be narrowed down It can reduce the computational complexity and effectively improve the real-time and efficiency of identity recognition.
  • FIG. 1 is a schematic flowchart of an implementation of an identity recognition method provided by an embodiment of the present disclosure.
  • FIG. 2a is a schematic diagram of a configuration interface of personnel information provided by an embodiment of the present disclosure.
  • FIG. 2b is a schematic diagram of a configuration interface of personnel information provided by an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of an identity recognition apparatus provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • Face recognition technology is a kind of biometric recognition technology. It combines image processing technology, computer graphics, pattern recognition and other research fields, and is an effective means of identity recognition.
  • the identity recognition method based on face recognition usually builds a personnel database in advance. When performing identity recognition, the collected face image of the person to be verified is compared with the face image in the personnel database to determine the identity of the person to be verified. Identity Information.
  • the identification method based on face recognition can be applied to scenes such as stations, shopping malls, schools, etc.
  • a personnel database is usually set for a scene, for example, a personnel database corresponding to a school, a shopping mall corresponding A personnel database, such that when the data volume of identity information stored in the personnel database is large, the calculation amount of face comparison will be large, which will reduce the real-time performance and efficiency of identity recognition.
  • the embodiments of the present disclosure provide an identity recognition method and device, electronic equipment, storage medium and computer program product, which associate a personnel database with an image acquisition device in a geographic area or a geographic area, and realize presets for the same scene.
  • Multiple personnel databases, and then in the process of identification, the target personnel database can be determined from the multiple personnel databases according to the corresponding relationship between the multiple personnel databases and geographic areas or image acquisition devices, and then based on the target personnel database Realize identity recognition, thereby narrowing the scope of image information matching based on the personnel database, reducing the amount of computation, and effectively improving the real-time and efficiency of identity recognition.
  • the identification method provided by this embodiment of the present disclosure may be executed by an electronic device such as a terminal device or a server, and the terminal device may be User Equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc.
  • UE User Equipment
  • PDA Personal Digital Assistant
  • the methods may be implemented by a processor invoking computer readable instructions stored in a memory.
  • the method may be performed by a cloud server or an edge node.
  • the identity identification method may be performed on a cloud server, a terminal device or an edge node according to actual requirements, which is not limited in this embodiment of the present disclosure. It should be understood that a plurality of preset personnel libraries may be stored in the electronic device executing the identification method, so as to determine the target personnel library and match the collected image information based on the target personnel library.
  • FIG. 1 is a schematic flowchart of an identity recognition method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the identity recognition method includes:
  • step S11 image information collected by the target image collection device is obtained
  • a target personnel library associated with the target image acquisition device is determined from a plurality of preset personnel libraries
  • step S13 based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information.
  • a user may deploy one or more image acquisition devices in a geographic area, where the geographic area may be a school area, a shopping mall area, a store area, a station area, etc., where statistics on the flow of people are usually performed; image acquisition
  • the devices may include: common/intelligent inter-process communication (Inter-Process Communication, IPC) devices, smart module (network version) devices, service modules/service SDK devices, etc., which are not limited in this embodiment of the present disclosure.
  • the image acquisition equipment in the geographical area can be connected with the above electronic equipment, so as to send the collected image information to the electronic equipment, and realize the above identification method. It should be understood that there is a corresponding relationship between image capturing devices and geographic regions, and the target image capturing device may be one or more image capturing devices in the geographic region.
  • the collected image information may include: a person image collected by a target image collection device, and/or a face feature of the person image.
  • the image collection device can perform face feature extraction on the collected person image, and send the extracted face feature to the above electronic device. In this way, the privacy of the objects in the collected image information can be protected, and the probability of illegally obtaining images of persons can be reduced.
  • a facial feature extraction network may be deployed in the image acquisition device, so as to perform facial feature extraction on the collected personnel images through the facial feature extraction network.
  • the embodiments of the present disclosure do not limit the network structure, network type, and training method of the facial feature extraction network.
  • the image acquisition device can also send the collected personnel images to the above-mentioned electronic equipment, and perform facial feature extraction on the collected personnel images in the electronic equipment. .
  • the collected image information may also carry the identification information of the image collection device, so that the identification information can be used to distinguish which image collection device collected the collected image information, and it is also convenient to determine which image collection device is the same as the image collection device.
  • the associated target person library is used to match the collected image information based on the target person library.
  • the identification information may be represented in the form of a character string, and may also be represented in other forms, which are not limited in this embodiment of the present disclosure.
  • the preset multiple personnel libraries may be personnel libraries that are pre-built according to actual needs.
  • the number and construction method of the personnel libraries are not limited in this embodiment of the present disclosure. For example, it can be Use the existing staff library as the construction basis, or rebuild the staff library, etc.
  • the personnel database may store at least the reference image information of the person and the corresponding identity information, that is, the corresponding relationship between the reference image information and the identity information of the person is stored.
  • the reference image information may include a face image and/or a face feature; the identity information may be, for example, a customer or an employee, a general customer or a member customer, etc.
  • the content of the identity information is not limited in the embodiments of the present disclosure.
  • multiple personnel libraries may be pre-associated with the image acquisition device, or multiple personnel libraries may be associated with the geographic area, ie, multiple personnel libraries exist between the image acquisition equipment and/or the geographic area Correspondence.
  • the target personnel library associated with the target image acquisition device can be determined from the preset multiple personnel libraries according to the corresponding relationship.
  • the collected image information is matched to determine the identity information corresponding to the collected image information, which may include: determining the collected image information and the reference in the target person database The similarity between image information; according to the similarity, the reference image information matching the collected image information is determined from the target personnel database; the identity information corresponding to the reference image information matching the collected image information is determined as the collected image information.
  • the identity information corresponding to the image information may include: determining the collected image information and the reference in the target person database The similarity between image information; according to the similarity, the reference image information matching the collected image information is determined from the target personnel database; the identity information corresponding to the reference image information matching the collected image information is determined as the collected image information.
  • the identity information corresponding to the image information may include: determining the collected image information and the reference in the target person database The similarity between image information; according to the similarity, the reference image information matching the collected image information is determined from the target personnel database; the identity information corresponding to the reference image information matching the collected image information is determined as the collected image information.
  • the similarity between the collected image information and the reference image information may be determined according to the distance between the collected image information and the reference image information, for example, it may be determined according to the face features in the collected image information and the reference image The distance between the facial features in the information determines the similarity between the collected image information and the reference image information.
  • the distance may include, but is not limited to, cosine distance, Euclidean distance, Mahalanobis distance, and the like. It should be understood that the distance and the similarity may be negatively correlated, that is, the closer the distance, the higher the similarity between the collected image information and the reference image information in the target personnel library; the lower the similarity.
  • determining the reference image information matching the collected image information from the target person database according to the similarity may include: determining the reference image information in the target person database whose similarity exceeds a similarity threshold as the same as the collected image information.
  • the image information matches the reference image information.
  • the size of the similarity threshold can be set according to the extraction accuracy of facial features, the calculation accuracy of similarity, the processing capability or resource occupancy of the equipment used to achieve feature extraction and similarity calculation, etc. For example, it can be set as 0.86, which is not limited in this embodiment of the present disclosure.
  • the target personnel database associated with the image acquisition device can be determined from a plurality of personnel libraries, the collected image information is matched based on the target personnel database to determine the identity information, and the collection based on the personnel database can be narrowed down.
  • the matching range of image information can be reduced, and the amount of calculation can be reduced, and the real-time performance and efficiency of identity recognition can be effectively improved.
  • a target personnel database associated with the target image acquisition device is determined from a plurality of preset personnel databases, including:
  • the deployment information of the target image acquisition device is acquired, and the target geographic area corresponding to the target image acquisition device is determined based on the deployment information; based on the first correspondence, the target personnel database corresponding to the target geographic area is determined from a plurality of personnel databases.
  • one or more image acquisition devices may be deployed within a geographic area.
  • the geographic area in which the target image acquisition device is located may be the target geographic area.
  • the deployment information may include information such as the geographic location of the target image acquisition device, the identification of the deployment area, and the like.
  • the geographic location may be global positioning system (Global Positioning System, GPS) positioning
  • the deployment area identifier represents the geographic area where the image acquisition device is located. It should be understood that, the target geographic area corresponding to the target image capturing device may be determined according to the above at least one kind of deployment information.
  • the first correspondence may further include the correspondence between the geographic area and the identification information of the image capturing device, and based on this, the target geographic area may also be determined according to the identification information of the target image capturing device.
  • the first correspondence between the personnel database and the geographic area can be preset according to actual requirements.
  • the geographic area can be set to correspond to one or more personnel databases.
  • the personnel database a and the shop A can be set.
  • the personnel library b corresponds to the shop B
  • the personnel libraries c1 and c2 correspond to the shop C respectively, which is not limited in the embodiment of the present disclosure.
  • the target person database corresponding to the target geographic area may include one or more.
  • the target personnel database can be determined based on the first correspondence between the geographical area and the personnel database, and the image information collected in the same geographical area can be effectively matched with the corresponding target personnel database. match the reference image information.
  • each class can be equipped with an image acquisition device, and each class can correspond to its own personnel database, then the personnel database of the class can be set to match the The image acquisition equipment in the class is associated, so that the target personnel database can be determined for matching according to the image acquisition equipment associated with the class, thereby further narrowing the matching range of the collected image information, reducing the amount of calculation, and effectively improving the identity. Real-time recognition and efficiency.
  • the target associated with the target image capture device is determined from a plurality of preset personnel databases.
  • Personnel library including:
  • the identification information of the target image capturing device is acquired, and based on the second correspondence, the target personnel database corresponding to the identification information of the target image capturing device is determined from the plurality of personnel databases.
  • the captured image information may carry identification information of the target image device, and the identification information may identify different image capture devices, wherein the identification information of the target image device may be obtained from the captured image information.
  • the second correspondence between the personnel database and the identification information of the image acquisition device reflects the correspondence between the personnel database and the image acquisition device.
  • the second correspondence between the personnel database and the identification information of the image acquisition device may be set according to actual requirements, and the target image acquisition device may correspond to one or more target personnel databases.
  • a target person database with a smaller amount of data corresponding to the target image acquisition device can be determined, the matching range of image information collected based on the target person database can be narrowed, the amount of computation can be reduced, and the Real-time and efficient identification.
  • the collected image information may include images of persons collected by the image collection device.
  • the target person database includes a plurality of reference image information
  • the collected image information includes person images.
  • the collected image information is matched based on the target person database, and the collected image information is determined to be the same as the collected image.
  • the identity information corresponding to the information including:
  • the facial feature extraction may be performed on the person image through the above-mentioned facial feature extraction network.
  • the person image may contain the facial features of at least one object.
  • the facial feature extraction network is deployed in the above electronic device.
  • the reference image information in the target person database may include: face images and/or face features.
  • searching for the first reference image information matching the first face features in the target person database may include: extracting the face features of the face images in the target person database one by one, Then, it is matched with the first face feature to find out the first reference image information matching the first face feature.
  • a first reference image matching the first facial features can be found in the target person database according to the first facial features information. In this way, the real-time performance and efficiency of identity recognition can be improved.
  • the reference image information matching the collected image information may be determined according to the similarity between the collected image information and the reference image information.
  • Searching for the first reference image information matching the first face feature in the target person database may include: calculating the similarity between the face features in the target person database and the first face feature one by one, and set the similarity less than the similarity
  • the facial features in the target person database with the degree threshold are used as the first reference image information matched with the first facial features.
  • Reference image information and corresponding identity information are stored in the personnel database.
  • the identity information corresponding to the first reference image information can be obtained, for example, whether the object is a member or an ordinary customer, so as to facilitate the identification of the information in the personnel database.
  • Statistical analysis of personnel behavior can be performed using the first reference image information matching the first face feature.
  • the behavior information of the object corresponding to the identity information can be recorded based on the identity information. For example, member 001 enters the store at a certain time, and leaves the store at a certain time. ; It can also count the number of times that ordinary customers 002 enter the store in a statistical period, etc.
  • the identity information if there is no first reference image information matching the first face feature in the target person database, the identity information and Referring to the image information and recording the behavior information of the object, it is convenient to analyze the passenger flow situation in the geographical area, which is not limited in this embodiment of the present disclosure.
  • the identity information corresponding to the collected image information can be effectively determined according to the first face feature in the collected image information and the target person database.
  • the collected image information may also be the face feature of the image of the person.
  • the target person database includes a plurality of reference image information, and the collected image information includes a second face feature.
  • the collected image information is matched based on the target person database, Determining the identity information corresponding to the collected image information may include:
  • the facial feature extraction network can be deployed in the image acquisition device, and the facial feature extraction of the acquired person images is performed in the image acquisition device.
  • the second face feature may be a face feature obtained by performing feature extraction on the collected image of the person executed in the image collection device.
  • searching for the second reference image information matching the second facial feature in the target person database may be in the same manner as the above-mentioned searching for the first reference image information matching the first facial feature in the target person database, I won't go into details here.
  • Reference image information and corresponding identity information are stored in the personnel database.
  • the identity information corresponding to the second reference image information can be obtained, so as to facilitate the statistical analysis of the behavior of the personnel in the personnel database.
  • the identity information corresponding to the collected image information can be determined effectively according to the second face feature and the target person database.
  • the method may further include: creating a personnel database according to the personnel information, and the deployment information and/or identification information of the image capture device, where the personnel information includes the relationship between the reference image information of the personnel and the identification information. Correspondence.
  • the reference image information of the person may include pre-collected person images and/or pre-extracted facial features in the person images.
  • the correspondence between the reference image information and the identity information may include: the reference image information, and the identity information corresponding to the reference image information, and the identity information may include information such as personnel number and personnel identity.
  • the personnel number may be information that uniquely identifies the person, such as a mobile phone number, job number, and/or ID number; the personnel identity may be information set according to the application scenario of the personnel database to characterize the identity of the person, for example, for the store scene, Personnel identities may include members, employees, abnormal customers, normal customers, etc.; for school scenarios, personnel identities may include students, teachers, abnormal visitors, normal visitors, etc., which are not limited in this embodiment of the present disclosure.
  • creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device may include: establishing a personnel database according to the personnel information; setting the distance between the personnel database and the geographical area indicated by the deployment information and/or setting a second correspondence between the personnel database and the identification information of the image acquisition device, so as to create a personnel database.
  • a personnel database can be created according to the personnel information, and the deployment information and/or identification information of the image acquisition device, so as to improve the processing efficiency of the identification during the identification process.
  • creating a personnel database according to personnel information and deployment information and/or identification information of the image capture device includes:
  • the user can import the personnel information into the specified database to obtain the personnel information imported by the user.
  • the personnel information may be imported into a specified database by adding one by one or importing in batches, which is not limited in this embodiment of the present disclosure.
  • Fig. 2a is a schematic diagram of a configuration interface 1000 of personnel information provided by an embodiment of the present disclosure.
  • the user can select the one associated with the geographic area in the drop-down box 1001 of "person library” in Fig. 2a.
  • Personnel library such as "personnel library c1" in Fig. 2a; in the drop-down box 1002 at "geographical area” in Fig. 2a, select the area identifier of the geographic area associated with the personnel library, such as "area 0079" in the figure; and
  • By clicking the "Finish” button 1003 the association between the personnel database and the geographic area is realized.
  • Fig. 2b is a schematic diagram of a configuration interface 2000 of personnel information provided by an embodiment of the present disclosure.
  • a user can select to associate and bind with an image capture device through a drop-down box 2001 at "person library” in Fig. 2b and in the drop-down list 2002 at the "image acquisition device” in Fig. 2b, select the identification information of the image acquisition device to be associated with the personnel library by single or multiple selection The bound image acquisition device; and by clicking the "Finish" button 2003, the associated binding between the personnel library and the image acquisition device is realized.
  • the drop-down list may provide a selection control for single selection or multiple selection, and a slider control for sliding to view identification information, which is not limited to this embodiment of the present disclosure.
  • Associating at least part of the personnel information in the personnel information with the identification information of one or more image capture devices can be understood as being able to configure an image capture device to be associated with some or all of the personnel information imported by the user.
  • Associating at least part of the personnel information with the geographic area indicated by the deployment information of one or more image capture devices can be understood as configuring a certain geographic area to be associated with some or all of the personnel information imported by the user.
  • the geographic area indicated by the deployment information of the one or more image capturing devices that is, the geographic area where the one or more image capturing devices are located.
  • the personnel information imported by the user may be stored in one or more designated databases, or stored in one or more designated tables in the same designated database.
  • Associating at least part of the personnel information with the image capture device or with the geographic area may include: associating at least part of the designated database or at least part of the designated table with the image capture device or with the geographic area, so as to realize the identification based on the same identification information or the same geographic area. Areas are associated with personnel information to create a personnel library.
  • the same identification information can be understood as the same image acquisition device, and the personnel information associated with the same identification information can be understood as personnel information in a specified database or specified table associated with the same image acquisition device.
  • Personnel information associated with the same geographic area may be understood as personnel information in a specified database or specified table associated with the same geographic area.
  • personnel information may include all students and all teachers of a school.
  • Personnel information of all students of the school can be stored in one student database, and students of different classes can be stored in different class tables in the one student database.
  • the number of teachers is smaller than the number of students, and all teachers can be stored in a grade table in a teacher database according to grade.
  • the image capture devices of each class can be configured to associate with the student database, and the image capture devices of each class can also be configured to be associated with the corresponding class table; and the image capture devices of each class under different grades can be configured to be associated with the teacher database.
  • the image acquisition devices of each class under the same grade can be configured to associate with the corresponding grade table.
  • a personnel database can be created effectively according to the personnel information and the deployment information and/or identification information of the image capture device, so as to narrow down the identification and identification information according to the deployment information and/or identification information of the image capture device.
  • the matching range of image information collected based on the target personnel database can be reduced, the calculation amount can be reduced, and the real-time performance and processing efficiency based on identity recognition can be improved.
  • the personnel library may include one or more classification libraries.
  • priorities are set for the multiple category libraries, and matching reference image information is searched according to the priorities.
  • the collected image information is matched to determine the identity information corresponding to the collected image information, which may include:
  • the target personnel database includes multiple classification databases
  • the priority of the multiple classification databases from high to low, look for whether there is any reference image information matching the collected image information one by one, until the collected image information is obtained.
  • the reference image information that matches the image information of the image information; the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
  • the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
  • the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes at least one of a member library and an employee library.
  • the priority of the classification library may be set according to actual needs, and this embodiment of the present disclosure does not limit it.
  • the member database can be searched first; when the member database finds the reference image information matching the collected image information, the personal identity of the visitor is determined as a member. At this point, the member's behavior information, such as the visit time, the number of visits, etc., can be recorded, and the search is ended. If the member database does not search for reference image information matching the collected image information, the search continues in the next classification database (employee database).
  • the personal identity of the visitor is determined to be an employee. At this point, the search can be ended. If the reference image information matching the collected image information is not searched in the employee database, the search continues in the next classification database (abnormal object database).
  • the personal identity of the visitor is determined to be a blacklisted person.
  • the behavior information of the blacklisted person can be recorded, such as the visit time, the number of visits, etc., and the search can be ended.
  • the alarm information of the visit of the blacklisted personnel may also be pushed to the end user. If the abnormal object library does not find the reference image information matching the collected image information, the search continues in the next classification library (ordinary object library).
  • the personal identity of the visitor is determined as a common visitor.
  • the behavior information of the common visitor such as the visit time, the number of visits, etc.
  • the face image and/or face feature information of the common visitor can be added to the common object library, for example, it can indicate that the store has got a new customer.
  • the classification library can be searched effectively and sequentially to perform image matching, which improves the processing efficiency of identity recognition.
  • the method may further include: sending at least one of the identity information and behavior information of the object to the terminal.
  • the terminal includes a personal computer PC, a smart phone, a wearable device or a tablet computer, or the like.
  • the cloud server can push various information to the terminal through the network.
  • the cloud server determines the identity information of the object, it can push at least one of the identity information and behavior information of the object to the terminal.
  • the behavior information may include one or more of visit time, visit times, and visit area.
  • the cloud server when the cloud server determines that the identity of the object is member z, the cloud server can push the behavior information of member z to the terminal, so that the user can check the visit status of member z and take corresponding countermeasures . For example, according to information such as the historical shopping records of member z, products and promotions can be pushed to member z.
  • the creation process of the personnel library may include: establishing a personnel library; adding personnel to the personnel library; setting an execution subject of the identification method; associating the personnel library with a geographic area, or associating the personnel library with an image acquisition device .
  • different types of personnel databases are established according to requirements.
  • the types of personnel databases can be divided into six categories: member database, employee database, whitelist database, blacklist database, student database, and teacher database.
  • teacher database and student database The library is mainly used in educational scenarios, and the membership library is mainly used in store scenarios.
  • personnel can be added to a specific personnel database, or a personnel management page can be entered to directly add personnel.
  • adding personnel can be added individually or imported in batches.
  • the import is divided into two parts, a picture of multiple people and an Excel table that includes all the personnel information.
  • the associated item in the Excel table is the only corresponding item of the picture and each person in Excel, and cannot be repeated.
  • Personnel number is a unique code to identify the person's identity, which can be mobile phone number, work number, ID number, etc.
  • the identity recognition function compared with the static face database is performed in the cloud or in the edge node according to individual needs. The default is in the cloud. If the edge node or smart terminal is selected , then do it at a specific edge node or intelligent terminal.
  • the personnel database can be set to be associated with a specific branch (geographical area), the branch mainly refers to a certain store, a certain school, etc. If the personnel database is bound to a branch, the same branch Organizations use this one staff pool for comparison.
  • binding to a branch may lead to a long time for base pool comparison.
  • a scenario is a school, and different classes want to use different student pools, then this
  • the personnel library can be bound to a specific capture device (image acquisition device): including ordinary/intelligent IPC, intelligent module (network version), business module/business SDK.
  • image acquisition device image acquisition device
  • intelligent module network version
  • business module/business SDK business module/business SDK
  • data will be reported normally after setting according to the above process. At this time, you can check the identities and records of different people compared with the personnel database, the number of people with special identities, and you can also export reports for further analysis.
  • the identity recognition method of the embodiment of the present disclosure for a variety of different terminal types: intelligent modules, intelligent IPCs, service SDKs, and edge nodes, different image acquisition devices can be set to realize the offload processing of the personnel database and improve the performance. and accuracy.
  • users can flexibly configure the personnel database to be bound to branches or specific devices according to their own needs, which is convenient and intuitive to use.
  • the embodiment of the present disclosure divides the larger personnel library into different personnel small libraries and sends them to Binding image acquisition devices, different image acquisition devices can perform corresponding differentiated processing for different personnel libraries, which can effectively solve the above problems.
  • the personnel library and the equipment are bound and managed in the case where the terminal device, edge node, and cloud service use the personnel library in multiple ways, so as to better realize the personnel library. distribution, improve the processing efficiency of personnel database comparison, and reduce the amount of calculation.
  • the identification method according to the embodiment of the present disclosure can be applied to products that require personnel database management, such as schools, commercial supermarkets, stores, and 4S stores.
  • the identity recognition method according to the embodiment of the present disclosure can support targeted distribution of personnel database on edge nodes or intelligent IPC devices, and reduce the time-consuming of loading or processing large databases.
  • the embodiments of the present disclosure also provide an identity recognition device corresponding to the identity recognition method. See implementation of the method.
  • FIG. 3 is a schematic diagram of an identification device provided by an embodiment of the present disclosure. As shown in FIG. 3 , the device includes:
  • an acquisition part 101 configured to acquire image information acquired by a target image acquisition device
  • the determining part 102 is configured to determine a target personnel library associated with the target image acquisition device from a plurality of preset personnel libraries;
  • the matching part 103 is configured to match the collected image information based on the target person database, and determine the identity information corresponding to the collected image information.
  • the determining part 102 includes: a first determining sub-part, configured to acquire the deployment information of the target image capturing device, and based on the The deployment information determines the target geographic area corresponding to the target image acquisition device; the second determination subsection is configured to determine, based on the first correspondence, the target geographic area corresponding to the target geographic area from the plurality of personnel databases The target personnel library.
  • the determining part 102 is configured as: a third determining sub-part configured to obtain the identification information of the target image capturing device. identification information, and based on the second correspondence, the target personnel library corresponding to the identification information of the target image acquisition device is determined from the plurality of personnel libraries.
  • the target person library includes a plurality of reference image information
  • the collected image information includes a person image
  • the matching part 103 includes: a feature extraction sub-section configured to Perform feature extraction to obtain the first face feature
  • the first search subsection is configured to search for the first reference image information matching the first face feature in the target person database, and match the first reference image information with the first face feature.
  • the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
  • the target person database includes a plurality of reference image information
  • the collected image information includes second face features
  • the matching part 103 includes: a second search sub-part, configured to Searching for the second reference image information matching the second face feature in the target person database, and determining the identity information corresponding to the second reference image information as the identity corresponding to the collected image information information.
  • the apparatus further includes: a creation part configured to create a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device, the personnel information including the reference image information and the identity of the personnel Correspondence between information.
  • the creation part includes: an acquisition subsection, configured to acquire the personnel information; and a configuration subsection, configured to, in response to a configuration operation on the personnel information, convert at least the personnel information into Part of the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographic area indicated by the deployment information of one or more image capture devices; subsections are created, configured to be based on the same identification information or the same Personnel information associated with geographic areas to create a personnel library.
  • the matching part 103 includes: in the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, searching the classification databases one by one Whether there is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; determine the identity information corresponding to the reference image information as the collected image information.
  • the identity information corresponding to the image information includes: in the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, searching the classification databases one by one Whether there is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; determine the identity information corresponding to the reference image information as the collected image information. The identity information corresponding to the image information.
  • the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
  • the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
  • a target personnel library associated with the image acquisition device can be determined from a plurality of personnel libraries, and the collected image information is matched based on the target personnel library to determine the identity information, and the images based on the personnel library can be reduced.
  • the scope of information matching can reduce the amount of calculation and effectively improve the real-time efficiency of identity recognition.
  • the functions or included parts of the apparatus may be used to execute the methods described in the above method embodiments, and reference may be made to the descriptions in the above method embodiments for specific implementation.
  • a "part" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, a unit, a module or a non-modularity.
  • Embodiments of the present disclosure further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
  • Computer-readable storage media can be volatile or non-volatile computer-readable storage media.
  • An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • the electronic device may be provided as a terminal, server or other form of device.
  • FIG. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present disclosure.
  • electronic device 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc. terminal.
  • electronic device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414 , and the communication component 416 .
  • the processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 402 may include one or more processors 420 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 402 may include one or more sections that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia portion to facilitate interaction between multimedia component 408 and processing component 402.
  • Memory 404 is configured to store various types of data to support operation at electronic device 400 . Examples of such data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, and the like. Memory 404 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • Power supply assembly 406 provides power to various components of electronic device 400 .
  • Power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 400 .
  • Multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
  • multimedia component 408 includes a front-facing camera and/or a rear-facing camera. When the electronic device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
  • Audio component 410 is configured to output and/or input audio signals.
  • audio component 410 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 400 is in operating modes, such as calling mode, recording mode, and voice recognition mode.
  • the received audio signal may be further stored in memory 404 or transmitted via communication component 416 .
  • audio component 410 also includes a speaker for outputting audio signals.
  • the I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
  • Sensor assembly 414 includes one or more sensors for providing electronic device 400 with various aspects of status assessment.
  • the sensor assembly 414 can detect the open/closed state of the electronic device 400, the relative positioning of the components, such as the display and the keypad of the electronic device 400, and the sensor assembly 414 can also detect the electronic device 400 or one of the electronic devices 400. Changes in the positions of components, presence or absence of user contact with the electronic device 400 , orientation or acceleration/deceleration of the electronic device 400 and changes in the temperature of the electronic device 400 .
  • Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 414 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications.
  • CMOS complementary metal oxide semiconductor
  • CCD charge coupled device
  • the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other devices.
  • the electronic device 400 can access a wireless network based on communication standards, such as wireless network (WiFi), second generation mobile communication technology (2G), third generation mobile communication technology (3G), long term evolution technology (Long Term Evolution, LTE) Or fifth generation mobile communication technology (5G), or a combination of them.
  • the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmed gate array
  • controller microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • a non-volatile computer-readable storage medium such as a memory 404 comprising computer program instructions executable by the processor 420 of the electronic device 400 to perform the above method.
  • FIG. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present disclosure.
  • the electronic device 500 may be provided as a server.
  • an electronic device 500 includes a processing component 501, which further includes one or more processors, and a memory resource represented by memory 502 for storing instructions executable by the processing component 501, such as an application program.
  • An application program stored in memory 502 may include one or more portions, each corresponding to a set of instructions.
  • the processing component 501 is configured to execute instructions to perform the above-described method.
  • the electronic device 500 may also include a power supply assembly 503 configured to perform power management of the electronic device 500, a wired or wireless network interface 504 configured to connect the electronic device 500 to a network, and an input output (I/O) interface 505 .
  • the electronic device 500 can operate based on an operating system stored in the memory 502, such as a Microsoft server operating system (Windows Server TM ), a graphical user interface based operating system (Mac OS X TM ) introduced by Apple, a multi-user multi-process computer operating system (Unix TM ), Free and Open Source Unix-like Operating System (Linux TM ), Open Source Unix-like Operating System (FreeBSD TM ) or the like.
  • Microsoft server operating system Windows Server TM
  • Mac OS X TM graphical user interface based operating system
  • Uniix TM multi-user multi-process computer operating system
  • Free and Open Source Unix-like Operating System Linux TM
  • FreeBSD TM Open Source Unix-like Operating System
  • a non-volatile computer-readable storage medium such as memory 502 comprising computer program instructions executable by the processing component 501 of the electronic device 500 to perform the above-described method is also provided.
  • Embodiments of the present disclosure also provide a computer program product, including computer-readable codes.
  • a processor in the device executes a method for implementing the identification method provided by any of the above embodiments. instruction.
  • An embodiment of the present disclosure further provides another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the identification method provided by any of the foregoing embodiments.
  • Embodiments of the present disclosure may be apparatus, systems, methods and/or computer program products.
  • the computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present disclosure.
  • a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disk read only memory
  • DVD digital versatile disk
  • memory sticks floppy disks
  • mechanically coded devices such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above.
  • Computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
  • the computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for carrying out operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages.
  • Source or object code written in any combination, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect).
  • LAN local area network
  • WAN wide area network
  • custom electronic circuits such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) can be personalized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present disclosure.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium storing the instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the computer program product can be specifically implemented by hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
  • a software development kit Software Development Kit, SDK
  • Embodiments of the present disclosure provide an identity recognition method and device, an electronic device, a storage medium, and a computer program product, wherein the identity recognition method includes: acquiring image information collected by a target image acquisition device; A target person database associated with the target image acquisition device is determined; based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information.
  • the above solution can narrow the scope of image information matching based on the personnel database, reduce the amount of computation, and effectively improve the real-time performance and efficiency of identity recognition.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Collating Specific Patterns (AREA)
  • Image Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure relates to an identity recognition method and apparatus, and an electronic device, a storage medium and a computer program product. The method comprises: acquiring image information collected by a target image collection device; determining, from among a plurality of preset personnel libraries, a target personnel library associated with the target image collection device; and performing matching on the collected image information on the basis of the target personnel library, and determining identity information corresponding to the collected image information.

Description

身份识别方法及装置、电子设备、存储介质和计算机程序产品Identification method and device, electronic device, storage medium and computer program product
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开实施例基于申请号为202110460309.9、申请日为2021年4月27日、申请名称为“身份识别方法及装置、电子设备和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The embodiments of the present disclosure are based on a Chinese patent application with an application number of 202110460309.9, an application date of April 27, 2021, and an application title of "Identity Recognition Method and Device, Electronic Device and Storage Medium", and requires the priority of the Chinese patent application The entire content of this Chinese patent application is incorporated herein by reference.
技术领域technical field
本公开涉及但不限于计算机技术领域,尤其涉及一种身份识别方法及装置、电子设备、存储介质和计算机程序产品。The present disclosure relates to, but is not limited to, the field of computer technology, and in particular, to an identity recognition method and apparatus, electronic equipment, storage medium, and computer program product.
背景技术Background technique
人脸检测、人脸识别及人脸分割等在图像领域具有重要意义,通过对图像中人脸的检测与识别,能够在诸如人脸美化、身份识别等应用中提供有力支撑。Face detection, face recognition and face segmentation are of great significance in the field of images. Through the detection and recognition of faces in images, it can provide strong support in applications such as face beautification and identity recognition.
发明内容SUMMARY OF THE INVENTION
本公开实施例至少提供一种身份识别方法及装置、电子设备、存储介质和计算机程序产品。Embodiments of the present disclosure provide at least an identity identification method and apparatus, an electronic device, a storage medium, and a computer program product.
本公开实施例提供了一种身份识别方法,包括:获取目标图像采集设备采集的图像信息;从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。An embodiment of the present disclosure provides an identification method, including: acquiring image information collected by a target image capture device; determining a target personnel database associated with the target image capture device from a plurality of preset personnel databases; The target personnel database is used, and the collected image information is matched to determine the identity information corresponding to the collected image information.
在一些实施方式中,人员库与地理区域之间存在第一对应关系,所述从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库,包括:获取所述目标图像采集设备的部署信息,并基于所述部署信息确定所述目标图像采集设备对应的目标地理区域;基于所述第一对应关系,从所述多个人员库中确定与所述目标地理区域对应的所述目标人员库。In some implementations, there is a first correspondence between the personnel database and the geographic area, and the determining a target personnel database associated with the target image acquisition device from a plurality of preset personnel databases includes: obtaining the target personnel database. deployment information of the target image acquisition device, and determine the target geographic area corresponding to the target image acquisition device based on the deployment information; based on the first correspondence, determine the target geographic area from the multiple personnel databases The corresponding target personnel library.
在一些实施方式中,人员库与图像采集设备的标识信息之间存在第二对应关系,所述从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库,包括:获取所述目标图像采集设备的标识信息,并基于所述第二对应关系,从所述多个人员库中确定与所述目标图像采集设备的标识信息对应的所述目标人员库。In some implementations, there is a second correspondence between the personnel database and the identification information of the image capture device, and the target personnel database associated with the target image capture device is determined from a plurality of preset personnel databases, including : Acquire the identification information of the target image acquisition device, and determine the target personnel database corresponding to the identification information of the target image acquisition device from the plurality of personnel libraries based on the second correspondence.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括人员图像,所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:对所述人员图像进行特征提取,得到第一人脸特征;在所述目标人员库中查找与所述第一人脸特征匹配的第一参考图像信息,并将与所述第一参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the target person library includes a plurality of reference image information, the collected image information includes person images, and the collected image information is matched based on the target person library to determine the The identity information corresponding to the collected image information includes: performing feature extraction on the person image to obtain a first face feature; searching for a first reference matching the first face feature in the target person database image information, and determine the identity information corresponding to the first reference image information as the identity information corresponding to the collected image information.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括第二人脸特征,所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:在所述目标人员库中查找与所述第二人脸特征匹配的第二参考图像信息,并将与所述第二参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the target person library includes a plurality of reference image information, the collected image information includes a second face feature, and the collected image information is matched based on the target person library , determining the identity information corresponding to the collected image information, including: searching the target person database for second reference image information that matches the second face feature, and comparing the second reference image information with the second reference image information The corresponding identity information is determined to be the identity information corresponding to the collected image information.
在一些实施方式中,所述方法还包括:根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,所述人员信息包括人员的参考图像信息与身份信息之间的对应关系。In some embodiments, the method further includes: creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device, the personnel information including the correspondence between the reference image information of the personnel and the identity information relation.
在一些实施方式中,所述根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,包括:获取所述人员信息;响应于对所述人员信息的配置操作,将所述人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,或与一个或多个图像采集设备的部署信息指示的地理区域进行关联;基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。In some embodiments, the creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device includes: acquiring the personnel information; At least part of the personnel information in the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographical area indicated by the deployment information of one or more image capture devices; based on the same identification information or the same geographical area Associate the personnel information and create a personnel library.
在一些实施方式中,所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:在所述目标人员库包括多个分类库的情况下,按照所述多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与所述采集的图像信息匹配的参考图像信息,直至获取到与所述采集的图像信息匹配的参考图像信息;将与所述参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, matching the collected image information based on the target person database to determine the identity information corresponding to the collected image information includes: including a plurality of categories in the target person database In the case of a library, according to the order of the priority of the plurality of classification libraries from high to low, look for whether there is reference image information matching the collected image information one by one, until the collected image information is obtained. The reference image information whose information is matched; the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
在一些实施方式中,所述分类库包括重点关注对象库、普通对象库、异常对象库中的一项或多项。In some embodiments, the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
在一些实施方式中,在教育场景中,所述重点关注对象库包括教师库和学生库中的至少一项;或者,在零售场景中,所述重点关注对象库包括会员库和员工库中的至少一项。In some embodiments, in an educational scenario, the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
本公开实施例提供了一种身份识别装置,包括:获取部分,被配置为获取目标图像采集设备采集的图像信息;确定部分,用于从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;匹配部分,用于基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。An embodiment of the present disclosure provides an identity recognition device, including: an acquisition part configured to acquire image information collected by a target image acquisition device; a determination part for determining from a plurality of preset personnel libraries the relationship with the target A target person database associated with the image acquisition device; a matching part is used to match the collected image information based on the target person database, and determine the identity information corresponding to the collected image information.
在一些实施方式中,人员库与地理区域之间存在第一对应关系,所述确定部分,包括:第一确定子部分,被配置为获取所述目标图像采集设备的部署信息,并基于所述部署信息确定所述目标图像采集设备对应的目标地理区域;第二确定子部分,被配置为基于所述第一对应关系,从所述多个人员库中确定与所述目标地理区域对应的所述目标人员库。In some implementations, there is a first correspondence between the personnel database and the geographic area, and the determining part includes: a first determining sub-part, configured to acquire the deployment information of the target image acquisition device, and based on the The deployment information determines a target geographic area corresponding to the target image acquisition device; a second determination sub-section is configured to determine, from the plurality of personnel databases, all of the target geographic areas corresponding to the target geographic area based on the first correspondence. Describe the target personnel pool.
在一些实施方式中,人员库与图像采集设备的标识信息之间存在第二对应关系,所述确定部分,包括:第三确定子部分,被配置为获取所述目标图像采集设备的标识信息,并基于所述第二对应关系,从所述多个人员库中确定与所述目标图像采集设备的标识信 息对应的所述目标人员库。In some implementations, there is a second correspondence between the personnel database and the identification information of the image capturing device, and the determining part includes: a third determining sub-part configured to acquire the identification information of the target image capturing device, And based on the second correspondence, the target personnel database corresponding to the identification information of the target image acquisition device is determined from the plurality of personnel databases.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括人员图像,所述匹配部分,包括:特征提取子部分,被配置为对所述人员图像进行特征提取,得到第一人脸特征;第一查找子部分,被配置为在所述目标人员库中查找与所述第一人脸特征匹配的第一参考图像信息,并将与所述第一参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some implementations, the target person library includes a plurality of reference image information, the collected image information includes a person image, and the matching part includes: a feature extraction sub-section configured to perform an analysis on the person image. Feature extraction, to obtain a first face feature; a first search subsection, configured to search for the first reference image information matching the first face feature in the target person database, and to match the first reference image information with the first face feature. The identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括第二人脸特征,所述匹配部分,包括:第二查找子部分,被配置为在所述目标人员库中查找与所述第二人脸特征匹配的第二参考图像信息,并将与所述第二参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the target person database includes a plurality of reference image information, the collected image information includes a second face feature, and the matching part includes: a second search sub-part, configured to Find the second reference image information matching the second face feature in the target person database, and determine the identity information corresponding to the second reference image information as the identity information corresponding to the collected image information .
在一些实施方式中,所述装置还包括:创建部分,被配置为根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,所述人员信息包括人员的参考图像信息与身份信息之间的对应关系。In some embodiments, the apparatus further includes: a creation part configured to create a personnel database according to the personnel information, and the deployment information and/or identification information of the image capture device, the personnel information including the reference image information of the personnel and the Correspondence between identity information.
在一些实施方式中,所述创建部分包括:获取子部分,被配置为获取所述人员信息;配置子部分,被配置为响应于对所述人员信息的配置操作,将所述人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,或与一个或多个图像采集设备的部署信息指示的地理区域进行关联;创建子部分,被配置为基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。In some implementations, the creation part includes: an acquisition subsection, configured to acquire the personnel information; and a configuration subsection, configured to, in response to a configuration operation on the personnel information, convert at least the personnel information into Part of the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographic area indicated by the deployment information of one or more image capture devices; subsections are created, configured to be based on the same identification information or the same Personnel information associated with geographic areas to create a personnel library.
在一些实施方式中,所述匹配部分,包括:在所述目标人员库包括多个分类库的情况下,按照所述多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与所述采集的图像信息匹配的参考图像信息,直至获取到与所述采集的图像信息匹配的参考图像信息;将与所述参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the matching part includes: in the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, searching whether the There is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; the identity information corresponding to the reference image information is determined as the collected image information The identity information corresponding to the information.
在一些实施方式中,所述分类库包括重点关注对象库、普通对象库、异常对象库中的一项或多项。In some embodiments, the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
在一些实施方式中,在教育场景中,所述重点关注对象库包括教师库和学生库中的至少一项;或者,在零售场景中,所述重点关注对象库包括会员库和员工库中的至少一项。In some embodiments, in an educational scenario, the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
本公开实施例提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述任一项身份识别的方法。An embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to call the instructions stored in the memory to execute any of the above method of identification.
本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述任一项身份识别的方法。An embodiment of the present disclosure provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the above-mentioned methods for identity recognition is implemented.
本公开实施例还提供一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现上述任一项身份识别的方法。Embodiments of the present disclosure further provide a computer program product, including computer-readable code, when the computer-readable code is executed on the device, the processor in the device executes the method for implementing any one of the above-mentioned identification.
在本公开实施例中,能够从多个人员库中确定出与图像采集设备关联的目标人员库, 基于目标人员库对图像信息进行匹配,以确定身份信息,可以缩小基于人员库进行图像信息匹配的范围,减小运算量,有效提高身份识别的实时性及效率。In the embodiment of the present disclosure, the target personnel database associated with the image acquisition device can be determined from a plurality of personnel databases, the image information is matched based on the target personnel database to determine the identity information, and the image information matching based on the personnel database can be narrowed down It can reduce the computational complexity and effectively improve the real-time and efficiency of identity recognition.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required in the embodiments, which are incorporated into the specification and constitute a part of the specification. Embodiments consistent with the present disclosure are shown and used together with the description to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. Other related figures are obtained from these figures.
图1为本公开实施例提供的一种身份识别方法的实现流程示意图。FIG. 1 is a schematic flowchart of an implementation of an identity recognition method provided by an embodiment of the present disclosure.
图2a为本公开实施例提供的一种人员信息的配置界面的示意图。FIG. 2a is a schematic diagram of a configuration interface of personnel information provided by an embodiment of the present disclosure.
图2b为本公开实施例提供的一种人员信息的配置界面的示意图。FIG. 2b is a schematic diagram of a configuration interface of personnel information provided by an embodiment of the present disclosure.
图3为本公开实施例提供的一种身份识别装置的示意图。FIG. 3 is a schematic diagram of an identity recognition apparatus provided by an embodiment of the present disclosure.
图4为本公开实施例的提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
图5为本公开实施例的提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.
另外,本公开实施例中的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。In addition, the terms "first", "second" and the like in the description and claims in the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.
另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are set forth in the following detailed description. It will be understood by those skilled in the art that the present disclosure may be practiced without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the present disclosure.
人脸识别技术是生物特征识别技术的一种,它结合了图像处理技术、计算机图形学、模式识别等多个研究领域,是进行身份识别的有效手段。基于人脸识别的身份识别方法,通常是预先构建人员库,在进行身份识别时,将采集的待验证人员的人脸图像和人员库中的人脸图像进行比对,以确定待验证人员的身份信息。Face recognition technology is a kind of biometric recognition technology. It combines image processing technology, computer graphics, pattern recognition and other research fields, and is an effective means of identity recognition. The identity recognition method based on face recognition usually builds a personnel database in advance. When performing identity recognition, the collected face image of the person to be verified is compared with the face image in the personnel database to determine the identity of the person to be verified. Identity Information.
其中,基于人脸识别的身份识别方法,可应用于车站、商场、学校等场景中,相关技术中,通常是针对一个场景设置一个人员库,例如,某学校对应的一个人员库,某商场对应一个人员库,这样人员库中存储身份信息的数据量较大的情况下,人脸比对的运算量会较大,从而会降低身份识别的实时性以及效率。Among them, the identification method based on face recognition can be applied to scenes such as stations, shopping malls, schools, etc. In related technologies, a personnel database is usually set for a scene, for example, a personnel database corresponding to a school, a shopping mall corresponding A personnel database, such that when the data volume of identity information stored in the personnel database is large, the calculation amount of face comparison will be large, which will reduce the real-time performance and efficiency of identity recognition.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开实施例针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the following embodiments of the present disclosure for the above problems should be Contributions made by the inventors to the present disclosure during the course of this disclosure.
基于上述研究,本公开实施例提供了一种身份识别方法及装置、电子设备、存储介质和计算机程序产品,将人员库与地理区域或地理区域内的图像采集设备关联,实现针对同一场景预设多个人员库,进而在进行身份识别的过程中,可以根据多个人员库与地理区域或图像采集设备之间的对应关系,从多个人员库中确定出目标人员库,进而基于目标人员库实现身份识别,从而缩小基于人员库进行图像信息匹配的范围,减小运算量,有效提高身份识别的实时性及效率。Based on the above research, the embodiments of the present disclosure provide an identity recognition method and device, electronic equipment, storage medium and computer program product, which associate a personnel database with an image acquisition device in a geographic area or a geographic area, and realize presets for the same scene. Multiple personnel databases, and then in the process of identification, the target personnel database can be determined from the multiple personnel databases according to the corresponding relationship between the multiple personnel databases and geographic areas or image acquisition devices, and then based on the target personnel database Realize identity recognition, thereby narrowing the scope of image information matching based on the personnel database, reducing the amount of computation, and effectively improving the real-time and efficiency of identity recognition.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种身份识别方法进行详细介绍,本公开实施例所提供的身份识别方法可以由终端设备或服务器等电子设备执行,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,所述方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过云端服务器、边缘节点执行所述方法。In order to facilitate the understanding of this embodiment, an identification method disclosed in this embodiment of the present disclosure is first introduced in detail. The identification method provided by this embodiment of the present disclosure may be executed by an electronic device such as a terminal device or a server, and the terminal device may be User Equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. The methods may be implemented by a processor invoking computer readable instructions stored in a memory. Alternatively, the method may be performed by a cloud server or an edge node.
在实施时,可以根据实际需求设置所述身份识别方法是在云端服务器、还是在终端设备或边缘节点执行,对此本公开实施例不做限制。应理解的是,执行所述身份识别方法的电子设备中可存储有预设的多个人员库,以便于确定出目标人员库,并基于目标人员库对采集的图像信息进行匹配。During implementation, it may be set whether the identity identification method is performed on a cloud server, a terminal device or an edge node according to actual requirements, which is not limited in this embodiment of the present disclosure. It should be understood that a plurality of preset personnel libraries may be stored in the electronic device executing the identification method, so as to determine the target personnel library and match the collected image information based on the target personnel library.
图1为本公开实施例提供的一种身份识别方法的流程示意图,如图1所示,所述身份识别方法包括:FIG. 1 is a schematic flowchart of an identity recognition method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the identity recognition method includes:
在步骤S11中,获取目标图像采集设备采集的图像信息;In step S11, image information collected by the target image collection device is obtained;
在步骤S12中,从预设的多个人员库中确定出与目标图像采集设备关联的目标人员库;In step S12, a target personnel library associated with the target image acquisition device is determined from a plurality of preset personnel libraries;
在步骤S13中,基于目标人员库,对采集的图像信息进行匹配,确定与采集的图像信 息对应的身份信息。In step S13, based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information.
应理解的是,用户可在地理区域内部署一个或多个图像采集设备,其中,地理区域可以是学校区域、商场区域、商店区域、车站区域等通常要对人员流动进行统计的区域;图像采集设备可以包括:普通/智能进程间通信(Inter-Process Communication,IPC)设备、智能模组(网络版)设备、业务模组/业务SDK设备等,对此本公开实施例不作限制。It should be understood that a user may deploy one or more image acquisition devices in a geographic area, where the geographic area may be a school area, a shopping mall area, a store area, a station area, etc., where statistics on the flow of people are usually performed; image acquisition The devices may include: common/intelligent inter-process communication (Inter-Process Communication, IPC) devices, smart module (network version) devices, service modules/service SDK devices, etc., which are not limited in this embodiment of the present disclosure.
其中,地理区域内的图像采集设备可与上述电子设备连接,以便于将采集的图像信息发送至电子设备中,实现上述身份识别方法。应理解的是,图像采集设备与地理区域之间存在对应关系,目标图像采集设备可是地理区域内的一个或多个图像采集设备。Wherein, the image acquisition equipment in the geographical area can be connected with the above electronic equipment, so as to send the collected image information to the electronic equipment, and realize the above identification method. It should be understood that there is a corresponding relationship between image capturing devices and geographic regions, and the target image capturing device may be one or more image capturing devices in the geographic region.
在一些实施方式中,采集的图像信息可以包括:目标图像采集设备采集的人员图像,和/或人员图像的人脸特征。In some embodiments, the collected image information may include: a person image collected by a target image collection device, and/or a face feature of the person image.
其中,在采集的图像信息为人员图像的人脸特征的情况下,可以通过图像采集设备执行对采集的人员图像进行人脸特征提取,并将提取的人脸特征发送至上述电子设备中。通过该方式,能够保护采集的图像信息中对象的隐私,降低非法获取人员图像的概率。Wherein, in the case where the collected image information is a face feature of a person image, the image collection device can perform face feature extraction on the collected person image, and send the extracted face feature to the above electronic device. In this way, the privacy of the objects in the collected image information can be protected, and the probability of illegally obtaining images of persons can be reduced.
在实施时,可在图像采集设备中部署人脸特征提取网络,以通过该人脸特征提取网络对采集的人员图像进行人脸特征提取。对于人脸特征提取网络的网络结构、网络类型以及训练方式,本公开实施例不做限制。During implementation, a facial feature extraction network may be deployed in the image acquisition device, so as to perform facial feature extraction on the collected personnel images through the facial feature extraction network. The embodiments of the present disclosure do not limit the network structure, network type, and training method of the facial feature extraction network.
同时考虑到由于部分图像采集设备可能不具备运算能力及存储能力,图像采集设备也可将采集的人员图像发送至上述电子设备中,并在电子设备中执行对采集的人员图像进行人脸特征提取。At the same time, considering that some image acquisition devices may not have computing and storage capabilities, the image acquisition device can also send the collected personnel images to the above-mentioned electronic equipment, and perform facial feature extraction on the collected personnel images in the electronic equipment. .
在一些实施方式中,采集的图像信息中还可以带有图像采集设备的标识信息,以通过该标识信息区分该采集的图像信息是哪个图像采集设备所采集的,也便于确定出与图像采集设备关联的目标人员库,以实现基于目标人员库对采集的图像信息进行匹配。其中,标识信息可采用字符串的形式表征,也可采用其他表征形式,对此本公开实施例不做限制。In some embodiments, the collected image information may also carry the identification information of the image collection device, so that the identification information can be used to distinguish which image collection device collected the collected image information, and it is also convenient to determine which image collection device is the same as the image collection device. The associated target person library is used to match the collected image information based on the target person library. Wherein, the identification information may be represented in the form of a character string, and may also be represented in other forms, which are not limited in this embodiment of the present disclosure.
在一些实施方式中,在步骤S12中,预设的多个人员库,可以是根据实际需求预先构建的人员库,对于人员库的数量和构建方式,本公开实施例不做限制,比如,可以将已有人员库作为构建基础,或是重新搭建人员库等。其中,人员库中可以至少存储有人员的参考图像信息以及对应的身份信息,即存储有人员的参考图像信息与身份信息的对应关系。In some embodiments, in step S12, the preset multiple personnel libraries may be personnel libraries that are pre-built according to actual needs. The number and construction method of the personnel libraries are not limited in this embodiment of the present disclosure. For example, it can be Use the existing staff library as the construction basis, or rebuild the staff library, etc. The personnel database may store at least the reference image information of the person and the corresponding identity information, that is, the corresponding relationship between the reference image information and the identity information of the person is stored.
其中,参考图像信息可以包括人脸图像和/或人脸特征;身份信息例如可以是顾客还是员工,是普通顾客还是会员顾客等,对于身份信息的内容,本公开实施例不做限制。The reference image information may include a face image and/or a face feature; the identity information may be, for example, a customer or an employee, a general customer or a member customer, etc. The content of the identity information is not limited in the embodiments of the present disclosure.
在一些实施方式中,可以预先将多个人员库与图像采集设备关联,或将多个人员库与地理区域关联,也即,多个人员库与图像采集设备和/或与地理区域之间存在对应关系。这样在步骤S12中,能够依据该对应关系,从预设的多个人员库中确定出与目标图像采集设备关联的目标人员库。In some implementations, multiple personnel libraries may be pre-associated with the image acquisition device, or multiple personnel libraries may be associated with the geographic area, ie, multiple personnel libraries exist between the image acquisition equipment and/or the geographic area Correspondence. In this way, in step S12, the target personnel library associated with the target image acquisition device can be determined from the preset multiple personnel libraries according to the corresponding relationship.
在一些实施方式中,在步骤S13中,基于目标人员库,对采集的图像信息进行匹配, 确定与采集的图像信息对应的身份信息,可以包括:确定采集的图像信息与目标人员库中的参考图像信息之间的相似度;根据相似度,从目标人员库中确定与采集的图像信息匹配的参考图像信息;将与采集的图像信息匹配的参考图像信息所对应的身份信息,确定为与采集的图像信息对应的身份信息。In some embodiments, in step S13, based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information, which may include: determining the collected image information and the reference in the target person database The similarity between image information; according to the similarity, the reference image information matching the collected image information is determined from the target personnel database; the identity information corresponding to the reference image information matching the collected image information is determined as the collected image information. The identity information corresponding to the image information.
在实施时,采集的图像信息与参考图像信息之间的相似度,可根据采集的图像信息与参考图像信息之间的距离确定,例如,可根据采集的图像信息中的人脸特征与参考图像信息中的人脸特征之间的距离,确定采集的图像信息与参考图像信息之间的相似度。During implementation, the similarity between the collected image information and the reference image information may be determined according to the distance between the collected image information and the reference image information, for example, it may be determined according to the face features in the collected image information and the reference image The distance between the facial features in the information determines the similarity between the collected image information and the reference image information.
其中,距离可以包括但不限于:余弦距离、欧式距离、马氏距离等。应理解的是,距离与相似度之间可是负相关,也即,距离越近,代表采集的图像信息与目标人员库中的参考图像信息之间相似度越高;反之,距离越远,代表相似度越低。The distance may include, but is not limited to, cosine distance, Euclidean distance, Mahalanobis distance, and the like. It should be understood that the distance and the similarity may be negatively correlated, that is, the closer the distance, the higher the similarity between the collected image information and the reference image information in the target personnel library; the lower the similarity.
在一些实施方式中,根据相似度,从目标人员库中确定与采集的图像信息匹配的参考图像信息,可以包括:将目标人员库中相似度超过相似度阈值的参考图像信息,确定为与采集的图像信息匹配的参考图像信息。其中,相似度阈值的大小,可根据人脸特征的提取精度、相似度的计算精度、用于实现特征提取及相似度计算的设备的处理能力或资源占用情况等进行设定,如可设为0.86,对此本公开实施例不做限定。In some embodiments, determining the reference image information matching the collected image information from the target person database according to the similarity may include: determining the reference image information in the target person database whose similarity exceeds a similarity threshold as the same as the collected image information. The image information matches the reference image information. Among them, the size of the similarity threshold can be set according to the extraction accuracy of facial features, the calculation accuracy of similarity, the processing capability or resource occupancy of the equipment used to achieve feature extraction and similarity calculation, etc. For example, it can be set as 0.86, which is not limited in this embodiment of the present disclosure.
在本公开实施例中,能够从多个人员库中确定出与图像采集设备关联的目标人员库,基于目标人员库对采集的图像信息进行匹配,以确定身份信息,可以缩小基于人员库进行采集的图像信息匹配的范围,减小运算量,有效提高身份识别的实时性和效率。In the embodiment of the present disclosure, the target personnel database associated with the image acquisition device can be determined from a plurality of personnel libraries, the collected image information is matched based on the target personnel database to determine the identity information, and the collection based on the personnel database can be narrowed down. The matching range of image information can be reduced, and the amount of calculation can be reduced, and the real-time performance and efficiency of identity recognition can be effectively improved.
如上文所述,多个人员库与地理区域之间可存在对应关系。在一些实施方式中,人员库与地理区域之间存在第一对应关系,在步骤S12中,从预设的多个人员库中确定出与目标图像采集设备关联的目标人员库,包括:As described above, there may be correspondences between multiple person pools and geographic regions. In some embodiments, there is a first correspondence between the personnel database and the geographical area. In step S12, a target personnel database associated with the target image acquisition device is determined from a plurality of preset personnel databases, including:
获取目标图像采集设备的部署信息,并基于部署信息确定目标图像采集设备对应的目标地理区域;基于第一对应关系,从多个人员库中确定与目标地理区域对应的目标人员库。The deployment information of the target image acquisition device is acquired, and the target geographic area corresponding to the target image acquisition device is determined based on the deployment information; based on the first correspondence, the target personnel database corresponding to the target geographic area is determined from a plurality of personnel databases.
如上文所述,地理区域内可部署有一个或多个图像采集设备。目标图像采集设备所在的地理区域可是目标地理区域。As mentioned above, one or more image acquisition devices may be deployed within a geographic area. The geographic area in which the target image acquisition device is located may be the target geographic area.
其中,部署信息可包括目标图像采集设备的地理位置、部署区域标识等信息。其中地理位置可是全球定位系统(Global Positioning System,GPS)定位,部署区域标识表征图像采集设备所在的地理区域。应理解的是,可根据上述至少一种部署信息,确定目标图像采集设备对应的目标地理区域。Wherein, the deployment information may include information such as the geographic location of the target image acquisition device, the identification of the deployment area, and the like. The geographic location may be global positioning system (Global Positioning System, GPS) positioning, and the deployment area identifier represents the geographic area where the image acquisition device is located. It should be understood that, the target geographic area corresponding to the target image capturing device may be determined according to the above at least one kind of deployment information.
如上所述,第一对应关系还可以包括地理区域与图像采集设备的标识信息之间的对应关系,基于此,还可以根据目标图像采集设备的标识信息,确定目标地理区域。As described above, the first correspondence may further include the correspondence between the geographic area and the identification information of the image capturing device, and based on this, the target geographic area may also be determined according to the identification information of the target image capturing device.
在一些实施方式中,可根据实际需求预先设置人员库与地理区域之间的第一对应关系,例如,可以设置地理区域与一个或多个人员库对应,例如,可以设置人员库a与商铺A对应,人员库b与商铺B对应,人员库c1与c2分别与商铺C对应,对此本公开实施例不作限制。基于此,与目标地理区域对应的目标人员库可包括一个或多个。In some embodiments, the first correspondence between the personnel database and the geographic area can be preset according to actual requirements. For example, the geographic area can be set to correspond to one or more personnel databases. For example, the personnel database a and the shop A can be set. Correspondingly, the personnel library b corresponds to the shop B, and the personnel libraries c1 and c2 correspond to the shop C respectively, which is not limited in the embodiment of the present disclosure. Based on this, the target person database corresponding to the target geographic area may include one or more.
在本公开实施例中,可以实现基于地理区域与人员库之间的第一对应关系,确定出目标人员库,可以有效实现针对同一个地理区域内的采集的图像信息,与对应的目标人员库内的参考图像信息进行匹配。In the embodiment of the present disclosure, the target personnel database can be determined based on the first correspondence between the geographical area and the personnel database, and the image information collected in the same geographical area can be effectively matched with the corresponding target personnel database. match the reference image information.
由于地理区域内的各图像采集设备的拍摄覆盖区域不同,例如,对于学校区域,每个班级内可以设置有图像采集设备,每个班级可以对应各自的人员库,则可以设置班级的人员库与该班级内的图像采集设备关联,从而可以根据与该班级关联的图像采集设备,确定出目标人员库以进行匹配,从而可进一步缩小采集的图像信息匹配的范围,减小运算量,有效提高身份识别的实时性及效率。Due to the different shooting coverage areas of each image acquisition device in a geographical area, for example, for a school area, each class can be equipped with an image acquisition device, and each class can correspond to its own personnel database, then the personnel database of the class can be set to match the The image acquisition equipment in the class is associated, so that the target personnel database can be determined for matching according to the image acquisition equipment associated with the class, thereby further narrowing the matching range of the collected image information, reducing the amount of calculation, and effectively improving the identity. Real-time recognition and efficiency.
如上文所述,多个人员库与图像采集设备之间可存在对应关系。在一些实施方式中,还可以设置人员库与图像采集设备的标识信息之间存在第二对应关系,在步骤S12中,从预设的多个人员库中确定出与目标图像采集设备关联的目标人员库,包括:As described above, there may be a correspondence between multiple personnel libraries and image capture devices. In some embodiments, a second correspondence relationship between the personnel database and the identification information of the image capture device may also be set. In step S12, the target associated with the target image capture device is determined from a plurality of preset personnel databases. Personnel library, including:
获取目标图像采集设备的标识信息,并基于第二对应关系,从多个人员库中确定与目标图像采集设备的标识信息对应的目标人员库。The identification information of the target image capturing device is acquired, and based on the second correspondence, the target personnel database corresponding to the identification information of the target image capturing device is determined from the plurality of personnel databases.
如上文所述,采集的图像信息可带有目标图像设备的标识信息,标识信息可标识不同的图像采集设备,其中,可从采集的图像信息中获取目标图像设备的标识信息。As described above, the captured image information may carry identification information of the target image device, and the identification information may identify different image capture devices, wherein the identification information of the target image device may be obtained from the captured image information.
应理解的是,人员库与图像采集设备的标识信息之间的第二对应关系,也即反映人员库与图像采集设备之间的对应关系。其中,可根据实际需求设置人员库与图像采集设备的标识信息之间的第二对应关系,目标图像采集设备可对应于一个或多个目标人员库。It should be understood that the second correspondence between the personnel database and the identification information of the image acquisition device reflects the correspondence between the personnel database and the image acquisition device. The second correspondence between the personnel database and the identification information of the image acquisition device may be set according to actual requirements, and the target image acquisition device may correspond to one or more target personnel databases.
在本公开实施例中,能够针对目标图像采集设备确定出与之对应的数据量较小的目标人员库,可以缩小基于目标人员库进行采集的图像信息匹配的范围,减小运算量,有效提高身份识别的实时性及效率。In the embodiment of the present disclosure, a target person database with a smaller amount of data corresponding to the target image acquisition device can be determined, the matching range of image information collected based on the target person database can be narrowed, the amount of computation can be reduced, and the Real-time and efficient identification.
在实施时,采集的图像信息可以包括图像采集设备采集的人员图像。在一些实施方式中,目标人员库中包括多个参考图像信息,采集的图像信息包括人员图像,在步骤S13中,所述基于目标人员库,对采集的图像信息进行匹配,确定与采集的图像信息对应的身份信息,包括:When implemented, the collected image information may include images of persons collected by the image collection device. In some embodiments, the target person database includes a plurality of reference image information, and the collected image information includes person images. In step S13, the collected image information is matched based on the target person database, and the collected image information is determined to be the same as the collected image. The identity information corresponding to the information, including:
对人员图像进行特征提取,得到第一人脸特征;Perform feature extraction on the person image to obtain the first face feature;
在目标人员库中查找与第一人脸特征匹配的第一参考图像信息,并将与第一参考图像信息对应的身份信息,确定为与采集的图像信息对应的身份信息。Search for the first reference image information matching the first face feature in the target person database, and determine the identity information corresponding to the first reference image information as the identity information corresponding to the collected image information.
其中,可以是通过上述人脸特征提取网络对人员图像进行人脸特征提取。可以理解的是,人员图像中可以包含至少一个对象的人脸特征。应理解的是,该人脸特征提取网络部署在上述电子设备中。Wherein, the facial feature extraction may be performed on the person image through the above-mentioned facial feature extraction network. It can be understood that the person image may contain the facial features of at least one object. It should be understood that the facial feature extraction network is deployed in the above electronic device.
目标人员库中的参考图像信息可以包括:人脸图像和/或人脸特征。在参考图像信息仅包括人脸图像的情况下,在目标人员库中查找与第一人脸特征匹配的第一参考图像信息,可包括:逐一提取目标人员库中人脸图像的人脸特征,进而与第一人脸特征进行匹配,以查找出与第一人脸特征匹配的第一参考图像信息。The reference image information in the target person database may include: face images and/or face features. In the case that the reference image information only includes face images, searching for the first reference image information matching the first face features in the target person database may include: extracting the face features of the face images in the target person database one by one, Then, it is matched with the first face feature to find out the first reference image information matching the first face feature.
在一些实施方式中,在目标人员库中的参考图像信息包括人脸特征的情况下,可以 依据第一人脸特征,在目标人员库中查找出与第一人脸特征匹配的第一参考图像信息。通过该方式,能够提高身份识别的实时性以及效率。In some embodiments, when the reference image information in the target person database includes facial features, a first reference image matching the first facial features can be found in the target person database according to the first facial features information. In this way, the real-time performance and efficiency of identity recognition can be improved.
在实施时,可以根据采集的图像信息与参考图像信息之间的相似度,确定与采集的图像信息匹配的参考图像信息。在目标人员库中查找与第一人脸特征匹配的第一参考图像信息,可以包括:逐一计算目标人员库中的人脸特征与第一人脸特征之间的相似度,将相似度小于相似度阈值的目标人员库中的人脸特征,作为与第一人脸特征匹配的第一参考图像信息。During implementation, the reference image information matching the collected image information may be determined according to the similarity between the collected image information and the reference image information. Searching for the first reference image information matching the first face feature in the target person database may include: calculating the similarity between the face features in the target person database and the first face feature one by one, and set the similarity less than the similarity The facial features in the target person database with the degree threshold are used as the first reference image information matched with the first facial features.
人员库中存储有参考图像信息和对应的身份信息。在确定出与第一人脸特征匹配的第一参考图像信息的情况下,可得到与第一参考图像信息对应的身份信息,例如,该对象是会员还是普通顾客,以方便对人员库中的人员行为进行统计分析。Reference image information and corresponding identity information are stored in the personnel database. In the case where the first reference image information matching the first face feature is determined, the identity information corresponding to the first reference image information can be obtained, for example, whether the object is a member or an ordinary customer, so as to facilitate the identification of the information in the personnel database. Statistical analysis of personnel behavior.
在一些实施方式中,在确定出与采集的图像信息对应的身份信息后,可以基于该身份信息,记录身份信息对应对象的行为信息,例如,会员001在某时刻进入商铺,在某时刻出商铺;还可以是统计普通顾客002一个统计周期内进入商铺的次数等。In some embodiments, after determining the identity information corresponding to the collected image information, the behavior information of the object corresponding to the identity information can be recorded based on the identity information. For example, member 001 enters the store at a certain time, and leaves the store at a certain time. ; It can also count the number of times that ordinary customers 002 enter the store in a statistical period, etc.
在一些实施方式中,在目标人员库中不存在与第一人脸特征匹配的第一参考图像信息的情况下,可以在目标人员库中添加具备该第一人脸特征的对象的身份信息和参考图像信息,并记录该对象的行为信息,便于对地理区域内的客流情况进行分析,对此本公开实施例不做限制。In some embodiments, if there is no first reference image information matching the first face feature in the target person database, the identity information and Referring to the image information and recording the behavior information of the object, it is convenient to analyze the passenger flow situation in the geographical area, which is not limited in this embodiment of the present disclosure.
在本公开实施例中,能够根据采集的图像信息中的第一人脸特征及目标人员库,有效的确定出与采集的图像信息对应的身份信息。In the embodiment of the present disclosure, the identity information corresponding to the collected image information can be effectively determined according to the first face feature in the collected image information and the target person database.
在实施时,为了能够保护图像信息中对象的隐私,降低非法获取人员图像的概率,采集的图像信息还可以是人员图像的人脸特征。在一些实施方式中,所述目标人员库中包括多个参考图像信息,采集的图像信息包括第二人脸特征,在步骤S13中,所述基于目标人员库,对采集的图像信息进行匹配,确定与采集的图像信息对应的身份信息,可以包括:During implementation, in order to protect the privacy of the object in the image information and reduce the probability of illegally obtaining the image of the person, the collected image information may also be the face feature of the image of the person. In some embodiments, the target person database includes a plurality of reference image information, and the collected image information includes a second face feature. In step S13, the collected image information is matched based on the target person database, Determining the identity information corresponding to the collected image information may include:
在目标人员库中查找与第二人脸特征匹配的第二参考图像信息,并将与第二参考图像信息对应的身份信息,确定为与采集的图像信息对应的身份信息。Search for the second reference image information matching the second face feature in the target person database, and determine the identity information corresponding to the second reference image information as the identity information corresponding to the collected image information.
如上所述,可将人脸特征提取网络部署在图像采集设备中,并在图像采集设备中执行对采集的人员图像的人脸特征提取。基于此,第二人脸特征可以是在图像采集设备中执行的、对采集的人员图像进行特征提取所得到的人脸特征。As described above, the facial feature extraction network can be deployed in the image acquisition device, and the facial feature extraction of the acquired person images is performed in the image acquisition device. Based on this, the second face feature may be a face feature obtained by performing feature extraction on the collected image of the person executed in the image collection device.
其中,在目标人员库中查找与第二人脸特征匹配的第二参考图像信息,可以是采用与上述在目标人员库中查找与第一人脸特征匹配的第一参考图像信息相同的方式,在此不做赘述。Wherein, searching for the second reference image information matching the second facial feature in the target person database may be in the same manner as the above-mentioned searching for the first reference image information matching the first facial feature in the target person database, I won't go into details here.
人员库中存储有参考图像信息和对应的身份信息。在确定出与第二人脸特征匹配的第二参考图像信息的情况下,可得到与第二参考图像信息对应的身份信息,以方便对人员库中的人员行为进行统计分析。Reference image information and corresponding identity information are stored in the personnel database. In the case where the second reference image information matching the second face feature is determined, the identity information corresponding to the second reference image information can be obtained, so as to facilitate the statistical analysis of the behavior of the personnel in the personnel database.
在本公开实施例中,不仅能够保护图像信息中对象的隐私,还可以有效的根据第二 人脸特征和目标人员库,确定出与采集的图像信息对应的身份信息。In the embodiment of the present disclosure, not only the privacy of the object in the image information can be protected, but also the identity information corresponding to the collected image information can be determined effectively according to the second face feature and the target person database.
在一些实施方式中,所述方法还可以包括:根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,所述人员信息包括人员的参考图像信息与身份信息之间的对应关系。In some embodiments, the method may further include: creating a personnel database according to the personnel information, and the deployment information and/or identification information of the image capture device, where the personnel information includes the relationship between the reference image information of the personnel and the identification information. Correspondence.
其中,人员的参考图像信息可以包括预先采集的人员图像,和/或预先提取的人员图像中的人脸特征。参考图像信息与身份信息之间的对应关系,可以包括:参考图像信息,以及与参考图像信息对应的身份信息,身份信息可以包括人员编号、人员身份等信息。The reference image information of the person may include pre-collected person images and/or pre-extracted facial features in the person images. The correspondence between the reference image information and the identity information may include: the reference image information, and the identity information corresponding to the reference image information, and the identity information may include information such as personnel number and personnel identity.
其中,人员编号可以是手机号、工号和/或身份证号等唯一标识人员的信息;人员身份可以是根据人员库的应用场景设定的用于表征人员身份的信息,例如针对店铺场景,人员身份可以包括会员、员工、异常顾客、正常顾客等;针对学校场景,人员身份可以包括学生、教师、异常访客、正常访客等,对此本公开实施例不做限制。The personnel number may be information that uniquely identifies the person, such as a mobile phone number, job number, and/or ID number; the personnel identity may be information set according to the application scenario of the personnel database to characterize the identity of the person, for example, for the store scene, Personnel identities may include members, employees, abnormal customers, normal customers, etc.; for school scenarios, personnel identities may include students, teachers, abnormal visitors, normal visitors, etc., which are not limited in this embodiment of the present disclosure.
在一些实施方式中,根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,可以包括:根据人员信息建立人员库;设置该人员库与部署信息指示的地理区域之间的第一对应关系,和/或,设置该人员库与图像采集设备的标识信息之间的第二对应关系,以创建出人员库。In some embodiments, creating a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device may include: establishing a personnel database according to the personnel information; setting the distance between the personnel database and the geographical area indicated by the deployment information and/or setting a second correspondence between the personnel database and the identification information of the image acquisition device, so as to create a personnel database.
在本公开实施例中,可以有效的根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,以便于在进行身份识别过程中提高身份识别的处理效率。In the embodiment of the present disclosure, a personnel database can be created according to the personnel information, and the deployment information and/or identification information of the image acquisition device, so as to improve the processing efficiency of the identification during the identification process.
在一些实施方式中,所述根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,包括:In some embodiments, creating a personnel database according to personnel information and deployment information and/or identification information of the image capture device includes:
获取人员信息;响应于对人员信息的配置操作,将人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,或与一个或多个图像采集设备的部署信息指示的地理区域进行关联;基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。Obtaining personnel information; in response to a configuration operation on the personnel information, associating at least part of the personnel information in the personnel information with identification information of one or more image capture devices, or with the geographic location indicated by the deployment information of one or more image capture devices Areas are associated; based on the person information associated with the same identification information or the same geographic area, create a person pool.
其中,用户可以将人员信息导入至指定数据库中,以获取用户导入的人员信息。例如,可以是通过逐个添加或批量导入的方式,将人员信息导入至指定数据库中,对此本公开实施例不做限制。Among them, the user can import the personnel information into the specified database to obtain the personnel information imported by the user. For example, the personnel information may be imported into a specified database by adding one by one or importing in batches, which is not limited in this embodiment of the present disclosure.
针对人员信息的配置操作,可以通过人员库配置系统的配置界面实现。图2a为本公开实施例提供的一种人员信息的配置界面1000的示意图,如图2a所示,用户可在图2a中“人员库”处的下拉框1001,选择与地理区域关联绑定的人员库,如图2a中“人员库c1”;在图2a中“地理区域”处的下拉框1002中选择与人员库关联绑定的地理区域的区域标识,如图中“区域0079”;并通过点击“完成”按钮1003,实现人员库与地理区域的关联绑定。The configuration operation for personnel information can be realized through the configuration interface of the personnel database configuration system. Fig. 2a is a schematic diagram of a configuration interface 1000 of personnel information provided by an embodiment of the present disclosure. As shown in Fig. 2a, the user can select the one associated with the geographic area in the drop-down box 1001 of "person library" in Fig. 2a. Personnel library, such as "personnel library c1" in Fig. 2a; in the drop-down box 1002 at "geographical area" in Fig. 2a, select the area identifier of the geographic area associated with the personnel library, such as "area 0079" in the figure; and By clicking the "Finish" button 1003, the association between the personnel database and the geographic area is realized.
图2b为本公开实施例提供的一种人员信息的配置界面2000的示意图,如图2b所示,用户可通过图2b中“人员库”处的下拉框2001,选择与图像采集设备关联绑定的人员库,如图2b中“人员库c2”;以及在图2b中“图像采集设备”处的下拉列表2002中,通过单选或多选图像采集设备的标识信息,来选择与人员库关联绑定的图像采集设备;并通过点击“完成”按钮2003,实现人员库与图像采集设备的关联绑定。应理解的是,下拉列表中可 提供用于单选或多选的选择控件,以及用于滑动查看标识信息的滑动条控件,对此本公开实施例不作限制。Fig. 2b is a schematic diagram of a configuration interface 2000 of personnel information provided by an embodiment of the present disclosure. As shown in Fig. 2b, a user can select to associate and bind with an image capture device through a drop-down box 2001 at "person library" in Fig. 2b and in the drop-down list 2002 at the "image acquisition device" in Fig. 2b, select the identification information of the image acquisition device to be associated with the personnel library by single or multiple selection The bound image acquisition device; and by clicking the "Finish" button 2003, the associated binding between the personnel library and the image acquisition device is realized. It should be understood that, the drop-down list may provide a selection control for single selection or multiple selection, and a slider control for sliding to view identification information, which is not limited to this embodiment of the present disclosure.
将人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,可理解为,可配置某个图像采集设备与部分或全部用户导入的人员信息关联。将人员信息中至少部分人员信息与一个或多个图像采集设备的部署信息指示的地理区域进行关联,可理解为,可配置某个地理区域与部分或全部用户导入的人员信息关联。一个或多个图像采集设备的部署信息指示的地理区域,也即,一个或多个图像采集设备所在的地理区域。Associating at least part of the personnel information in the personnel information with the identification information of one or more image capture devices can be understood as being able to configure an image capture device to be associated with some or all of the personnel information imported by the user. Associating at least part of the personnel information with the geographic area indicated by the deployment information of one or more image capture devices can be understood as configuring a certain geographic area to be associated with some or all of the personnel information imported by the user. The geographic area indicated by the deployment information of the one or more image capturing devices, that is, the geographic area where the one or more image capturing devices are located.
应理解的是,用户导入的人员信息可存储在一个或多个的指定数据库,或存储在同一指定数据库中的一个或多个指定表中。将至少部分人员信息与图像采集设备或与地理区域进行关联,可包括:将至少部分指定数据库或至少部分指定表,与图像采集设备或与地理区域关联,从而实现基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。It should be understood that the personnel information imported by the user may be stored in one or more designated databases, or stored in one or more designated tables in the same designated database. Associating at least part of the personnel information with the image capture device or with the geographic area may include: associating at least part of the designated database or at least part of the designated table with the image capture device or with the geographic area, so as to realize the identification based on the same identification information or the same geographic area. Areas are associated with personnel information to create a personnel library.
其中,相同标识信息可理解为同一图像采集设备,与相同标识信息关联的人员信息,可理解为,与同一图像采集设备关联的指定数据库或指定表中的人员信息。与相同地理区域关联的人员信息,可理解为,与同一地理区域关联的指定数据库或指定表中的人员信息。Wherein, the same identification information can be understood as the same image acquisition device, and the personnel information associated with the same identification information can be understood as personnel information in a specified database or specified table associated with the same image acquisition device. Personnel information associated with the same geographic area may be understood as personnel information in a specified database or specified table associated with the same geographic area.
举例来说,人员信息可以包括某学校的全部学生和全部教师。该学校的全部学生的人员信息可存储于一个学生数据库,不同班级的学生可存储于该一个学生数据库中的不同班级表中。教师数量相对于学生数量要少,全部教师可按照年级存储于一个教师数据库中的年级表中。基于此,可配置各班级的图像采集设备与学生数据库关联,也可配置各班级的图像采集设备与对应的班级表关联;以及可配置不同年级下各班级的图像采集设备与教师数据库关联,也可配置同一年级下各班级的图像采集设备与对应的年级表关联。For example, personnel information may include all students and all teachers of a school. Personnel information of all students of the school can be stored in one student database, and students of different classes can be stored in different class tables in the one student database. The number of teachers is smaller than the number of students, and all teachers can be stored in a grade table in a teacher database according to grade. Based on this, the image capture devices of each class can be configured to associate with the student database, and the image capture devices of each class can also be configured to be associated with the corresponding class table; and the image capture devices of each class under different grades can be configured to be associated with the teacher database. The image acquisition devices of each class under the same grade can be configured to associate with the corresponding grade table.
在本公开实施例中,可以有效的根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,以便于根据图像采集设备的部署信息和/或标识信息,缩小在身份识别时基于目标人员库进行采集的图像信息匹配的范围,可以减小运算量小,有助于提高基于身份识别的实时性以及处理效率。In the embodiment of the present disclosure, a personnel database can be created effectively according to the personnel information and the deployment information and/or identification information of the image capture device, so as to narrow down the identification and identification information according to the deployment information and/or identification information of the image capture device. When the matching range of image information collected based on the target personnel database can be reduced, the calculation amount can be reduced, and the real-time performance and processing efficiency based on identity recognition can be improved.
在实施时,人员库可以包括一个或多个分类库,在人员库包括多个分类库的情况下,对多个分类库设置优先级,并依据优先级查找匹配的参考图像信息。在一些实施方式中,在步骤S13中,基于目标人员库,对采集的图像信息进行匹配,确定与采集的图像信息对应的身份信息,可以包括:During implementation, the personnel library may include one or more classification libraries. In the case that the personnel library includes multiple category libraries, priorities are set for the multiple category libraries, and matching reference image information is searched according to the priorities. In some embodiments, in step S13, based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information, which may include:
在目标人员库包括多个分类库的情况下,按照多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与采集的图像信息匹配的参考图像信息,直至获取到与采集的图像信息匹配的参考图像信息;将与参考图像信息对应的身份信息,确定为与采集的图像信息对应的身份信息。In the case that the target personnel database includes multiple classification databases, according to the priority of the multiple classification databases from high to low, look for whether there is any reference image information matching the collected image information one by one, until the collected image information is obtained. The reference image information that matches the image information of the image information; the identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
在一些实施方式中,分类库包括重点关注对象库、普通对象库、异常对象库中的一项或多项。在教育场景中,重点关注对象库包括教师库和学生库中的至少一项;或者,在零售场景中,重点关注对象库包括会员库和员工库中的至少一项。In some embodiments, the classification library includes one or more of a focused object library, a common object library, and an abnormal object library. In an educational scenario, the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes at least one of a member library and an employee library.
普通对象库可以是指白名单人员库,例如,普通访客库;异常对象库可以是指黑名单人员库,例如,异常访客库。The common object library may refer to the whitelisted personnel library, for example, the common visitor library; the abnormal object library may refer to the blacklisted personnel library, for example, the abnormal visitor library.
应理解的是,分类库的优先级可以根据实际需求设定,对此本公开实施例不做限制,比如,可以根据各分类库的数据量进行设置,即数据量越小的分类库的优先级越高;再比如,可以根据对分类库所指示的对象类别的关注程度进行设置,即将最关注的对象类别对应的分类库的优先级置为最高,等等。例如:可以设置会员库、员工库、异常对象库及普通对象库的优先级依次递减,也就是说,可以依次查找会员库、员工库、异常对象库及普通对象库中是否存在与采集的图像信息匹配的参考图像信息。It should be understood that the priority of the classification library may be set according to actual needs, and this embodiment of the present disclosure does not limit it. The higher the level; for another example, it can be set according to the degree of attention to the object category indicated by the classification library, that is, the priority of the classification library corresponding to the most concerned object category is set to the highest, and so on. For example, you can set the priority of member database, employee database, abnormal object database and common object database in descending order. Information matching the reference image information.
为便于理解上述按照多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与采集的图像信息匹配的参考图像信息,直至获取到与采集的图像信息匹配的参考图像信息的过程,以零售场景下设置会员库、员工库、异常对象库及普通对象库的优先级依次递减为例,进行说明如下:In order to facilitate the understanding of the above, according to the order of the priority of the multiple classification libraries from high to low, search whether there is reference image information matching the collected image information one by one, until the reference image information matching the collected image information is obtained. The process, taking the setting of the priority of the member library, employee library, abnormal object library and common object library in the retail scenario, decreases in order as an example, the description is as follows:
可以首先在会员库中进行查找;在会员库查找到了与采集的图像信息匹配的参考图像信息的情况下,则确定访客的人员身份为会员。此时,可以记录该会员的行为信息,例如到访时间、到访次数等,并结束本次查找。在会员库未搜索与采集的图像信息匹配的参考图像信息的情况下,则继续在下一个分类库(员工库)中进行查找。The member database can be searched first; when the member database finds the reference image information matching the collected image information, the personal identity of the visitor is determined as a member. At this point, the member's behavior information, such as the visit time, the number of visits, etc., can be recorded, and the search is ended. If the member database does not search for reference image information matching the collected image information, the search continues in the next classification database (employee database).
在员工库查找到了与采集的图像信息匹配的参考图像信息的情况下,则确定访客的人员身份为员工。此时,可以结束本次查找。在员工库中未搜索与采集的图像信息匹配的参考图像信息的情况下,则继续在下一个分类库(异常对象库)中进行查找。In the case that the reference image information matching the collected image information is found in the employee database, the personal identity of the visitor is determined to be an employee. At this point, the search can be ended. If the reference image information matching the collected image information is not searched in the employee database, the search continues in the next classification database (abnormal object database).
在异常对象库查找到了与采集的图像信息匹配的参考图像信息的情况下,则确定访客的人员身份为黑名单人员。此时,可以记录该黑名单人员的行为信息,例如到访时间、到访次数等,并可以结束本次查找。可选地,还可以向终端用户推送该黑名单人员到访的报警信息。在异常对象库未查找到与采集的图像信息匹配的参考图像信息的情况下,则继续在下一个分类库(普通对象库)中进行查找。In the case that the reference image information matching the collected image information is found in the abnormal object library, the personal identity of the visitor is determined to be a blacklisted person. At this time, the behavior information of the blacklisted person can be recorded, such as the visit time, the number of visits, etc., and the search can be ended. Optionally, the alarm information of the visit of the blacklisted personnel may also be pushed to the end user. If the abnormal object library does not find the reference image information matching the collected image information, the search continues in the next classification library (ordinary object library).
在普通对象库查找到了与采集的图像信息匹配的参考图像信息的情况下,则确定访客的人员身份为普通访客。此时,可以记录该普通访客的行为信息,例如到访时间、到访次数等,并可以结束本次查找。在普通对象库未查找到与采集的图像信息匹配的参考图像信息的情况下,可以将该普通访客的人脸图像和/或人脸特征信息添加到该普通对象库中,例如可以表示店铺来了一个新顾客。In the case that the reference image information matching the collected image information is found in the common object library, the personal identity of the visitor is determined as a common visitor. At this point, the behavior information of the common visitor, such as the visit time, the number of visits, etc., can be recorded, and the search can be ended. In the case that the reference image information matching the collected image information is not found in the common object library, the face image and/or face feature information of the common visitor can be added to the common object library, for example, it can indicate that the store has got a new customer.
在本公开实施例中,可以按照有效及依次查找分类库进行图像匹配,提高了身份识别的处理效率。In the embodiment of the present disclosure, the classification library can be searched effectively and sequentially to perform image matching, which improves the processing efficiency of identity recognition.
在一些实施方式中,在得到对象的身份信息和行为信息后,所述方法还可以包括:向终端发送对象的身份信息和行为信息中的至少一种。In some embodiments, after obtaining the identity information and behavior information of the object, the method may further include: sending at least one of the identity information and behavior information of the object to the terminal.
在一些实施方式中,终端包括个人电脑PC、智能手机、可穿戴设备或平板电脑等。 云端服务器可以通过网络向终端推送各种信息。当云端服务器确定出对象的身份信息时,可向终端推送对象的身份信息及行为信息中的至少一种。其中,行为信息可以包括到访时间、到访次数、到访区域等一种或多种。In some embodiments, the terminal includes a personal computer PC, a smart phone, a wearable device or a tablet computer, or the like. The cloud server can push various information to the terminal through the network. When the cloud server determines the identity information of the object, it can push at least one of the identity information and behavior information of the object to the terminal. The behavior information may include one or more of visit time, visit times, and visit area.
在一些实施方式中,针对零售场景,当云端服务器确定对象的身份为会员z时,可向终端推送会员z的行为信息,以便于用户查看会员z的到访情况,从而做出相应的应对措施。例如,可以针对会员z的历史购物记录等信息,向会员z推送产品和促销活动等。In some embodiments, for retail scenarios, when the cloud server determines that the identity of the object is member z, the cloud server can push the behavior information of member z to the terminal, so that the user can check the visit status of member z and take corresponding countermeasures . For example, according to information such as the historical shopping records of member z, products and promotions can be pushed to member z.
在一些实施方式中,人员库的创建过程可以包括:建立人员库;在人员库中添加人员;设置身份识别方法的执行主体;将人员库关联到地理区域,或将人员库关联到图像采集设备。In some embodiments, the creation process of the personnel library may include: establishing a personnel library; adding personnel to the personnel library; setting an execution subject of the identification method; associating the personnel library with a geographic area, or associating the personnel library with an image acquisition device .
在一些实施方式中,根据需要建立不同类型的人员库,人员库类型可以分为会员库、员工库、白名单数据库、黑名单数据库、学生库、老师库这六大类,其中老师库和学生库主要针对于教育场景使用,会员库主要针对门店场景使用。In some embodiments, different types of personnel databases are established according to requirements. The types of personnel databases can be divided into six categories: member database, employee database, whitelist database, blacklist database, student database, and teacher database. Among them, teacher database and student database The library is mainly used in educational scenarios, and the membership library is mainly used in store scenarios.
在一些实施方式中,创建好人员库之后,可以针对某个具体的人员库添加人员,也可以进入人员管理页面,直接添加人员。其中,添加人员可以单独添加,也可以批量导入。导入分为两部分内容,多张人员的图片和一个包括所有人员信息的Excel表格,其中Excel表中的关联项为图片和Excel中每一个人的唯一对应项,不能重复。人员编号是标识该人身份的唯一编码,可以是手机号、工号、身份证号等。In some embodiments, after the personnel database is created, personnel can be added to a specific personnel database, or a personnel management page can be entered to directly add personnel. Among them, adding personnel can be added individually or imported in batches. The import is divided into two parts, a picture of multiple people and an Excel table that includes all the personnel information. The associated item in the Excel table is the only corresponding item of the picture and each person in Excel, and cannot be repeated. Personnel number is a unique code to identify the person's identity, which can be mobile phone number, work number, ID number, etc.
在一些实施方式中,可以根据个人需要设置和人脸静态库底库(人员库)比对的身份识别功能是在云端做还是在边缘节点,默认是在云端,如果选择了边缘节点或者智能终端,则在具体的边缘节点或智能终端做。In some embodiments, it is possible to set whether the identity recognition function compared with the static face database (person database) is performed in the cloud or in the edge node according to individual needs. The default is in the cloud. If the edge node or smart terminal is selected , then do it at a specific edge node or intelligent terminal.
在一些实施方式中,可以设置将人员库关联到具体的某个分支机构(地理区域),分支机构主要指某个店、某个学校等,如果人员库绑定到分支机构,则同一个分支机构都使用这一个人员库进行比对。In some implementations, the personnel database can be set to be associated with a specific branch (geographical area), the branch mainly refers to a certain store, a certain school, etc. If the personnel database is bound to a branch, the same branch Organizations use this one staff pool for comparison.
在一些实施方式中,如果人员库数量过大时,绑定到一个分支机构可能导致底库比对时间过长,例如一种场景是一个学校,不同的课堂想用不同的学生库,那么此时可以将人员库绑定到具体的抓拍设备(图像采集设备):包括普通/智能IPC、智能模组(网络版)、业务模组/业务SDK。这样可以针对每一台设备获取数据量较小的人员库,即减少了因为底库人员过多容易导致误识率增高的概率,也减少了比对时的耗时。In some embodiments, if the number of personnel pools is too large, binding to a branch may lead to a long time for base pool comparison. For example, a scenario is a school, and different classes want to use different student pools, then this At the same time, the personnel library can be bound to a specific capture device (image acquisition device): including ordinary/intelligent IPC, intelligent module (network version), business module/business SDK. In this way, a personnel database with a small amount of data can be obtained for each device, which reduces the probability that the misrecognition rate is likely to increase due to too many personnel in the base library, and also reduces the time-consuming comparison.
在一些实施方式中,按照上述流程设置完成之后,数据会正常上报,此时可以查看和人员库比对的不同的人的身份和记录情况,拥有特殊身份的人员数量,同时也可以导出报表进行进一步分析。In some embodiments, data will be reported normally after setting according to the above process. At this time, you can check the identities and records of different people compared with the personnel database, the number of people with special identities, and you can also export reports for further analysis.
根据本公开实施例的身份识别方法,可以针对多种不同终端类型:智能模组、智能IPC、业务SDK、和边缘节点,通过设置不同的图像采集设备,实现人员库的分流处理,提升了性能和准确性。并且用户可以针对自己的需求来灵活配置人员库绑定到分支机构还是到具体设备,使用方便且直观。According to the identity recognition method of the embodiment of the present disclosure, for a variety of different terminal types: intelligent modules, intelligent IPCs, service SDKs, and edge nodes, different image acquisition devices can be set to realize the offload processing of the personnel database and improve the performance. and accuracy. In addition, users can flexibly configure the personnel database to be bound to branches or specific devices according to their own needs, which is convenient and intuitive to use.
相关技术中的人员库使用场景中,会针对一个商家设置一个大的人员库,这样有一个问题,当人员库数量非常大的时候,会导致处理时间过长,延迟较大。并且因为人员 底库过大,那么同一个人被识别为其他人的概率也就较高,本公开实施例针对此种情况,通过将较大的人员库拆分不同的人员小库,下发到绑定的图像采集设备,不同的图像采集设备可以针对不同的人员库做相应的差异化处理,这样可以有效地解决上述问题。In the usage scenario of the personnel library in the related art, a large personnel library is set up for a merchant, so there is a problem that when the number of personnel library is very large, the processing time will be too long and the delay will be large. And because the personnel base is too large, the probability of the same person being identified as another person is also high. In order to solve this situation, the embodiment of the present disclosure divides the larger personnel library into different personnel small libraries and sends them to Binding image acquisition devices, different image acquisition devices can perform corresponding differentiated processing for different personnel libraries, which can effectively solve the above problems.
根据本公开实施例的身份识别方法,针对人员库应用场景,对终端设备、边缘节点、云服务多方使用人员库的情况,进行人员库与设备的绑定与管理,以便更好地实现人员库的分发,提升人员库比对的处理效率,以降低计算量。According to the identification method of the embodiment of the present disclosure, for the application scenario of the personnel library, the personnel library and the equipment are bound and managed in the case where the terminal device, edge node, and cloud service use the personnel library in multiple ways, so as to better realize the personnel library. distribution, improve the processing efficiency of personnel database comparison, and reduce the amount of calculation.
根据本公开实施例的身份识别方法,可以应用在学校、商超客流、门店、4S店等需要人员库管理的产品。The identification method according to the embodiment of the present disclosure can be applied to products that require personnel database management, such as schools, commercial supermarkets, stores, and 4S stores.
根据本公开实施例的身份识别方法,能够支持在边缘节点或者智能IPC设备上做人员库的针对性下发,减少加载或处理大库的耗时。The identity recognition method according to the embodiment of the present disclosure can support targeted distribution of personnel database on edge nodes or intelligent IPC devices, and reduce the time-consuming of loading or processing large databases.
可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the foregoing method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle and logic. Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.
基于同一发明构思,本公开实施例中还提供了与身份识别方法对应的身份识别装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述身份识别方法相似,因此装置的实施可以参见方法的实施。Based on the same inventive concept, the embodiments of the present disclosure also provide an identity recognition device corresponding to the identity recognition method. See implementation of the method.
图3为本公开实施例提供的一种身份识别装置的示意图,如图3所示,所述装置包括:FIG. 3 is a schematic diagram of an identification device provided by an embodiment of the present disclosure. As shown in FIG. 3 , the device includes:
获取部分101,被配置为获取目标图像采集设备采集的图像信息;an acquisition part 101, configured to acquire image information acquired by a target image acquisition device;
确定部分102,被配置为从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;The determining part 102 is configured to determine a target personnel library associated with the target image acquisition device from a plurality of preset personnel libraries;
匹配部分103,被配置为基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。The matching part 103 is configured to match the collected image information based on the target person database, and determine the identity information corresponding to the collected image information.
在一些实施方式中,人员库与地理区域之间存在第一对应关系,所述确定部分102,包括:第一确定子部分,被配置为获取所述目标图像采集设备的部署信息,并基于所述部署信息确定所述目标图像采集设备对应的目标地理区域;第二确定子部分,被配置为基于所述第一对应关系,从所述多个人员库中确定与所述目标地理区域对应的所述目标人员库。In some embodiments, there is a first correspondence between the personnel database and the geographical area, and the determining part 102 includes: a first determining sub-part, configured to acquire the deployment information of the target image capturing device, and based on the The deployment information determines the target geographic area corresponding to the target image acquisition device; the second determination subsection is configured to determine, based on the first correspondence, the target geographic area corresponding to the target geographic area from the plurality of personnel databases The target personnel library.
在一些实施方式中,人员库与图像采集设备的标识信息之间存在第二对应关系,所述确定部分102,被配置为:第三确定子部分,被配置为获取所述目标图像采集设备的标识信息,并基于所述第二对应关系,从所述多个人员库中确定与所述目标图像采集设备的标识信息对应的所述目标人员库。In some embodiments, there is a second correspondence between the personnel database and the identification information of the image capturing device, and the determining part 102 is configured as: a third determining sub-part configured to obtain the identification information of the target image capturing device. identification information, and based on the second correspondence, the target personnel library corresponding to the identification information of the target image acquisition device is determined from the plurality of personnel libraries.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括人员图像,所述匹配部分103,包括:特征提取子部分,被配置为对所述人员图像进行特征提取,得到第一人脸特征;第一查找子部分,被配置为在所述目标人员库中查找与所述第一人脸特征匹配的第一参考图像信息,并将与所述第一参考图像信息对应的 身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the target person library includes a plurality of reference image information, the collected image information includes a person image, and the matching part 103 includes: a feature extraction sub-section configured to Perform feature extraction to obtain the first face feature; the first search subsection is configured to search for the first reference image information matching the first face feature in the target person database, and match the first reference image information with the first face feature. The identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
在一些实施方式中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括第二人脸特征,所述匹配部分103,包括:第二查找子部分,被配置为在所述目标人员库中查找与所述第二人脸特征匹配的第二参考图像信息,并将与所述第二参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some embodiments, the target person database includes a plurality of reference image information, the collected image information includes second face features, and the matching part 103 includes: a second search sub-part, configured to Searching for the second reference image information matching the second face feature in the target person database, and determining the identity information corresponding to the second reference image information as the identity corresponding to the collected image information information.
在一些实施方式中,所述装置还包括:创建部分,用于根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,所述人员信息包括人员的参考图像信息与身份信息之间的对应关系。In some embodiments, the apparatus further includes: a creation part configured to create a personnel database according to the personnel information and the deployment information and/or identification information of the image capture device, the personnel information including the reference image information and the identity of the personnel Correspondence between information.
在一些实施方式中,所述创建部分包括:获取子部分,被配置为获取所述人员信息;配置子部分,被配置为响应于对所述人员信息的配置操作,将所述人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,或与一个或多个图像采集设备的部署信息指示的地理区域进行关联;创建子部分,被配置为基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。In some implementations, the creation part includes: an acquisition subsection, configured to acquire the personnel information; and a configuration subsection, configured to, in response to a configuration operation on the personnel information, convert at least the personnel information into Part of the personnel information is associated with the identification information of one or more image capture devices, or is associated with the geographic area indicated by the deployment information of one or more image capture devices; subsections are created, configured to be based on the same identification information or the same Personnel information associated with geographic areas to create a personnel library.
在一些实施方式中,所述匹配部分103,包括:在所述目标人员库包括多个分类库的情况下,按照所述多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与所述采集的图像信息匹配的参考图像信息,直至获取到与所述采集的图像信息匹配的参考图像信息;将与所述参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。In some implementation manners, the matching part 103 includes: in the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, searching the classification databases one by one Whether there is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; determine the identity information corresponding to the reference image information as the collected image information. The identity information corresponding to the image information.
在一些实施方式中,所述分类库包括重点关注对象库、普通对象库、异常对象库中的一项或多项。In some embodiments, the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
在一些实施方式中,在教育场景中,所述重点关注对象库包括教师库和学生库中的至少一项;或者,在零售场景中,所述重点关注对象库包括会员库和员工库中的至少一项。In some embodiments, in an educational scenario, the focused object library includes at least one of a teacher library and a student library; or, in a retail scene, the focused object library includes a member library and an employee library. at least one.
在本公开实施例中,能够从多个人员库中确定出与图像采集设备关联的目标人员库,基于目标人员库对采集的图像信息进行匹配,以确定身份信息,可以缩小基于人员库进行图像信息匹配的范围,减小运算量,有效提高身份识别的实时性的效率。In the embodiment of the present disclosure, a target personnel library associated with the image acquisition device can be determined from a plurality of personnel libraries, and the collected image information is matched based on the target personnel library to determine the identity information, and the images based on the personnel library can be reduced. The scope of information matching can reduce the amount of calculation and effectively improve the real-time efficiency of identity recognition.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的部分可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述。In some embodiments, the functions or included parts of the apparatus provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments, and reference may be made to the descriptions in the above method embodiments for specific implementation.
在本公开实施例以及其他的实施例中,“部分”可以是部分电路、部分处理器、部分程序或软件等等,当然也可以是单元,还可以是模块也可以是非模块化的。In the embodiments of the present disclosure and other embodiments, a "part" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, a unit, a module or a non-modularity.
本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented. Computer-readable storage media can be volatile or non-volatile computer-readable storage media.
本公开实施例还提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。电子设备可以被提供为终端、服务器或其它形态的设备。图4为本公开实施例的提供一种电 子设备400的结构示意图。例如,电子设备400可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method. The electronic device may be provided as a terminal, server or other form of device. FIG. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present disclosure. For example, electronic device 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc. terminal.
参照图4,电子设备400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。4, electronic device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414 , and the communication component 416 .
处理组件402通常控制电子设备400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个部分,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体部分,以方便多媒体组件408和处理组件402之间的交互。The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 402 may include one or more sections that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia portion to facilitate interaction between multimedia component 408 and processing component 402.
存储器404被配置为存储各种类型的数据以支持在电子设备400的操作。这些数据的示例包括用于在电子设备400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 404 is configured to store various types of data to support operation at electronic device 400 . Examples of such data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, and the like. Memory 404 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件406为电子设备400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为电子设备400生成、管理和分配电力相关联的组件。 Power supply assembly 406 provides power to various components of electronic device 400 . Power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 400 .
多媒体组件408包括在所述电子设备400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当电子设备400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, multimedia component 408 includes a front-facing camera and/or a rear-facing camera. When the electronic device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当电子设备400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。 Audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 400 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 404 or transmitted via communication component 416 . In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件414包括一个或多个传感器,用于为电子设备400提供各个方面的状态评 估。例如,传感器组件414可以检测到电子设备400的打开/关闭状态,组件的相对定位,例如所述组件为电子设备400的显示器和小键盘,传感器组件414还可以检测电子设备400或电子设备400一个组件的位置改变,用户与电子设备400接触的存在或不存在,电子设备400方位或加速/减速和电子设备400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 414 includes one or more sensors for providing electronic device 400 with various aspects of status assessment. For example, the sensor assembly 414 can detect the open/closed state of the electronic device 400, the relative positioning of the components, such as the display and the keypad of the electronic device 400, and the sensor assembly 414 can also detect the electronic device 400 or one of the electronic devices 400. Changes in the positions of components, presence or absence of user contact with the electronic device 400 , orientation or acceleration/deceleration of the electronic device 400 and changes in the temperature of the electronic device 400 . Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 414 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件416被配置为便于电子设备400和其他设备之间有线或无线方式的通信。电子设备400可以接入基于通信标准的无线网络,如无线网络(WiFi)、第二代移动通信技术(2G)、第三代移动通信技术(3G)、长期演进技术(Long Term Evolution,LTE)或第五代移动通信技术(5G),或它们的组合。在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other devices. The electronic device 400 can access a wireless network based on communication standards, such as wireless network (WiFi), second generation mobile communication technology (2G), third generation mobile communication technology (3G), long term evolution technology (Long Term Evolution, LTE) Or fifth generation mobile communication technology (5G), or a combination of them. In one exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器404,上述计算机程序指令可由电子设备400的处理器420执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 404 comprising computer program instructions executable by the processor 420 of the electronic device 400 to perform the above method.
图5为本公开实施例提供的一种电子设备500的结构示意图。例如,电子设备500可以被提供为一服务器。参照图5,电子设备500包括处理组件501,其进一步包括一个或多个处理器,以及由存储器502所代表的存储器资源,用于存储可由处理组件501的执行的指令,例如应用程序。存储器502中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的部分。此外,处理组件501被配置为执行指令,以执行上述方法。FIG. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present disclosure. For example, the electronic device 500 may be provided as a server. 5, an electronic device 500 includes a processing component 501, which further includes one or more processors, and a memory resource represented by memory 502 for storing instructions executable by the processing component 501, such as an application program. An application program stored in memory 502 may include one or more portions, each corresponding to a set of instructions. Furthermore, the processing component 501 is configured to execute instructions to perform the above-described method.
电子设备500还可以包括一个电源组件503被配置为执行电子设备500的电源管理,一个有线或无线网络接口504被配置为将电子设备500连接到网络,和一个输入输出(I/O)接口505。电子设备500可以操作基于存储在存储器502的操作系统,例如微软服务器操作系统(Windows Server TM),苹果公司推出的基于图形用户界面操作系统(Mac OS X TM),多用户多进程的计算机操作系统(Unix TM),自由和开放原代码的类Unix操作系统(Linux TM),开放原代码的类Unix操作系统(FreeBSD TM)或类似。 The electronic device 500 may also include a power supply assembly 503 configured to perform power management of the electronic device 500, a wired or wireless network interface 504 configured to connect the electronic device 500 to a network, and an input output (I/O) interface 505 . The electronic device 500 can operate based on an operating system stored in the memory 502, such as a Microsoft server operating system (Windows Server ), a graphical user interface based operating system (Mac OS X ) introduced by Apple, a multi-user multi-process computer operating system (Unix ), Free and Open Source Unix-like Operating System (Linux ), Open Source Unix-like Operating System (FreeBSD ) or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器502,上述计算机程序指令可由电子设备500的处理组件501执行以完成 上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium, such as memory 502 comprising computer program instructions executable by the processing component 501 of the electronic device 500 to perform the above-described method is also provided.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一实施例提供的身份识别方法的指令。Embodiments of the present disclosure also provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, a processor in the device executes a method for implementing the identification method provided by any of the above embodiments. instruction.
本公开实施例还提供了另一种计算机程序产品,用于存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的身份识别方法的操作。An embodiment of the present disclosure further provides another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the identification method provided by any of the foregoing embodiments.
本公开实施例可以是装置、系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。Embodiments of the present disclosure may be apparatus, systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指 令,从而实现本公开的各个方面。Computer program instructions for carrying out operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source or object code, written in any combination, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect). In some embodiments, custom electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), can be personalized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium storing the instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的装置、系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure, but not to limit them. The protection scope of the present disclosure is not limited to this, although the aforementioned The embodiments describe the present disclosure in detail, and those skilled in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present disclosure. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be covered in the present disclosure. within the scope of protection.
工业实用性Industrial Applicability
本公开实施例提供了一种身份识别方法及装置、电子设备、存储介质和计算机程序产品,其中,身份识别方法包括:获取目标图像采集设备采集的图像信息;从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。上述方案可以缩小基于人员库进行图像信息匹配的范围,减小运算量,有效提高身份识别的实时性及效率。Embodiments of the present disclosure provide an identity recognition method and device, an electronic device, a storage medium, and a computer program product, wherein the identity recognition method includes: acquiring image information collected by a target image acquisition device; A target person database associated with the target image acquisition device is determined; based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information. The above solution can narrow the scope of image information matching based on the personnel database, reduce the amount of computation, and effectively improve the real-time performance and efficiency of identity recognition.

Claims (14)

  1. 一种身份识别方法,包括:A method of identification comprising:
    获取目标图像采集设备采集的图像信息;Obtain the image information collected by the target image collection device;
    从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;determining a target personnel library associated with the target image acquisition device from a plurality of preset personnel libraries;
    基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。Based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information.
  2. 根据权利要求1所述的方法,其中,人员库与地理区域之间存在第一对应关系,The method of claim 1, wherein there is a first correspondence between the personnel database and the geographic area,
    所述从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库,包括:Determining the target personnel library associated with the target image acquisition device from the preset multiple personnel libraries includes:
    获取所述目标图像采集设备的部署信息,并基于所述部署信息确定所述目标图像采集设备对应的目标地理区域;acquiring deployment information of the target image capture device, and determining a target geographic area corresponding to the target image capture device based on the deployment information;
    基于所述第一对应关系,从所述多个人员库中确定与所述目标地理区域对应的所述目标人员库。Based on the first correspondence, the target personnel library corresponding to the target geographic area is determined from the plurality of personnel libraries.
  3. 根据权利要求1或2所述的方法,其中,人员库与图像采集设备的标识信息之间存在第二对应关系,The method according to claim 1 or 2, wherein there is a second correspondence between the personnel database and the identification information of the image acquisition device,
    所述从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库,包括:Determining the target personnel library associated with the target image acquisition device from the preset multiple personnel libraries includes:
    获取所述目标图像采集设备的标识信息,并基于所述第二对应关系,从所述多个人员库中确定与所述目标图像采集设备的标识信息对应的所述目标人员库。The identification information of the target image capture device is acquired, and based on the second correspondence, the target personnel database corresponding to the identification information of the target image capture device is determined from the plurality of personnel databases.
  4. 根据权利要求1至3中任意一项所述的方法,其中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括人员图像,The method according to any one of claims 1 to 3, wherein the target personnel library includes a plurality of reference image information, and the collected image information includes personnel images,
    所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:Matching the collected image information based on the target personnel database, and determining the identity information corresponding to the collected image information, including:
    对所述人员图像进行特征提取,得到第一人脸特征;performing feature extraction on the person image to obtain a first face feature;
    在所述目标人员库中查找与所述第一人脸特征匹配的第一参考图像信息,并将与所述第一参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。Search for the first reference image information matching the first face feature in the target person database, and determine the identity information corresponding to the first reference image information as corresponding to the collected image information Identity Information.
  5. 根据权利要求1至4中任意一项所述的方法,其中,所述目标人员库中包括多个参考图像信息,所述采集的图像信息包括第二人脸特征,The method according to any one of claims 1 to 4, wherein the target person database includes a plurality of reference image information, and the collected image information includes a second face feature,
    所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:Matching the collected image information based on the target personnel database, and determining the identity information corresponding to the collected image information, including:
    在所述目标人员库中查找与所述第二人脸特征匹配的第二参考图像信息,并将与所述第二参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。Search for the second reference image information matching the second face feature in the target person database, and determine the identity information corresponding to the second reference image information as corresponding to the collected image information Identity Information.
  6. 根据权利要求1至5中任意一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    根据人员信息,以及图像采集设备的部署信息和/或标识信息,创建人员库,所述人员信息包括人员的参考图像信息与身份信息之间的对应关系。According to the personnel information, and the deployment information and/or identification information of the image acquisition device, a personnel database is created, and the personnel information includes the correspondence between the reference image information of the personnel and the identity information.
  7. 根据权利要求6所述的方法,其中,所述根据人员信息,以及图像采集设备的部 署信息和/或标识信息,创建人员库,包括:The method according to claim 6, wherein, according to the personnel information, and the deployment information and/or identification information of the image capture device, creating a personnel database, comprising:
    获取所述人员信息;obtain information about said personnel;
    响应于对所述人员信息的配置操作,将所述人员信息中至少部分人员信息与一个或多个图像采集设备的标识信息进行关联,或与一个或多个图像采集设备的部署信息指示的地理区域进行关联;In response to the configuration operation on the personnel information, associating at least part of the personnel information with the identification information of the one or more image capture devices, or with the geographic location indicated by the deployment information of the one or more image capture devices area to associate;
    基于与相同标识信息或相同地理区域进行关联的人员信息,创建人员库。Create a person pool based on person information associated with the same identification information or the same geographic area.
  8. 根据权利要求1至7中任意一项所述的方法,其中,所述基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息,包括:The method according to any one of claims 1 to 7, wherein, based on the target person database, the collected image information is matched to determine the identity information corresponding to the collected image information, comprising: :
    在所述目标人员库包括多个分类库的情况下,按照所述多个分类库的优先级从高到低的顺序,逐分类库查找是否存在与所述采集的图像信息匹配的参考图像信息,直至获取到与所述采集的图像信息匹配的参考图像信息;In the case that the target personnel database includes multiple classification databases, according to the order of the priority of the multiple classification databases from high to low, look for whether there is reference image information matching the collected image information one by one classification database , until the reference image information matching the collected image information is obtained;
    将与所述参考图像信息对应的身份信息,确定为与所述采集的图像信息对应的身份信息。The identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information.
  9. 根据权利要求8所述的方法,其中,所述分类库包括重点关注对象库、普通对象库、异常对象库中的一项或多项。The method of claim 8, wherein the classification library includes one or more of a focused object library, a common object library, and an abnormal object library.
  10. 根据权利要求9所述的方法,其中,在教育场景中,所述重点关注对象库包括教师库和学生库中的至少一项;The method according to claim 9, wherein, in an educational scenario, the focused object library includes at least one of a teacher library and a student library;
    或者,在零售场景中,所述重点关注对象库包括会员库和员工库中的至少一项。Or, in a retail scenario, the focused object library includes at least one of a member library and an employee library.
  11. 一种身份识别装置,包括:An identification device, comprising:
    获取部分,被配置为获取目标图像采集设备采集的图像信息;an acquisition part, configured to acquire image information acquired by the target image acquisition device;
    确定部分,被配置为从预设的多个人员库中确定出与所述目标图像采集设备关联的目标人员库;a determining part, configured to determine a target personnel library associated with the target image acquisition device from a plurality of preset personnel libraries;
    匹配部分,被配置为基于所述目标人员库,对所述采集的图像信息进行匹配,确定与所述采集的图像信息对应的身份信息。The matching part is configured to match the collected image information based on the target person database, and determine the identity information corresponding to the collected image information.
  12. 一种电子设备,包括:处理器和用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至10中任意一项所述的方法。An electronic device, comprising: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the instructions of any one of claims 1 to 10 method described.
  13. 一种计算机可读存储介质,其上存储有计算机程序指令,其中,所述计算机程序指令被处理器执行时实现权利要求1至10中任意一项所述的方法。A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any one of claims 1 to 10.
  14. 一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现权利要求1至10中任意一项所述的方法。A computer program product comprising computer readable code, when the computer readable code is run on a device, a processor in the device executes a method for implementing the method of any one of claims 1 to 10.
PCT/CN2021/134598 2021-04-27 2021-11-30 Identity recognition method and apparatus, and electronic device, storage medium and computer program product WO2022227562A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110460309.9 2021-04-27
CN202110460309.9A CN113128437A (en) 2021-04-27 2021-04-27 Identity recognition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022227562A1 true WO2022227562A1 (en) 2022-11-03

Family

ID=76780247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134598 WO2022227562A1 (en) 2021-04-27 2021-11-30 Identity recognition method and apparatus, and electronic device, storage medium and computer program product

Country Status (3)

Country Link
CN (1) CN113128437A (en)
TW (1) TW202242715A (en)
WO (1) WO2022227562A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128437A (en) * 2021-04-27 2021-07-16 北京市商汤科技开发有限公司 Identity recognition method and device, electronic equipment and storage medium
CN113688712A (en) * 2021-08-18 2021-11-23 上海浦东发展银行股份有限公司 Portrait identification method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886079A (en) * 2017-11-22 2018-04-06 北京旷视科技有限公司 Object identifying method, apparatus and system
CN110765938A (en) * 2019-10-22 2020-02-07 北京旷视科技有限公司 Identity recognition method and device, electronic equipment and computer readable storage medium
CN111369751A (en) * 2019-03-20 2020-07-03 杭州海康威视系统技术有限公司 Target control method, device, server and control system
US20200218884A1 (en) * 2019-01-07 2020-07-09 National Chiao Tung University Identity recognition system and identity recognition method
CN113128437A (en) * 2021-04-27 2021-07-16 北京市商汤科技开发有限公司 Identity recognition method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868719A (en) * 2016-03-31 2016-08-17 中山艾华企业管理咨询有限公司 Face recognition and trace guiding system
CN108073577A (en) * 2016-11-08 2018-05-25 中国电信股份有限公司 A kind of alarm method and system based on recognition of face
CN109145707B (en) * 2018-06-20 2021-09-14 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN109086669B (en) * 2018-06-29 2020-06-09 汉王科技股份有限公司 Face recognition identity verification method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886079A (en) * 2017-11-22 2018-04-06 北京旷视科技有限公司 Object identifying method, apparatus and system
US20200218884A1 (en) * 2019-01-07 2020-07-09 National Chiao Tung University Identity recognition system and identity recognition method
CN111369751A (en) * 2019-03-20 2020-07-03 杭州海康威视系统技术有限公司 Target control method, device, server and control system
CN110765938A (en) * 2019-10-22 2020-02-07 北京旷视科技有限公司 Identity recognition method and device, electronic equipment and computer readable storage medium
CN113128437A (en) * 2021-04-27 2021-07-16 北京市商汤科技开发有限公司 Identity recognition method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
TW202242715A (en) 2022-11-01
CN113128437A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
WO2021093375A1 (en) Method, apparatus, and system for detecting people walking together, electronic device and storage medium
US20220067379A1 (en) Category labelling method and device, and storage medium
CN110472091B (en) Image processing method and device, electronic equipment and storage medium
CN110942036B (en) Person identification method and device, electronic equipment and storage medium
US20220084056A1 (en) Methods and apparatuses for managing visitor information, electronic devices and storage media
WO2022227562A1 (en) Identity recognition method and apparatus, and electronic device, storage medium and computer program product
WO2021036382A9 (en) Image processing method and apparatus, electronic device and storage medium
US11416703B2 (en) Network optimization method and apparatus, image processing method and apparatus, and storage medium
CN110532956B (en) Image processing method and device, electronic equipment and storage medium
CN109948494A (en) Image processing method and device, electronic equipment and storage medium
CN109543566B (en) Information processing method and device, electronic equipment and storage medium
CN111814629A (en) Person detection method and device, electronic device and storage medium
CN110992562A (en) Access control method and device, electronic equipment and storage medium
CN113688729B (en) Behavior recognition method and device, electronic equipment and storage medium
CN111259967A (en) Image classification and neural network training method, device, equipment and storage medium
TW202145064A (en) Object counting method electronic equipment computer readable storage medium
CN112101216A (en) Face recognition method, device, equipment and storage medium
CN114648796A (en) User identification method, device, storage medium and electronic equipment
CN111625671A (en) Data processing method and device, electronic equipment and storage medium
CN110781842A (en) Image processing method and device, electronic equipment and storage medium
CN108287873B (en) Data processing method and related product
TWI751593B (en) Network training method and device, image processing method and device, electronic equipment, computer readable storage medium and computer program
CN111651627A (en) Data processing method and device, electronic equipment and storage medium
CN111814627A (en) Person detection method and device, electronic device and storage medium
CN111062407A (en) Image processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21939021

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21939021

Country of ref document: EP

Kind code of ref document: A1