[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TW202242715A - Identity recognition method electronic equipment and computer-readable storage medium - Google Patents

Identity recognition method electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
TW202242715A
TW202242715A TW111110509A TW111110509A TW202242715A TW 202242715 A TW202242715 A TW 202242715A TW 111110509 A TW111110509 A TW 111110509A TW 111110509 A TW111110509 A TW 111110509A TW 202242715 A TW202242715 A TW 202242715A
Authority
TW
Taiwan
Prior art keywords
information
personnel
target
image information
database
Prior art date
Application number
TW111110509A
Other languages
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 TW202242715A publication Critical patent/TW202242715A/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

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, an electronic device, and a computer-readable storage medium. The method includes: acquiring image information collected by a target image acquisition device; and determining the association with the target image acquisition device from a plurality of preset personnel libraries The target personnel database; based on the target personnel database, the collected image information is matched, and the identity information corresponding to the collected image information is determined.

Description

身份辨識方法及電子設備、電腦可讀儲存媒體Identification method, electronic device, and computer-readable storage medium

本公開實施例基於申請號為202110460309.9、申請日為2021年4月27日、申請名稱為「身份辨識方法及裝置、電子設備和儲存媒體」的中國專利申請提出,並要求該中國專利申請的優先權,該中國專利申請的全部內容在此引入本公開作為參考。本公開涉及但不限於電腦技術領域,尤其涉及一種身份辨識方法及電子設備、電腦可讀儲存媒體。The embodiment of this disclosure is based on the Chinese patent application with the application number 202110460309.9, the application date is April 27, 2021, and the application name is "identification method and device, electronic equipment and storage medium", and the priority of the Chinese patent application is required Right, the entire content of this Chinese patent application is hereby incorporated into this disclosure as a reference. The present disclosure relates to but not limited to the field of computer technology, and in particular relates to an identification method, electronic equipment, and a computer-readable storage medium.

人臉檢測、人臉辨識及人臉分割等在圖像領域具有重要意義,透過對圖像中人臉的檢測與辨識,能夠在諸如人臉美化、身份辨識等應用中提供有力支持。Face detection, face recognition and face segmentation are of great significance in the image field. 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 at least provide an identification method, an electronic device, and a computer-readable storage medium.

本公開實施例提供了一種身份辨識方法,包括:獲取目標圖像採集設備採集的圖像資訊;從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫;基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊。An embodiment of the present disclosure provides an identification method, including: acquiring image information collected by a target image acquisition device; determining a target personnel database associated with the target image acquisition device from multiple preset personnel databases; Based on the target person database, the collected image information is matched to determine identity information corresponding to the collected image information.

在一些實施方式中,人員庫與地理區域之間存在第一對應關係,所述從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫,包括:獲取所述目標圖像採集設備的部署資訊,並基於所述部署資訊確定所述目標圖像採集設備對應的目標地理區域;基於所述第一對應關係,從所述多個人員庫中確定與所述目標地理區域對應的所述目標人員庫。In some implementations, there is a first corresponding relationship between the personnel database and the geographical area, and the determining the target personnel database associated with the target image acquisition device from the preset multiple personnel databases includes: obtaining the Deployment information of the target image acquisition device, and determine the target geographical area corresponding to the target image acquisition device based on the deployment information; based on the first correspondence, determine from the plurality of personnel databases The target personnel database corresponding to the target geographical area.

在一些實施方式中,人員庫與圖像採集設備的標識資訊之間存在第二對應關係,所述從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫,包括:獲取所述目標圖像採集設備的標識資訊,並基於所述第二對應關係,從所述多個人員庫中確定與所述目標圖像採集設備的標識資訊對應的所述目標人員庫。In some embodiments, there is a second corresponding relationship between the personnel database and the identification information of the image acquisition device, and the target personnel database associated with the target image acquisition device is determined from a plurality of preset personnel databases , including: acquiring the identification information of the target image acquisition device, and based on the second correspondence, determining the target person corresponding to the identification information of the target image acquisition device from the plurality of personnel databases library.

在一些實施方式中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括人員圖像,所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括:對所述人員圖像進行特徵提取,得到第一人臉特徵;在所述目標人員庫中查找與所述第一人臉特徵匹配的第一參考圖像資訊,並將與所述第一參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the target person database includes a plurality of reference image information, the collected image information includes person images, and based on the target person database, the collected image information is Matching, determining the identity information corresponding to the collected image information, including: performing feature extraction on the person image to obtain the first face feature; The feature is matched with the first reference image information, and the identity information corresponding to the first reference image information is determined as the identity information corresponding to the collected image information.

在一些實施方式中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括第二人臉特徵,所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括:在所述目標人員庫中查找與所述第二人臉特徵匹配的第二參考圖像資訊,並將與所述第二參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the target person library includes a plurality of reference image information, the collected image information includes the second facial features, and based on the target person library, the collected image Information matching, determining the identity information corresponding to the collected image information, including: searching the target person database for the second reference image information matching the second facial features, and matching the The identity information corresponding to the second reference image information is determined as the identity information corresponding to the collected image information.

在一些實施方式中,所述方法還包括:根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,所述人員資訊包括人員的參考圖像資訊與身份資訊之間的對應關係。In some embodiments, the method further includes: creating a personnel library according to personnel information, deployment information and/or identification information of image acquisition equipment, the personnel information including the relationship between reference image information and identity information of personnel corresponding relationship.

在一些實施方式中,所述根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,包括:獲取所述人員資訊;響應於對所述人員資訊的配置操作,將所述人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,或與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯;基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。In some embodiments, the creating the personnel database according to the personnel information, and the deployment information and/or identification information of the image acquisition device includes: acquiring the personnel information; responding to the configuration operation of the personnel information, adding At least part of the personnel information in the personnel information is associated with the identification information of one or more image acquisition devices, or with the geographical area indicated by the deployment information of one or more image acquisition devices; based on the same identification information or Create a personnel database by associating personnel information in the same geographical area.

在一些實施方式中,所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括:在所述目標人員庫包括多個分類庫的情況下,按照所述多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與所述採集的圖像資訊匹配的參考圖像資訊,直至獲取到與所述採集的圖像資訊匹配的參考圖像資訊;將與所述參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some embodiments, the matching of the collected image information based on the target person database, and determining the identity information corresponding to the collected image information includes: including multiple information in the target person database In the case of multiple classification databases, according to the priority order of the plurality of classification databases from high to low, search for reference image information matching the collected image information one by one, until obtaining the reference image information that matches the collected image information. The reference image information matched with the collected 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 implementations, 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 setting, the focused object library includes at least one of a teacher library and a student library; or, in a retail setting, the focused object library includes a member library and an employee library At least one of the .

本公開實施例提供了一種身份辨識裝置,包括:獲取部分,被配置為獲取目標圖像採集設備採集的圖像資訊;確定部分,用於從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫;匹配部分,用於基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊。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 used to determine from a plurality of preset personnel databases A target personnel database associated with the target image collection device; a matching part, configured to match the collected image information based on the target personnel database, and determine identity information corresponding to the collected image information.

在一些實施方式中,人員庫與地理區域之間存在第一對應關係,所述確定部分,包括:第一確定子部分,被配置為獲取所述目標圖像採集設備的部署資訊,並基於所述部署資訊確定所述目標圖像採集設備對應的目標地理區域;第二確定子部分,被配置為基於所述第一對應關係,從所述多個人員庫中確定與所述目標地理區域對應的所述目標人員庫。In some implementations, there is a first corresponding relationship between the personnel database and the geographical area, and the determining part includes: a first determining sub-part configured to obtain the deployment information of the target image acquisition device, and based on the The deployment information determines the target geographical area corresponding to the target image acquisition device; the second determining subpart is configured to determine from the plurality of personnel databases the corresponding target geographical area based on the first correspondence relationship of the target personnel pool.

在一些實施方式中,人員庫與圖像採集設備的標識資訊之間存在第二對應關係,所述確定部分,包括:第三確定子部分,被配置為獲取所述目標圖像採集設備的標識資訊,並基於所述第二對應關係,從所述多個人員庫中確定與所述目標圖像採集設備的標識資訊對應的所述目標人員庫。In some implementations, there is a second corresponding relationship between the personnel database and the identification information of the image acquisition device, and the determination part includes: a third determination subsection configured to obtain the identification of the target image acquisition device information, and based on the second correspondence, determine the target personnel database corresponding to the identification information of the target image acquisition device 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 person images, and the matching part includes: a feature extraction subsection configured to The person image is subjected to feature extraction to obtain the first face feature; the first search subpart is configured to search for the first reference image information matching the first face feature in the target personnel database, and The identity information corresponding to the first reference image information is determined as the identity information corresponding to the collected image information.

在一些實施方式中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括第二人臉特徵,所述匹配部分,包括:第二查找子部分,被配置為在所述目標人員庫中查找與所述第二人臉特徵匹配的第二參考圖像資訊,並將與所述第二參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the target person database includes a plurality of reference image information, the collected image information includes second facial features, and the matching part includes: a second search subsection configured to Searching for 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 matching the collected image The identity information corresponding to the information.

在一些實施方式中,所述裝置還包括:創建部分,被配置為根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,所述人員資訊包括人員的參考圖像資訊與身份資訊之間的對應關係。In some embodiments, the apparatus further includes: a creating part configured to create a personnel library according to personnel information, deployment information and/or identification information of image acquisition equipment, the personnel information including reference images of personnel Correspondence between information and identity information.

在一些實施方式中,所述創建部分包括:獲取子部分,被配置為獲取所述人員資訊;配置子部分,被配置為響應於對所述人員資訊的配置操作,將所述人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,或與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯;創建子部分,被配置為基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。In some implementations, the creation part includes: an acquisition subsection configured to acquire the personnel information; a configuration subsection configured to respond to a configuration operation on the personnel information, at least Partial personnel information is associated with identification information of one or more image capture devices, or with a geographical area indicated by deployment information of one or more image capture devices; creating a subsection configured to be based on the same identification information Or associate personnel information in the same geographical area to create a personnel database.

在一些實施方式中,所述匹配部分,包括:在所述目標人員庫包括多個分類庫的情況下,按照所述多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與所述採集的圖像資訊匹配的參考圖像資訊,直至獲取到與所述採集的圖像資訊匹配的參考圖像資訊;將與所述參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some embodiments, the matching part includes: in the case that the target personnel database includes multiple classified databases, according to the priority order of the multiple classified databases from high to low, searching for whether There is reference image information matching the collected image information until the reference image information matching the collected image information is obtained; determining the identity information corresponding to the reference image information as matching Identity information corresponding to the collected image information.

在一些實施方式中,所述分類庫包括重點關注物件程式庫、普通物件程式庫、異常物件程式庫中的一項或多項。In some implementations, 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 setting, the focused object library includes at least one of a teacher library and a student library; or, in a retail setting, the focused object library includes a member library and an employee library At least one of the .

本公開實施例提供了一種電子設備,包括:處理器;用於儲存處理器可執行指令的記憶體;其中,所述處理器被配置為調用所述記憶體儲存的指令,以執行上述任一項身份辨識的方法。An embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to call the instructions stored in the memory to execute any of the above-mentioned The method of item 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 identification methods is implemented.

本公開實施例還提供一種電腦程式產品,包括電腦可讀代碼,當電腦可讀代碼在設備上運行時,設備中的處理器執行用於實現上述任一項身份辨識的方法。An embodiment of the present disclosure also provides a computer program product, including computer-readable codes. When the computer-readable codes are run on the device, the processor in the device executes the method for realizing any one of the above identifications.

在本公開實施例中,能夠從多個人員庫中確定出與圖像採集設備關聯的目標人員庫,基於目標人員庫對圖像資訊進行匹配,以確定身份資訊,可以縮小基於人員庫進行圖像資訊匹配的範圍,減少運算量,有效提高身份辨識的即時性及效率。In the embodiment of the present disclosure, the target personnel database associated with the image acquisition device can be determined from multiple personnel databases, and the image information is matched based on the target personnel database to determine the identity information, and the image information based on the personnel database can be narrowed down. For example, the scope of information matching reduces the amount of computation and effectively improves the immediacy and efficiency of identification.

應當理解的是,以上的一般描述和後文的細節描述僅是示例性和解釋性的,而非限制本公開。根據下面參考附圖對示例性實施例的詳細說明,本公開的其它特徵及方面將變得清楚。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the 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.

具體實施方式detailed description

為使本公開實施例的目的、技術方案和優點更加清楚,下面將結合本公開實施例中附圖,對本公開實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本公開一部分實施例,而不是全部的實施例。通常在此處描述和示出的本公開實施例的元件可以以各種不同的配置來佈置和設計。因此,以下對本公開的實施例的詳細描述並非旨在限制要求保護的本公開的範圍,而是僅僅表示本公開的選定實施例。基於本公開的實施例,本領域技術人員在沒有做出進步性勞動的前提下所獲得的所有其他實施例,都屬於本公開保護的範圍。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is a part of the embodiments of the present disclosure, but not all of them. The elements of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making progressive efforts belong to the protection scope of the present disclosure.

另外,本公開實施例中的說明書和請求項書及上述附圖中的術語「第一」、「第二」等是用於區別類似的物件,而不必用於描述特定的順序或先後次序。應該理解這樣使用的資料在適當情況下可以互換,以便這裡描述的實施例能夠以除了在這裡圖示或描述的內容以外的順序實施。In addition, the terms "first" and "second" in the description and claims in the embodiments of the present disclosure and the above drawings are used to distinguish similar items, and are not necessarily used to describe a specific order or sequence. It is to be understood that the materials so used are interchangeable under appropriate circumstances such 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 article is an association relationship describing associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone. Condition. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of the more, for example, including at least one of A, B, and C, may mean including the composition consisting of A, B, and C Any one or more elements selected in the collection.

另外,為了更好地說明本公開,在下文的具體實施方式中給出了眾多的具體細節。本領域技術人員應當理解,沒有某些具體細節,本公開同樣可以實施。在一些實例中,對於本領域技術人員熟知的方法、手段、元件和電路未作詳細描述,以便於凸顯本公開的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present disclosure may be practiced without some of the specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the gist of the present disclosure.

人臉辨識技術是生物特徵辨識技術的一種,它結合了影像處理技術、電腦圖形學、模式辨識等多個研究領域,是進行身份辨識的有效手段。基於人臉辨識的身份辨識方法,通常是預先構建人員庫,在進行身份辨識時,將採集的待驗證人員的人臉圖像和人員庫中的人臉圖像進行比對,以確定待驗證人員的身份資訊。Face recognition technology is a kind of biometric recognition technology. It combines multiple research fields such as image processing technology, computer graphics, and pattern recognition. It is an effective means for identity recognition. The identity recognition method based on face recognition usually pre-builds a personnel database. When performing identity recognition, the 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. Person's identity information.

其中,基於人臉辨識的身份辨識方法,可應用於車站、商場、學校等場景中,相關技術中,通常是針對一個場景設置一個人員庫,例如,某學校對應的一個人員庫,某商場對應一個人員庫,這樣人員庫中儲存身份資訊的資料量較大的情況下,人臉比對的運算量會較大,從而會降低身份辨識的即時性以及效率。Among them, the identity recognition method based on face recognition can be applied to scenes such as stations, shopping malls, and schools. In related technologies, a personnel database is usually set up for a scene, for example, a personnel database corresponding to a school, and a personnel database corresponding to a shopping mall. A personnel database. When the amount of identity information stored in the personnel database is large, the computational complexity of face comparison will be large, which will reduce the immediacy and efficiency of identification.

針對以上方案所存在的缺陷,均是發明人在經過實踐並仔細研究後得出的結果,因此,上述問題的發現過程以及下文中本公開實施例針對上述問題所提出的解決方案,都應該是發明人在本公開過程中對本公開做出的貢獻。The defects in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions to the above problems proposed by the embodiments of the present disclosure below should be Contributions made by the inventors to the disclosure during the course of the disclosure.

基於上述研究,本公開實施例提供了一種身份辨識方法及裝置、電子設備、儲存媒體和電腦程式產品,將人員庫與地理區域或地理區域內的圖像採集設備關聯,實現針對同一場景預設多個人員庫,進而在進行身份辨識的過程中,可以根據多個人員庫與地理區域或圖像採集設備之間的對應關係,從多個人員庫中確定出目標人員庫,進而基於目標人員庫實現身份辨識,從而縮小基於人員庫進行圖像資訊匹配的範圍,減少運算量,有效提高身份辨識的即時性及效率。Based on the above research, embodiments of the present disclosure provide an identity recognition method and device, electronic equipment, storage media, and computer program products, which associate a personnel database with a geographical area or an image acquisition device within a geographical area, and realize presets for the same scene. Multiple personnel databases, and then in the process of identity recognition, the target personnel database can be determined from multiple personnel databases according to the corresponding relationship between multiple personnel databases and geographic areas or image acquisition devices, and then based on the target personnel The database realizes identity recognition, thereby reducing the scope of image information matching based on the personnel database, reducing the amount of calculation, and effectively improving the immediacy and efficiency of identity recognition.

為便於對本實施例進行理解,首先對本公開實施例所公開的一種身份辨識方法進行詳細介紹,本公開實施例所提供的身份辨識方法可以由終端設備或伺服器等電子設備執行,終端設備可以為使用者設備(User Equipment,UE)、移動設備、使用者終端、終端、蜂窩電話、無線電話、個人數位助理(Personal Digital Assistant,PDA)、手持設備、計算設備、車載設備、可穿戴設備等,所述方法可以透過處理器調用記憶體中儲存的電腦可讀指令的方式來實現。或者,可透過雲端伺服器、邊緣節點執行所述方法。In order to facilitate the understanding of this embodiment, an identity identification method disclosed in the embodiment of the present disclosure is firstly introduced in detail. The identity identification method provided in the embodiment of the present disclosure can be executed by an electronic device such as a terminal device or a server, and the terminal device can be User equipment (User Equipment, UE), mobile devices, user terminals, terminals, cellular phones, wireless phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc., The method can be realized by the way that the processor invokes the computer-readable instructions stored in the memory. Alternatively, the method can be executed through a cloud server or an edge node.

在實施時,可以根據實際需求設置所述身份辨識方法是在雲端伺服器、還是在終端設備或邊緣節點執行,對此本公開實施例不做限制。應理解的是,執行所述身份辨識方法的電子設備中可儲存有預設的多個人員庫,以便於確定出目標人員庫,並基於目標人員庫對採集的圖像資訊進行匹配。During implementation, it may be set according to actual needs whether the identity identification method is executed on a cloud server, or on a terminal device or an edge node, which is not limited by this embodiment of the present disclosure. It should be understood that the electronic device executing the identification method may store a plurality of preset person libraries, so as to determine the target person library and match the collected image information based on the target person library.

第1圖為本公開實施例提供的一種身份辨識方法的流程示意圖,如第1圖所示,所述身份辨識方法包括: 在步驟S11中,獲取目標圖像採集設備採集的圖像資訊; 在步驟S12中,從預設的多個人員庫中確定出與目標圖像採集設備關聯的目標人員庫; 在步驟S13中,基於目標人員庫,對採集的圖像資訊進行匹配,確定與採集的圖像資訊對應的身份資訊。 Figure 1 is a schematic flowchart of an identification method provided by an embodiment of the present disclosure. As shown in Figure 1, the identification method includes: In step S11, the image information collected by the target image collection device is acquired; In step S12, the target personnel database associated with the target image acquisition device is determined from a plurality of preset personnel databases; In step S13, based on the target person database, the collected image information is matched, and identity information corresponding to the collected image information is determined.

應理解的是,使用者可在地理區域內部署一個或多個圖像採集設備,其中,地理區域可以是學校區域、商場區域、商店區域、車站區域等通常要對人員流動進行統計的區域;圖像採集設備可以包括:普通/智慧進程間通訊(Inter-Process Communication,IPC)設備、智慧模組(網路版)設備、業務模組/業務SDK設備等,對此本公開實施例不作限制。It should be understood that the user may deploy one or more image acquisition devices in a geographical area, where the geographical area may be a school area, a shopping mall area, a store area, a station area, etc., where the flow of people is usually counted; The image acquisition device may include: ordinary/smart inter-process communication (Inter-Process Communication, IPC) device, smart module (network version) device, business module/business SDK device, etc., which are not limited by the embodiments of the present disclosure .

其中,地理區域內的圖像採集設備可與上述電子設備連接,以便於將採集的圖像資訊發送至電子設備中,實現上述身份辨識方法。應理解的是,圖像採集設備與地理區域之間存在對應關係,目標圖像採集設備可是地理區域內的一個或多個圖像採集設備。Wherein, the image acquisition equipment in the geographical area can be connected with the above-mentioned electronic equipment, so as to send the collected image information to the electronic equipment, and realize the above-mentioned identification method. It should be understood that there is a corresponding relationship between the image acquisition device and the geographical area, and the target image acquisition device may be one or more image acquisition devices in the geographical area.

在一些實施方式中,採集的圖像資訊可以包括:目標圖像採集設備採集的人員圖像,和/或人員圖像的人臉特徵。In some implementations, the collected image information may include: the person image collected by the target image collection device, and/or the facial features of the person image.

其中,在採集的圖像資訊為人員圖像的人臉特徵的情況下,可以透過圖像採集設備執行對採集的人員圖像進行人臉特徵提取,並將提取的人臉特徵發送至上述電子設備中。透過該方式,能夠保護採集的圖像資訊中物件的隱私,降低非法獲取人員圖像的概率。Among them, when the collected image information is the face feature of the person image, the face feature extraction of the collected person image can be performed through the image acquisition device, and the extracted face feature can be sent to the above electronic in the device. Through this method, the privacy of objects in the collected image information can be protected, and the probability of illegally obtaining personnel images can be reduced.

在實施時,可在圖像採集設備中部署人臉特徵提取網路,以透過該人臉特徵提取網路對採集的人員圖像進行人臉特徵提取。對於人臉特徵提取網路的網路結構、網路類型以及訓練方式,本公開實施例不做限制。During implementation, a face feature extraction network can be deployed in the image acquisition device, so as to perform face feature extraction on the captured person images through the face feature extraction network. The embodiment of the present disclosure does not limit the network structure, network type and training method of the face feature extraction network.

同時考慮到由於部分圖像採集設備可能不具備運算能力及儲存能力,圖像採集設備也可將採集的人員圖像發送至上述電子設備中,並在電子設備中執行對採集的人員圖像進行人臉特徵提取。At the same time, considering that some image acquisition equipment may not have computing power and storage capacity, the image acquisition equipment can also send the collected personnel images to the above-mentioned electronic equipment, and perform the processing of the collected personnel images in the electronic equipment. Extraction of facial features.

在一些實施方式中,採集的圖像資訊中還可以帶有圖像採集設備的標識資訊,以透過該標識資訊區分該採集的圖像資訊是哪個圖像採集設備所採集的,也便於確定出與圖像採集設備關聯的目標人員庫,以實現基於目標人員庫對採集的圖像資訊進行匹配。其中,標識資訊可採用字串的形式表徵,也可採用其他表徵形式,對此本公開實施例不做限制。In some implementations, the collected image information may also contain the identification information of the image acquisition device, so as to distinguish which image acquisition device the collected image information was collected by through the identification information, and also to facilitate determining the A target personnel database associated with the image acquisition device, so as to realize matching of collected image information based on the target personnel database. Wherein, the identification information may be represented in the form of a character string, or may be represented in other forms, which are not limited in this embodiment of the present disclosure.

在一些實施方式中,在步驟S12中,預設的多個人員庫,可以是根據實際需求預先構建的人員庫,對於人員庫的數量和構建方式,本公開實施例不做限制,比如,可以將已有人員庫作為構建基礎,或是重新搭建人員庫等。其中,人員庫中可以至少儲存有人員的參考圖像資訊以及對應的身份資訊,即儲存有人員的參考圖像資訊與身份資訊的對應關係。In some implementations, in step S12, the preset multiple personnel databases may be pre-built personnel databases according to actual needs. The embodiment of the present disclosure does not limit the number and construction methods of the personnel databases. For example, Use the existing personnel database as the basis for construction, or rebuild the personnel database, etc. Wherein, the personnel database may at least store the reference image information and the corresponding identity information of the personnel, that is, store the corresponding relationship between the reference image information and the identity information of the personnel.

其中,參考圖像資訊可以包括人臉圖像和/或人臉特徵;身份資訊例如可以是顧客還是員工,是普通顧客還是會員顧客等,對於身份資訊的內容,本公開實施例不做限制。Wherein, the reference image information may include a face image and/or face features; the identity information may be a customer or an employee, an ordinary customer or a member customer, etc. The content of the identity information is not limited in this embodiment of the present disclosure.

在一些實施方式中,可以預先將多個人員庫與圖像採集設備關聯,或將多個人員庫與地理區域關聯,也即,多個人員庫與圖像採集設備和/或與地理區域之間存在對應關係。這樣在步驟S12中,能夠依據該對應關係,從預設的多個人員庫中確定出與目標圖像採集設備關聯的目標人員庫。In some implementations, multiple personnel databases may be associated with image acquisition devices in advance, or multiple personnel databases may be associated with geographical areas, that is, the relationship between multiple personnel databases and image acquisition equipment and/or geographical areas There is a corresponding relationship between them. In this way, in step S12, the target personnel database associated with the target image acquisition device can be determined from the preset multiple personnel databases 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 target person database The similarity between the reference image information in; according to the similarity, determine the reference image information that matches the collected image information from the target personnel database; correspond to the reference image information that matches the collected image information The identity information of is determined as the identity information corresponding to the collected image information.

在實施時,採集的圖像資訊與參考圖像資訊之間的相似度,可根據採集的圖像資訊與參考圖像資訊之間的距離確定,例如,可根據採集的圖像資訊中的人臉特徵與參考圖像資訊中的人臉特徵之間的距離,確定採集的圖像資訊與參考圖像資訊之間的相似度。During implementation, the similarity between the collected image information and the reference image information can be determined according to the distance between the collected image information and the reference image information, for example, according to the person in the collected image information The distance between the face feature and the face feature in the reference image information determines the similarity between the collected image information and the reference image information.

其中,距離可以包括但不限於:餘弦距離、歐式距離、馬氏距離等。應理解的是,距離與相似度之間可以是負相關,也即,距離越近,代表採集的圖像資訊與目標人員庫中的參考圖像資訊之間相似度越高;反之,距離越遠,代表相似度越低。Wherein, the distance may include but not limited to: cosine distance, Euclidean distance, Mahalanobis distance and the like. It should be understood that there may be a negative correlation between the distance and the similarity, that is, the closer the distance, the higher the similarity between the collected image information and the reference image information in the target person database; The farther, the lower the similarity.

在一些實施方式中,根據相似度,從目標人員庫中確定與採集的圖像資訊匹配的參考圖像資訊,可以包括:將目標人員庫中相似度超過相似度閾值的參考圖像資訊,確定為與採集的圖像資訊匹配的參考圖像資訊。其中,相似度閾值的大小,可根據人臉特徵的提取精度、相似度的計算精度、用於實現特徵提取及相似度計算的設備的處理能力或資源佔用情況等進行設定,如可設為0.86,對此本公開實施例不做限定。In some embodiments, according to the similarity, determining the reference image information matching the collected image information from the target personnel database may include: determining the reference image information in the target personnel database whose similarity exceeds the similarity threshold. is the reference image information matched with the collected 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 occupation of the equipment used to realize feature extraction and similarity calculation, etc., for example, it can be set to 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 multiple personnel databases, and the collected image information is matched based on the target personnel database to determine the identity information, which can narrow down the number of people based on the personnel database. The scope of matching the collected image information reduces the amount of computation and effectively improves the immediacy and efficiency of identification.

如上文所述,多個人員庫與地理區域之間可存在對應關係。在一些實施方式中,人員庫與地理區域之間存在第一對應關係,在步驟S12中,從預設的多個人員庫中確定出與目標圖像採集設備關聯的目標人員庫,包括: 獲取目標圖像採集設備的部署資訊,並基於部署資訊確定目標圖像採集設備對應的目標地理區域;基於第一對應關係,從多個人員庫中確定與目標地理區域對應的目標人員庫。 As noted above, there may be correspondences between multiple population pools and geographic regions. In some embodiments, there is a first corresponding relationship between the personnel database and the geographical area. In step S12, the target personnel database associated with the target image acquisition device is determined from the preset multiple personnel databases, including: Obtain deployment information of the target image acquisition device, and determine a target geographical area corresponding to the target image acquisition device based on the deployment information; based on the first correspondence, determine a target personnel database corresponding to the target geographical area from multiple personnel databases.

如上文所述,地理區域內可部署有一個或多個圖像採集設備。目標圖像採集設備所在的地理區域可是目標地理區域。As mentioned above, one or more image acquisition devices may be deployed within a geographic area. The geographic area where the target image capture 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 geographical location may be a Global Positioning System (Global Positioning System, GPS) positioning, and the deployed area identifier represents the geographical area where the image acquisition device is located. It should be understood that the target geographic area corresponding to the target image acquisition device may be determined according to the above at least one type of deployment information.

如上所述,第一對應關係還可以包括地理區域與圖像採集設備的標識資訊之間的對應關係,基於此,還可以根據目標圖像採集設備的標識資訊,確定目標地理區域。As mentioned above, the first correspondence may also include the correspondence between the geographical area and the identification information of the image acquisition device. Based on this, the target geographical area may also be determined according to the identification information of the target image acquisition device.

在一些實施方式中,可根據實際需求預先設置人員庫與地理區域之間的第一對應關係,例如,可以設置地理區域與一個或多個人員庫對應,例如,可以設置人員庫a與商鋪A對應,人員庫b與商鋪B對應,人員庫c1與c2分別與商鋪C對應,對此本公開實施例不作限制。基於此,與目標地理區域對應的目標人員庫可包括一個或多個。In some implementations, the first corresponding relationship between the personnel database and the geographic area can be preset according to actual needs, for example, a geographic area can be set to correspond to one or more personnel databases, for example, a personnel database a can be set to correspond to a store A corresponds, the personnel database b corresponds to the store B, and the personnel databases c1 and c2 correspond to the store C respectively, which is not limited in this embodiment of the present disclosure. Based on this, the target personnel 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 corresponding relationship between the geographical area and the personnel database, and the image information collected in the same geographical area can be effectively realized to correspond to the corresponding target personnel. The reference image information in the library is matched.

由於地理區域內的各圖像採集設備的拍攝覆蓋區域不同,例如,對於學校區域,每個班級內可以設置有圖像採集設備,每個班級可以對應各自的人員庫,則可以設置班級的人員庫與該班級內的圖像採集設備關聯,從而可以根據與該班級關聯的圖像採集設備,確定出目標人員庫以進行匹配,從而可進一步縮小採集的圖像資訊匹配的範圍,減少運算量,有效提高身份辨識的即時性及效率。Because the shooting coverage area of each image acquisition device in the geographical area is different, for example, for the 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 of the class can be set The database is associated with the image acquisition equipment in the class, so that the target personnel database can be determined for matching according to the image acquisition equipment associated with the class, so that the matching scope of the collected image information can be further narrowed, and the amount of calculation can be reduced , effectively improving the immediacy and efficiency of identification.

如上文所述,多個人員庫與圖像採集設備之間可存在對應關係。在一些實施方式中,還可以設置人員庫與圖像採集設備的標識資訊之間存在第二對應關係,在步驟S12中,從預設的多個人員庫中確定出與目標圖像採集設備關聯的目標人員庫,包括: 獲取目標圖像採集設備的標識資訊,並基於第二對應關係,從多個人員庫中確定與目標圖像採集設備的標識資訊對應的目標人員庫。 As mentioned above, there may be a corresponding relationship between multiple personnel databases and image acquisition devices. In some implementations, it is also possible to set a second corresponding relationship between the personnel database and the identification information of the image acquisition device. Targeted personnel pool, including: The identification information of the target image acquisition device is acquired, and based on the second corresponding relationship, the target personnel database corresponding to the identification information of the target image acquisition device is determined from multiple personnel databases.

如上文所述,採集的圖像資訊可帶有目標圖像設備的標識資訊,標識資訊可標識不同的圖像採集設備,其中,可從採集的圖像資訊中獲取目標圖像設備的標識資訊。As mentioned above, the collected image information may carry the identification information of the target image device, and the identification information may identify different image acquisition devices, wherein the identification information of the target image device may be obtained from the collected image information .

應理解的是,人員庫與圖像採集設備的標識資訊之間的第二對應關係,也即反映人員庫與圖像採集設備之間的對應關係。其中,可根據實際需求設置人員庫與圖像採集設備的標識資訊之間的第二對應關係,目標圖像採集設備可對應於一個或多個目標人員庫。It should be understood that the second corresponding relationship between the personnel database and the identification information of the image acquisition device reflects the corresponding relationship between the personnel database and the image acquisition device. Wherein, the second corresponding relationship between the personnel database and the identification information of the image acquisition device can be set according to actual needs, and the target image acquisition device can correspond to one or more target personnel databases.

在本公開實施例中,能夠針對目標圖像採集設備確定出與之對應的資料量較小的目標人員庫,可以縮小基於目標人員庫進行採集的圖像資訊匹配的範圍,減少運算量,有效提高身份辨識的即時性及效率。In the embodiment of the present disclosure, it is possible to determine the corresponding target personnel database with a relatively small amount of data for the target image acquisition device, which can narrow the scope of matching image information collected based on the target personnel database, reduce the amount of computation, and effectively Improve the immediacy and efficiency of identification.

在實施時,採集的圖像資訊可以包括圖像採集設備採集的人員圖像。在一些實施方式中,目標人員庫中包括多個參考圖像資訊,採集的圖像資訊包括人員圖像,在步驟S13中,所述基於目標人員庫,對採集的圖像資訊進行匹配,確定與採集的圖像資訊對應的身份資訊,包括: 對人員圖像進行特徵提取,得到第一人臉特徵; 在目標人員庫中查找與第一人臉特徵匹配的第一參考圖像資訊,並將與第一參考圖像資訊對應的身份資訊,確定為與採集的圖像資訊對應的身份資訊。 During implementation, the collected image information may include the image of the person 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 determined Identity information corresponding to the collected image information, including: Perform feature extraction on the person image to obtain the first face feature; Searching the first reference image information matching the first face feature in the target person database, and determining the identity information corresponding to the first reference image information as the identity information corresponding to the collected image information.

其中,可以是透過上述人臉特徵提取網路對人員圖像進行人臉特徵提取。可以理解的是,人員圖像中可以包含至少一個物件的人臉特徵。應理解的是,該人臉特徵提取網路部署在上述電子設備中。Wherein, the face feature extraction may be performed on the person image through the above-mentioned face feature extraction network. It can be understood that the person image may contain at least one facial feature of an object. It should be understood that the face feature extraction network is deployed in the above-mentioned electronic devices.

目標人員庫中的參考圖像資訊可以包括:人臉圖像和/或人臉特徵。在參考圖像資訊僅包括人臉圖像的情況下,在目標人員庫中查找與第一人臉特徵匹配的第一參考圖像資訊,可包括:逐一提取目標人員庫中人臉圖像的人臉特徵,進而與第一人臉特徵進行匹配,以查找出與第一人臉特徵匹配的第一參考圖像資訊。The reference image information in the target person database may include: face images and/or face features. In the case where the reference image information only includes a face image, searching for the first reference image information matched with the first face feature in the target personnel database may include: extracting the face images in the target personnel database one by one The facial features are further matched with the first facial features to find out the first reference image information matching the first facial features.

在一些實施方式中,在目標人員庫中的參考圖像資訊包括人臉特徵的情況下,可以依據第一人臉特徵,在目標人員庫中查找出與第一人臉特徵匹配的第一參考圖像資訊。透過該方式,能夠提高身份辨識的即時性以及效率。In some implementations, when the reference image information in the target person database includes facial features, the first reference image that matches the first facial features can be found in the target personnel database according to the first facial features. Image information. Through this method, the immediacy and efficiency of identification 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 the first reference image information matched with the first facial features in the target personnel library may include: calculating the similarity between the facial features in the target personnel library and the first facial features one by one, and making the similarity less than The face feature in the target person database with the similarity threshold is used as the first reference image information matched with the first face feature.

人員庫中儲存有參考圖像資訊和對應的身份資訊。在確定出與第一人臉特徵匹配的第一參考圖像資訊的情況下,可得到與第一參考圖像資訊對應的身份資訊,例如,該物件是會員還是普通顧客,以方便對人員庫中的人員行為進行統計分析。Reference image information and corresponding identity information are stored in the personnel database. In the case of determining the first reference image information matched with the first face feature, 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 personnel database Statistical analysis of personnel behavior in the system.

在一些實施方式中,在確定出與採集的圖像資訊對應的身份資訊後,可以基於該身份資訊,記錄身份資訊對應物件的行為資訊,例如,會員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 moment, and at a certain moment Out of the store; it can also be used to count the number of times that ordinary customers 002 enter the store within a statistical period, etc.

在一些實施方式中,在目標人員庫中不存在與第一人臉特徵匹配的第一參考圖像資訊的情況下,可以在目標人員庫中添加具備該第一人臉特徵的物件的身份資訊和參考圖像資訊,並記錄該物件的行為資訊,便於對地理區域內的客流情況進行分析,對此本公開實施例不做限制。In some implementations, if there is no first reference image information matching the first facial feature in the target person database, the identity information of the object with the first facial feature can be added to the target person database and reference image information, and record the behavior information of the object, so as to analyze the passenger flow situation in the geographical area, which is not limited in the embodiments 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 objects in the image information and reduce the probability of illegally obtaining images of persons, the collected image information may also be facial features of the images of persons. In some embodiments, the target person database includes a plurality of reference image information, and the collected image information includes the second facial features. In step S13, based on the target person database, the collected image information is Perform matching to determine the identity information corresponding to the collected image information, which may include: 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.

如上所述,可將人臉特徵提取網路部署在圖像採集設備中,並在圖像採集設備中執行對採集的人員圖像的人臉特徵提取。基於此,第二人臉特徵可以是在圖像採集設備中執行的、對採集的人員圖像進行特徵提取所得到的人臉特徵。As mentioned above, the facial feature extraction network can be deployed in the image acquisition device, and the facial feature extraction of the captured person images can be 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 captured person image performed in the image capture device.

其中,在目標人員庫中查找與第二人臉特徵匹配的第二參考圖像資訊,可以是採用與上述在目標人員庫中查找與第一人臉特徵匹配的第一參考圖像資訊相同的方式,在此不做贅述。Wherein, searching for the second reference image information matching the second face feature in the target person database can be the same method as above-mentioned searching for the first reference image information matching the first face feature in the target person database. method, which will not be described here.

人員庫中儲存有參考圖像資訊和對應的身份資訊。在確定出與第二人臉特徵匹配的第二參考圖像資訊的情況下,可得到與第二參考圖像資訊對應的身份資訊,以方便對人員庫中的人員行為進行統計分析。Reference image information and corresponding identity information are stored in the personnel database. When the second reference image information matching the second facial features is determined, the identity information corresponding to the second reference image information can be obtained, so as to facilitate the statistical analysis of the personnel behavior in the personnel database.

在本公開實施例中,不僅能夠保護圖像資訊中物件的隱私,還可以有效的根據第二人臉特徵和目標人員庫,確定出與採集的圖像資訊對應的身份資訊。In the embodiment of the present disclosure, not only the privacy of objects in the image information can be protected, but also the identity information corresponding to the collected image information can be effectively determined according to the second facial features and the target person database.

在一些實施方式中,所述方法還可以包括:根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,所述人員資訊包括人員的參考圖像資訊與身份資訊之間的對應關係。In some embodiments, the method may further include: creating a personnel database according to personnel information, deployment information and/or identification information of image acquisition equipment, and the personnel information includes reference image information and identity information of the personnel Correspondence between.

其中,人員的參考圖像資訊可以包括預先採集的人員圖像,和/或預先提取的人員圖像中的人臉特徵。參考圖像資訊與身份資訊之間的對應關係,可以包括:參考圖像資訊,以及與參考圖像資訊對應的身份資訊,身份資訊可以包括人員編號、人員身份等資訊。Wherein, the reference image information of the person may include a pre-collected person image, and/or a face feature in a pre-extracted person image. The correspondence between the reference image information and the identity information may include: reference image information, and identity information corresponding to the reference image information. The identity information may include personnel number, personnel identity and other information.

其中,人員編號可以是手機號、工號和/或身份證號等唯一標識人員的資訊;人員身份可以是根據人員庫的應用場景設定的用於表徵人員身份的資訊,例如針對店鋪場景,人員身份可以包括會員、員工、異常顧客、正常顧客等;針對學校場景,人員身份可以包括學生、教師、異常訪客、正常訪客等,對此本公開實施例不做限制。Among them, the personnel number can be the information that uniquely identifies the personnel such as mobile phone number, job number and/or ID number; 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 acquisition equipment may include: establishing a personnel database according to the personnel information; setting the relationship between the personnel database and the geographical area indicated by the deployment information The first corresponding relationship between them, and/or, the second corresponding relationship between the personnel database and the identification information of the image acquisition device is set, so as to create the personnel database.

在本公開實施例中,可以有效的根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,以便於在進行身份辨識過程中提高身份辨識的處理效率。In the embodiment of the present disclosure, the personnel database can be effectively created according to the personnel information, and the deployment information and/or identification information of the image acquisition equipment, so as to improve the processing efficiency of the identification during the identification process.

在一些實施方式中,所述根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,包括: 獲取人員資訊;響應於對人員資訊的配置操作,將人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,或與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯;基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。 In some implementation manners, the creation of the personnel database according to the personnel information, and the deployment information and/or identification information of the image acquisition equipment includes: Obtaining personnel information; in response to the configuration operation of the personnel information, associating at least part of the personnel information with the identification information of one or more image acquisition devices, or indicating the deployment information of one or more image acquisition devices The geographical area is associated; based on the personnel information associated with the same identification information or the same geographical area, a personnel database is created.

其中,使用者可以將人員資訊導入至指定資料庫中,以獲取使用者導入的人員資訊。例如,可以是透過逐個添加或批量導入的方式,將人員資訊導入至指定資料庫中,對此本公開實施例不做限制。Among them, the user can import the personnel information into the designated database to obtain the personnel information imported by the user. For example, the personnel information may be imported into the 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 personnel information configuration interface 1000 provided by the embodiment of the present disclosure. As shown in FIG. 2A, the user can choose to associate with a geographical area in the drop-down list 1001 at the "personnel database" in FIG. 2A. A predetermined personnel database, such as "personnel database c1" in Figure 2A; in the drop-down list 1002 at the "geographical area" in Figure 2A, select the regional identification of the geographical area associated with the personnel database, as shown in "Area 0079"; and by clicking the "Finish" button 1003, the association and binding between the personnel database and the geographical area is realized.

第2B圖為本公開實施例提供的一種人員資訊的配置介面2000的示意圖,如第2B圖所示,用戶可透過第2B圖中「人員庫」處的下拉清單2001,選擇與圖像採集設備關聯綁定的人員庫,如第2B圖中「人員庫c2」;以及在第2B圖中「圖像採集設備」處的下拉清單2002中,透過單選或多選圖像採集設備的標識資訊,來選擇與人員庫關聯綁定的圖像採集設備;並透過點擊「完成」按鈕2003,實現人員庫與圖像採集設備的關聯綁定。應理解的是,下拉清單中可提供用於單選或多選的選擇控制項,以及用於滑動查看標識資訊的滑動條控制項,對此本公開實施例不作限制。Figure 2B is a schematic diagram of a personnel information configuration interface 2000 provided by the embodiment of the present disclosure. As shown in Figure 2B, the user can select an image acquisition device through the drop-down list 2001 at the "personnel database" in Figure 2B The associated and bound personnel database, such as "personnel database c2" in Figure 2B; and in the drop-down list 2002 at the "Image Acquisition Device" in Figure 2B, the identification information of the image acquisition equipment through single or multiple selection , to select the image acquisition device associated and bound with the personnel database; and by clicking the "Finish" button 2003, the association and binding between the personnel database and the image acquisition device is realized. It should be understood that the drop-down list may provide a selection control item for single selection or multiple selection, and a slide bar control item for sliding to view identification information, which is not limited by this embodiment of the present disclosure.

將人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,可理解為,可配置某個圖像採集設備與部分或全部使用者導入的人員資訊關聯。將人員資訊中至少部分人員資訊與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯,可理解為,可配置某個地理區域與部分或全部使用者導入的人員資訊關聯。一個或多個圖像採集設備的部署資訊指示的地理區域,也即,一個或多個圖像採集設備所在的地理區域。Associating at least part of the personnel information with identification information of one or more image acquisition devices can be understood as configuring an image acquisition device to associate with some or all of the personnel information imported by users. Associating at least part of the personnel information with one or more geographical areas indicated by the deployment information of image acquisition devices can be understood as configuring a certain geographical area to be associated with some or all of the personnel information imported by users. The geographic area indicated by the deployment information of the one or more image capture devices, that is, the geographic area where the one or more image capture devices are located.

應理解的是,使用者導入的人員資訊可儲存在一個或多個的指定資料庫,或儲存在同一指定資料庫中的一個或多個指定表中。將至少部分人員資訊與圖像採集設備或與地理區域進行關聯,可包括:將至少部分指定資料庫或至少部分指定表,與圖像採集設備或與地理區域關聯,從而實現基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。It should be understood that the personnel information imported by the user can 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 acquisition device or with the geographical area may include: associating at least part of the designated database or at least part of the designated table with the image acquisition device or with the geographical area, so as to realize the identification based on the same identification information Or associate personnel information in the same geographical area to create a personnel database.

其中,相同標識資訊可理解為同一圖像採集設備,與相同標識資訊關聯的人員資訊,可理解為,與同一圖像採集設備關聯的指定資料庫或指定表中的人員資訊。與相同地理區域關聯的人員資訊,可理解為,與同一地理區域關聯的指定資料庫或指定表中的人員資訊。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 the personnel information in a designated database or a designated table associated with the same image acquisition device. The personnel information associated with the same geographic area can be understood as the personnel information in the specified database or specified table associated with the same geographic area.

舉例來說,人員資訊可以包括某學校的全部學生和全部教師。該學校的全部學生的人員資訊可儲存於一個學生資料庫,不同班級的學生可儲存於該一個學生資料庫中的不同班級表中。教師數量相對於學生數量要少,全部教師可按照年級儲存於一個教師資料庫中的年級表中。基於此,可配置各班級的圖像採集設備與學生資料庫關聯,也可配置各班級的圖像採集設備與對應的班級表關聯;以及可配置不同年級下各班級的圖像採集設備與教師資料庫關聯,也可配置同一年級下各班級的圖像採集設備與對應的年級表關聯。For example, people information can include all students and all teachers in a school. The personnel information of all students in the school can be stored in a student database, and students of different classes can be stored in different class tables in the same student database. The number of teachers is relatively small compared to the number of students, and all teachers can be stored in a grade table in a teacher database according to grade. Based on this, you can configure the image acquisition devices of each class to be associated with the student database, and you can also configure the image acquisition devices of each class to be associated with the corresponding class table; and you can configure the image acquisition devices of each class under different grades to be associated with teachers Database association, you can also configure the image acquisition equipment of each class under the same grade to be associated with the corresponding grade table.

在本公開實施例中,可以有效的根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,以便於根據圖像採集設備的部署資訊和/或標識資訊,縮小在身份辨識時基於目標人員庫進行採集的圖像資訊匹配的範圍,可以減小運算量小,有助於提高基於身份辨識的即時性以及處理效率。In the embodiment of the present disclosure, the personnel database can be effectively created according to the personnel information, and the deployment information and/or identification information of the image acquisition equipment, so as to narrow down the The matching range of image information collected based on the target personnel database during identity recognition can reduce the amount of computation and help improve the immediacy and processing efficiency of identity recognition.

在實施時,人員庫可以包括一個或多個分類庫,在人員庫包括多個分類庫的情況下,對多個分類庫設置優先順序,並依據優先順序查找匹配的參考圖像資訊。在一些實施方式中,在步驟S13中,基於目標人員庫,對採集的圖像資訊進行匹配,確定與採集的圖像資訊對應的身份資訊,可以包括: 在目標人員庫包括多個分類庫的情況下,按照多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與採集的圖像資訊匹配的參考圖像資訊,直至獲取到與採集的圖像資訊匹配的參考圖像資訊;將與參考圖像資訊對應的身份資訊,確定為與採集的圖像資訊對應的身份資訊。 During implementation, the personnel database may include one or more classification databases. If the personnel database includes multiple classification databases, a priority order is set for the multiple classification databases, and matching reference image information is searched according to the priority order. In some embodiments, in step S13, based on the target person database, the collected image information is matched, and the identity information corresponding to the collected image information is determined, which may include: In the case that the target personnel database includes multiple classification databases, according to the priority order of the multiple classification databases from high to low, search for reference image information matching the collected image information one by one until the obtained Reference image information matching the collected image information; identifying the identity information corresponding to the reference image information as the identity information corresponding to the collected image information.

在一些實施方式中,分類庫包括重點關注物件程式庫、普通物件程式庫、異常物件程式庫中的一項或多項。在教育場景中,重點關注物件程式庫包括教師庫和學生庫中的至少一項;或者,在零售場景中,重點關注物件程式庫包括會員庫和員工庫中的至少一項。In some implementations, 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 scenario, the focused object library includes at least one of a member library and a staff library.

普通物件程式庫可以是指白名單人員庫,例如,普通訪客庫;異常物件程式庫可以是指黑名單人員庫,例如,異常訪客庫。The common object library may refer to a whitelisted person library, for example, a normal visitor library; the abnormal object library may refer to a blacklisted person library, for example, an abnormal visitor library.

應理解的是,分類庫的優先順序可以根據實際需求設定,對此本公開實施例不做限制,比如,可以根據各分類庫的資料量進行設置,即資料量越小的分類庫的優先順序越高;再比如,可以根據對分類庫所指示的物件類別的關注程度進行設置,即將最關注的物件類別對應的分類庫的優先順序置為最高,等等。例如:可以設置會員庫、員工庫、異常物件程式庫及普通物件程式庫的優先順序依次遞減,也就是說,可以依次查找會員庫、員工庫、異常物件程式庫及普通物件程式庫中是否存在與採集的圖像資訊匹配的參考圖像資訊。It should be understood that the priority order of the classification databases can be set according to actual needs, which is not limited in this embodiment of the present disclosure. For example, it can be set according to the data volume of each classification database, that is, the priority order of the classification databases with the smaller data volume The higher; 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 order of the member library, employee library, abnormal object library and common object library in descending order, that is, you can search whether there are member library, employee library, abnormal object library and common object library in sequence Reference image information matching the captured image information.

為便於理解上述按照多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與採集的圖像資訊匹配的參考圖像資訊,直至獲取到與採集的圖像資訊匹配的參考圖像資訊的過程,以零售場景下設置會員庫、員工庫、異常物件程式庫及普通物件程式庫的優先順序依次遞減為例,進行說明如下: 可以首先在會員庫中進行查找;在會員庫查找到了與採集的圖像資訊匹配的參考圖像資訊的情況下,則確定訪客的人員身份為會員。此時,可以記錄該會員的行為資訊,例如到訪時間、到訪次數等,並結束本次查找。在會員庫未搜索與採集的圖像資訊匹配的參考圖像資訊的情況下,則繼續在下一個分類庫(員工庫)中進行查找。 In order to facilitate the understanding of the above order of priority from high to low according to the multiple classification libraries, search for reference image information that matches the collected image information one by one, until the reference image information that matches the collected image information is obtained. The process of image information is described as follows by taking the priority order of setting member library, employee library, abnormal object library and common object library in descending order in the retail scene as an example: It can be searched first in the member library; when the reference image information matching the collected image information is found in the member library, it is determined that the identity of the visitor is a member. At this point, you can record the member's behavior information, such as visit time, visit times, etc., and end this search. If the member database does not search for reference image information that matches the collected image information, continue to search in the next classification database (employee database).

在員工庫查找到了與採集的圖像資訊匹配的參考圖像資訊的情況下,則確定訪客的人員身份為員工。此時,可以結束本次查找。在員工庫中未搜索與採集的圖像資訊匹配的參考圖像資訊的情況下,則繼續在下一個分類庫(異常物件程式庫)中進行查找。When the reference image information matching the collected image information is found in the employee database, it is determined that the identity of the visitor is an employee. At this point, the search can be ended. If no reference image information matching the collected image information is found in the employee database, continue to search in the next classification library (abnormal object library).

在異常物件程式庫查找到了與採集的圖像資訊匹配的參考圖像資訊的情況下,則確定訪客的人員身份為黑名單人員。此時,可以記錄該黑名單人員的行為資訊,例如到訪時間、到訪次數等,並可以結束本次查找。可選地,還可以向終端使用者推送該黑名單人員到訪的報警資訊。在異常物件程式庫未查找到與採集的圖像資訊匹配的參考圖像資訊的情況下,則繼續在下一個分類庫(普通物件程式庫)中進行查找。When the reference image information matching the collected image information is found in the abnormal object library, it is determined that the identity of the visitor is a blacklisted person. At this time, the behavior information of the blacklisted person can be recorded, such as the time of visit, the number of visits, etc., and the search can be ended. Optionally, the alarm information of the blacklisted personnel's visit can also be pushed to the terminal user. In the case that the abnormal object library does not find the reference image information matching the collected image information, continue to search in the next classification library (ordinary object library).

在普通物件程式庫查找到了與採集的圖像資訊匹配的參考圖像資訊的情況下,則確定訪客的人員身份為普通訪客。此時,可以記錄該普通訪客的行為資訊,例如到訪時間、到訪次數等,並可以結束本次查找。在普通物件程式庫未查找到與採集的圖像資訊匹配的參考圖像資訊的情況下,可以將該普通訪客的人臉圖像和/或人臉特徵資訊添加到該普通物件程式庫中,例如可以表示店鋪來了一個新顧客。When the reference image information matching the collected image information is found in the general object library, it is determined that the identity of the visitor is an ordinary visitor. At this point, the behavior information of the common visitor, such as the time of visit, the number of visits, etc., can be recorded, and this search can be ended. In the case that the general object library does not find reference image information matching the collected image information, the face image and/or facial feature information of the ordinary visitor may be added to the ordinary object library, For example, it can indicate that a new customer has come to the store.

在本公開實施例中,可以按照有效及依次查找分類庫進行圖像匹配,提高了身份辨識的處理效率。In the embodiment of the present disclosure, the image matching can be performed by efficiently and sequentially searching the classification library, which improves the processing efficiency of identification.

在一些實施方式中,在得到物件的身份資訊和行為資訊後,所述方法還可以包括:向終端發送物件的身份資訊和行為資訊中的至少一種。In some implementation manners, 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, and 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, at least one of the identity information and behavior information of the object can be pushed to the terminal. Wherein, the behavior information may include one or more of visiting time, visiting times, visiting area and so on.

在一些實施方式中,針對零售場景,當雲端伺服器確定對象的身份為會員z時,可向終端推送會員z的行為資訊,以便於使用者查看會員z的到訪情況,從而做出相應的應對措施。例如,可以針對會員z的歷史購物記錄等資訊,向會員z推送產品和促銷活動等。In some implementations, for retail scenarios, when the cloud server determines that the identity of the object is member z, it can push the behavior information of member z to the terminal, so that users can check the visit status of member z and make corresponding actions. Responses. For example, based on information such as member z's historical shopping records, products and promotional activities can be pushed to member z.

在一些實施方式中,人員庫的創建過程可以包括:建立人員庫;在人員庫中添加人員;設置身份辨識方法的執行主體;將人員庫關聯到地理區域,或將人員庫關聯到圖像採集設備。In some implementations, the process of creating a personnel database may include: establishing a personnel database; adding personnel to the personnel database; setting the execution subject of the identification method; associating the personnel database with a geographical area, or associating the personnel database with image acquisition equipment.

在一些實施方式中,根據需要建立不同類型的人員庫,人員庫類型可以分為會員庫、員工庫、白名單資料庫、黑名單資料庫、學生庫、老師庫這六大類,其中老師庫和學生庫主要針對於教育場景使用,會員庫主要針對門店場景使用。In some embodiments, different types of personnel databases are established according to needs. The types of personnel databases can be divided into six categories: member databases, employee databases, whitelist databases, blacklist databases, student databases, and teacher databases. Among them, the teacher database and The student library is mainly used in education scenarios, and the member library is mainly used in store scenarios.

在一些實施方式中,創建好人員庫之後,可以針對某個具體的人員庫添加人員,也可以進入人員管理頁面,直接添加人員。其中,添加人員可以單獨添加,也可以批量導入。導入分為兩部分內容,多張人員的圖片和一個包括所有人員資訊的Excel表格,其中Excel表中的關聯項為圖片和Excel中每一個人的唯一對應項,不能重複。人員編號是標識該人身份的唯一編碼,可以是手機號、工號、身份證號等。In some embodiments, after the personnel database is created, personnel can be added for a specific personnel database, or personnel can be added directly by entering the personnel management page. Among them, adding personnel can be added individually or imported in batches. The import is divided into two parts, multiple pictures of personnel and an Excel table including all personnel information, where the associated items in the Excel table are the unique corresponding items of the pictures and each person in Excel, and cannot be repeated. The personnel number is a unique code that identifies the identity of the person, which can be a mobile phone number, job number, ID number, etc.

在一些實施方式中,可以根據個人需要設置和人臉靜態程式庫底庫(人員庫)比對的身份辨識功能是在雲端做還是在邊緣節點,默認是在雲端,如果選擇了邊緣節點或者智慧終端機,則在具體的邊緣節點或智慧終端機做。In some implementations, it can be set according to personal needs whether the identity recognition function compared with the face static program library (personnel library) is done in the cloud or in the edge node. The default is in the cloud. If you choose the edge node or smart Terminals are implemented on specific edge nodes or smart terminals.

在一些實施方式中,可以設置將人員庫關聯到具體的某個分支機構(地理區域),分支機構主要指某個店、某個學校等,如果人員庫綁定到分支機構,則同一個分支機構都使用這一個人員庫進行比對。In some implementations, it can be set to associate the personnel database with a specific branch (geographical area). A branch mainly refers to a store, a school, etc. If the personnel database is bound to a branch, the same branch Organizations use this personnel database for comparison.

在一些實施方式中,如果人員庫數量過大時,綁定到一個分支機構可能導致底庫比對時間過長,例如一種場景是一個學校,不同的課堂想用不同的學生庫,那麼此時可以將人員庫綁定到具體的拍攝設備(圖像採集設備):包括普通/智慧IPC、智慧模組(網路版)、業務模組/業務SDK。這樣可以針對每一台設備獲取資料量較小的人員庫,即減少了因為底庫人員過多容易導致誤識率增高的概率,也減少了比對時的耗時。In some implementations, if the number of personnel pools is too large, binding to a branch office may lead to too long a base database comparison time, for example, a scenario is a school, different classrooms want to use different student pools, then you can Bind the personnel database to specific shooting equipment (image acquisition equipment): including ordinary/smart IPC, smart 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 of an increase in the misrecognition rate due to too many personnel in the bottom database, and also reduces the time-consuming comparison.

在一些實施方式中,按照上述流程設置完成之後,資料會正常上報,此時可以查看和人員庫比對的不同的人的身份和記錄情況,擁有特殊身份的人員數量,同時也可以匯出報表進行進一步分析。In some implementations, after the above process is set up, the data will be reported normally. At this time, you can check the identities and records of different people compared with the personnel database, and the number of personnel with special identities can also be exported. report for further analysis.

根據本公開實施例的身份辨識方法,可以針對多種不同終端類型:智慧模組、智慧IPC、業務SDK、和邊緣節點,透過設置不同的圖像採集設備,實現人員庫的分流處理,提升了性能和準確性。並且使用者可以針對自己的需求來靈活配置人員庫綁定到分支機構還是到具體設備,使用方便且直觀。According to the identity identification method of the embodiment of the present disclosure, it can be aimed at a variety of different terminal types: smart modules, smart IPCs, business SDKs, and edge nodes. By setting different image acquisition devices, the shunt processing of the personnel database can be realized, and the performance can be improved. and accuracy. And users can flexibly configure the personnel pool to be bound to branches or to specific devices according to their own needs, which is convenient and intuitive to use.

相關技術中的人員庫使用場景中,會針對一個商家設置一個大的人員庫,這樣有一個問題,當人員庫數量非常大的時候,會導致處理時間過長,延遲較大。並且因為人員底庫過大,那麼同一個人被辨識為其他人的概率也就較高,本公開實施例針對此種情況,透過將較大的人員庫拆分不同的人員小庫,下發到綁定的圖像採集設備,不同的圖像採集設備可以針對不同的人員庫做相應的差異化處理,這樣可以有效地解決上述問題。In the usage scenario of the personnel pool in the related art, a large staff pool is set up for a merchant. This has a problem that when the number of staff pools is very large, the processing time will be too long and the delay will be large. And because the personnel database is too large, the probability of the same person being identified as other people is also high. The embodiment of the present disclosure aims at this situation by splitting the larger personnel database into different personnel databases and sending them to the bundled personnel database. Different image acquisition equipment can be used for different personnel bases to perform corresponding differentiated processing, which can effectively solve the above problems.

根據本公開實施例的身份辨識方法,針對人員庫應用場景,對終端設備、邊緣節點、雲服務多方使用人員庫的情況,進行人員庫與設備的綁定與管理,以便更好地實現人員庫的分發,提升人員庫比對的處理效率,以降低計算量。According to the identity identification method of the embodiment of the present disclosure, for the application scenario of the personnel database, the binding and management of the personnel database and the device are carried out for the terminal equipment, the edge node, and the cloud service multi-party use of the personnel database, so as to better realize the personnel database To improve the processing efficiency of personnel database comparison and reduce the amount of calculation.

根據本公開實施例的身份辨識方法,可以應用在學校、超商客流、門店、4S店等需要人員庫管理的產品。The identity identification method according to the embodiments of the present disclosure can be applied to products requiring personnel database management, such as schools, supermarket passenger flow, stores, 4S stores, and the like.

根據本公開實施例的身份辨識方法,能夠支持在邊緣節點或者智慧IPC設備上做人員庫的針對性下發,減少載入或處理大庫的耗時。According to the identity identification method of the embodiment of the present disclosure, it is possible to support targeted delivery of personnel databases on edge nodes or smart IPC devices, reducing the time-consuming loading or processing of large databases.

可以理解,本公開提及的上述各個方法實施例,在不違背原理邏輯的情況下,均可以彼此相互結合形成結合後的實施例。本領域技術人員可以理解,在具體實施方式的上述方法中,各步驟的撰寫順序並不意味著嚴格的執行順序而對實施過程構成任何限定,各步驟的具體執行順序應當以其功能和可能的內在邏輯確定。It can be understood that the above-mentioned method embodiments mentioned in this disclosure can all 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 specific implementation, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The inner logic is OK.

基於同一發明構思,本公開實施例中還提供了與身份辨識方法對應的身份辨識裝置,由於本公開實施例中的裝置解決問題的原理與本公開實施例上述身份辨識方法相似,因此裝置的實施可以參見方法的實施。Based on the same inventive concept, the embodiment of the present disclosure also provides an identity recognition device corresponding to the identity recognition method. Since the problem-solving principle of the device in the embodiment of the present disclosure is similar to the above-mentioned identity recognition method in the embodiment of the present disclosure, the implementation of the device See the implementation of the method.

第3圖為本公開實施例提供的一種身份辨識裝置的示意圖,如第3圖所示,所述裝置包括: 獲取部分101,被配置為獲取目標圖像採集設備採集的圖像資訊; 確定部分102,被配置為從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫; 匹配部分103,被配置為基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊。 Figure 3 is a schematic diagram of an identity recognition device provided by an embodiment of the present disclosure. As shown in Figure 3, the device includes: The obtaining part 101 is configured to obtain image information collected by the target image collection device; The determining part 102 is configured to determine a target person library associated with the target image acquisition device from a plurality of preset person libraries; The matching part 103 is configured to match the collected image information based on the target person database, and determine identity information corresponding to the collected image information.

在一些實施方式中,人員庫與地理區域之間存在第一對應關係,所述確定部分102,包括:第一確定子部分,被配置為獲取所述目標圖像採集設備的部署資訊,並基於所述部署資訊確定所述目標圖像採集設備對應的目標地理區域;第二確定子部分,被配置為基於所述第一對應關係,從所述多個人員庫中確定與所述目標地理區域對應的所述目標人員庫。In some implementations, there is a first corresponding relationship between the personnel database and the geographical area, and the determining part 102 includes: a first determining subpart configured to obtain the deployment information of the target image acquisition device, and based on The deployment information determines the target geographic area corresponding to the target image acquisition device; the second determining subpart is configured to determine from the plurality of personnel databases the target geographic area based on the first corresponding relationship The corresponding target personnel database.

在一些實施方式中,人員庫與圖像採集設備的標識資訊之間存在第二對應關係,所述確定部分102,被配置為:第三確定子部分,被配置為獲取所述目標圖像採集設備的標識資訊,並基於所述第二對應關係,從所述多個人員庫中確定與所述目標圖像採集設備的標識資訊對應的所述目標人員庫。In some implementations, there is a second corresponding relationship between the personnel database and the identification information of the image acquisition device, and the determining part 102 is configured as: a third determining subpart configured to obtain the target image acquisition identification information of the device, and based on the second correspondence, determine the target personnel database corresponding to the identification information of the target image acquisition device from the plurality of personnel databases.

在一些實施方式中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括人員圖像,所述匹配部分103,包括:特徵提取子部分,被配置為對所述人員圖像進行特徵提取,得到第一人臉特徵;第一查找子部分,被配置為在所述目標人員庫中查找與所述第一人臉特徵匹配的第一參考圖像資訊,並將與所述第一參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the target person database includes a plurality of reference image information, the collected image information includes person images, and the matching part 103 includes: a feature extraction subsection configured to Feature extraction is performed on the person image to obtain the first face feature; the first search subpart is configured to search the target person database for the first reference image information matching the first face feature, and The identity information corresponding to the first reference image information is determined as the identity information corresponding to the collected image information.

在一些實施方式中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括第二人臉特徵,所述匹配部分103,包括:第二查找子部分,被配置為在所述目標人員庫中查找與所述第二人臉特徵匹配的第二參考圖像資訊,並將與所述第二參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the target person database includes a plurality of reference image information, and the collected image information includes the second facial features, and the matching part 103 includes: a second search subsection configured In order to search the target person database for the second reference image information that matches the second face feature, and determine the identity information corresponding to the second reference image information as the image information collected The identity information corresponding to the image information.

在一些實施方式中,所述裝置還包括:創建部分,用於根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,所述人員資訊包括人員的參考圖像資訊與身份資訊之間的對應關係。In some implementations, the apparatus further includes: a creating part, configured to create a personnel library according to personnel information, deployment information and/or identification information of image acquisition equipment, the personnel information including reference image information of personnel Correspondence with identity information.

在一些實施方式中,所述創建部分包括:獲取子部分,被配置為獲取所述人員資訊;配置子部分,被配置為響應於對所述人員資訊的配置操作,將所述人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,或與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯;創建子部分,被配置為基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。In some implementations, the creation part includes: an acquisition subsection configured to acquire the personnel information; a configuration subsection configured to respond to a configuration operation on the personnel information, at least Partial personnel information is associated with identification information of one or more image capture devices, or with a geographical area indicated by deployment information of one or more image capture devices; creating a subsection configured to be based on the same identification information Or associate personnel information in the same geographical area to create a personnel database.

在一些實施方式中,所述匹配部分103,包括:在所述目標人員庫包括多個分類庫的情況下,按照所述多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與所述採集的圖像資訊匹配的參考圖像資訊,直至獲取到與所述採集的圖像資訊匹配的參考圖像資訊;將與所述參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。In some implementations, the matching part 103 includes: in the case that the target personnel database includes a plurality of classification databases, according to the order of priority of the multiple classification databases from high to low, search for each classification database Whether there is reference image information matching the collected image information, until the reference image information matching the collected image information is obtained; determining the identity information corresponding to the reference image information as Identity information corresponding to the collected image information.

在一些實施方式中,所述分類庫包括重點關注物件程式庫、普通物件程式庫、異常物件程式庫中的一項或多項。In some implementations, 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 setting, the focused object library includes at least one of a teacher library and a student library; or, in a retail setting, the focused object library includes a member library and an employee library At least one of the .

在本公開實施例中,能夠從多個人員庫中確定出與圖像採集設備關聯的目標人員庫,基於目標人員庫對採集的圖像資訊進行匹配,以確定身份資訊,可以縮小基於人員庫進行圖像資訊匹配的範圍,減少運算量,有效提高身份辨識的即時性的效率。In the embodiment of the present disclosure, the target personnel database associated with the image acquisition device can be determined from multiple personnel databases, and the collected image information is matched based on the target personnel database to determine the identity information, which can narrow down the number of people based on the personnel database. The range of image information matching reduces the amount of computation and effectively improves the efficiency of real-time identification.

在一些實施例中,本公開實施例提供的裝置具有的功能或包含的部分可以用於執行上文方法實施例描述的方法,其具體實現可以參照上文方法實施例的描述。In some embodiments, the functions or parts included in the apparatus provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments, and for specific implementation, refer to the descriptions of the above method embodiments.

在本公開實施例以及其他的實施例中,「部分」可以是部分電路、部分處理器、部分程式或軟體等等,當然也可以是單元,還可以是模組也可以是非模組化的。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, may also be a unit, and may also be a module or non-modular.

本公開實施例還提供一種電腦可讀儲存媒體,其上儲存有電腦程式指令,所述電腦程式指令被處理器執行時實現上述方法。電腦可讀儲存媒體可以是易失性或非易失性電腦可讀儲存媒體。An embodiment of the present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor. Computer readable storage media can be volatile or nonvolatile computer readable storage media.

本公開實施例還提供一種電子設備,包括:處理器;用於儲存處理器可執行指令的記憶體;其中,所述處理器被配置為調用所述記憶體儲存的指令,以執行上述方法。電子設備可以被提供為終端、伺服器或其它形態的設備。第4圖為本公開實施例的提供一種電子設備400的結構示意圖。例如,電子設備400可以是行動電話、電腦、數位廣播終端、訊息收發設備、遊戲控制台、平板設備、醫療設備、健身設備、個人數位助理等終端。An embodiment of the present disclosure also 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. Electronic devices may be provided as terminals, servers, or other types of devices. FIG. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present disclosure. For example, the electronic device 400 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

參照第4圖,電子設備400可以包括以下一個或多個元件:處理元件402、記憶體404、電源元件406、多媒體元件408、音訊元件410、輸入/輸出(I/O)介面412、感測器元件414、以及通訊元件416。Referring to FIG. 4, electronic device 400 may include one or more of the following elements: processing element 402, memory 404, power supply element 406, multimedia element 408, audio element 410, input/output (I/O) interface 412, sensing Device element 414, and communication element 416.

處理元件402通常控制電子設備400的整體操作,諸如與顯示,電話呼叫,資料通訊,相機操作和記錄操作相關聯的操作。處理元件402可以包括一個或多個處理器420來執行指令,以完成上述的方法的全部或部分步驟。此外,處理元件402可以包括一個或多個部分,便於處理元件402和其他元件之間的互動。例如,處理元件402可以包括多媒體部分,以方便多媒體元件408和處理元件402之間的互動。The processing element 402 generally controls the overall operations of the electronic device 400, such as operations associated with display, phone calls, data communication, camera operations, and recording operations. The processing element 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing element 402 may include one or more portions that facilitate interaction between processing element 402 and other elements. For example, processing element 402 may include a multimedia portion to facilitate interaction between multimedia element 408 and processing element 402 .

記憶體404被配置為儲存各種類型的資料以支援在電子設備400的操作。這些資料的示例包括用於在電子設備400上操作的任何應用程式或方法的指令、連絡人資料、電話簿資料、訊息、圖片、影片等。記憶體404可以由任何類型的易失性或非易失性存放裝置或者它們的組合實現,如靜態隨機存取記憶體(SRAM)、電可擦除可程式設計唯讀記憶體(EEPROM)、可擦除可程式設計唯讀記憶體(EPROM)、可程式設計唯讀記憶體(PROM)、唯讀記憶體(ROM)、磁記憶體、快閃記憶體、磁片或光碟。The memory 404 is configured to store various types of data to support operations of the electronic device 400 . Examples of such data include instructions for any application or method operating on the electronic device 400 , contact information, phonebook information, messages, pictures, videos, and the like. The memory 404 can be implemented by any type of volatile or non-volatile storage device or their combination, 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 Disk or Optical Disk.

電源元件406為電子設備400的各種元件提供電力。電源元件406可以包括電源管理系統,一個或多個電源,及其他與為電子設備400生成、管理和分配電力相關聯的組件。The power supply element 406 provides power to various elements of the electronic device 400 . Power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 400 .

多媒體元件408包括在所述電子設備400和使用者之間的提供一個輸出介面的螢幕。在一些實施例中,螢幕可以包括液晶顯示器(LCD)和觸摸面板(TP)。如果螢幕包括觸摸面板,螢幕可以被實現為觸控式螢幕,以接收來自使用者的輸入訊號。觸摸面板包括一個或多個觸摸感測器以感測觸摸、滑動和觸摸面板上的手勢。所述觸摸感測器可以不僅感測觸摸或滑動動作的邊界,而且還檢測與所述觸摸或滑動操作相關的持續時間和壓力。在一些實施例中,多媒體元件408包括一個前置攝影機和/或後置攝影機。當電子設備400處於操作模式,如拍攝模式或視訊模式時,前置攝影機和/或後置攝影機可以接收外部的多媒體資料。每個前置攝影機和後置攝影機可以是一個固定的光學透鏡系統或具有焦距和光學變焦能力。The multimedia component 408 includes a screen providing 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 can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or slide action, but also detect a duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia element 408 includes a front camera and/or a rear 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 can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音訊元件410被配置為輸出和/或輸入音訊訊號。例如,音訊元件410包括一個麥克風(MIC),當電子設備400處於操作模式,如呼叫模式、記錄模式和語音辨識模式時,麥克風被配置為接收外部音訊訊號。所接收的音訊訊號可以被進一步儲存在記憶體404或經由通訊元件416發送。在一些實施例中,音訊元件410還包括一個揚聲器,用於輸出音訊訊號。The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 400 is in operation modes, such as call mode, recording mode and voice recognition mode. The received audio signal can be further stored in the memory 404 or sent via the communication component 416 . In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.

I/O介面412為處理元件402和週邊介面模組之間提供介面,上述週邊介面模組可以是鍵盤、點擊輪、按鈕等。這些按鈕可包括但不限於:主頁按鈕、音量按鈕、啟動按鈕和鎖定按鈕。The I/O interface 412 provides an interface between the processing element 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a 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 element 414 includes one or more sensors for providing various aspects of status assessment for electronic device 400 . For example, the sensor element 414 can detect the open/closed state of the electronic device 400, the relative positioning of elements such as the display and keypad of the electronic device 400, the sensor element 414 can also detect the electronic device 400 or The position of a component of the electronic device 400 changes, the presence or absence of user contact with the electronic device 400 , the orientation or acceleration/deceleration of the electronic device 400 and the temperature of the electronic device 400 change. The sensor element 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor element 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 element 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)技術和其他技術來實現。The communication component 416 is configured to facilitate wired or wireless communication between the 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 the fifth generation mobile communication technology (5G), or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system through a broadcast channel. In an exemplary embodiment, the communication element 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (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), A Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the method described above.

在示例性實施例中,還提供了一種非易失性電腦可讀儲存媒體,例如包括電腦程式指令的記憶體404,上述電腦程式指令可由電子設備400的處理器420執行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as the memory 404 including computer program instructions, which can be executed by the processor 420 of the electronic device 400 to implement 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 provided by an embodiment of the present disclosure. For example, the electronic device 500 can be provided as a server. Referring to FIG. 5, the electronic device 500 includes a processing element 501, which further includes one or more processors, and a memory resource represented by a memory 502 for storing instructions executable by the processing element 501, such as application programs . The application programs stored in memory 502 may include one or more portions each corresponding to a set of instructions. In addition, the processing element 501 is configured to execute instructions to perform the above 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 element 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 the operating system stored in the memory 502, such as the Microsoft server operating system (Windows Server TM ), the operating system based on the graphical user interface (Mac OS X TM ) introduced by Apple Inc., multi-user and multi-user Processed computer operating system (Unix ), free and open source Unix-like operating system (Linux ), open source Unix-like operating system (FreeBSD ) or similar.

在示例性實施例中,還提供了一種非易失性電腦可讀儲存媒體,例如包括電腦程式指令的記憶體502,上述電腦程式指令可由電子設備500的處理元件501執行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as a memory 502 including computer program instructions, which can be executed by the processing element 501 of the electronic device 500 to implement the above method.

本公開實施例還提供了一種電腦程式產品,包括電腦可讀代碼,當電腦可讀代碼在設備上運行時,設備中的處理器執行用於實現如上任一實施例提供的身份辨識方法的指令。An embodiment of the present disclosure also provides a computer program product, including computer-readable codes. When the computer-readable codes run on the device, the processor in the device executes instructions for implementing the identification method provided in any of the above embodiments. .

本公開實施例還提供了另一種電腦程式產品,用於儲存電腦可讀指令,指令被執行時使得電腦執行上述任一實施例提供的身份辨識方法的操作。Embodiments of the present disclosure also provide another computer program product, which is used for storing computer-readable instructions. When the instructions are executed, the computer executes the operation of the identification method provided by any of the above-mentioned embodiments.

本公開實施例可以是裝置、系統、方法和/或電腦程式產品。電腦程式產品可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本公開的各個方面的電腦可讀程式指令。Embodiments of the present disclosure may be apparatuses, systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium loaded with computer-readable program instructions 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 an instruction execution device. A 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 thereof. 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 Design 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 stick , a magnetic sheet, a mechanical encoding device, such as a punched card with instructions stored thereon or a raised structure in a groove, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be interpreted as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or Electrical signals transmitted by wires.

這裡所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者透過網路、例如網際網路、區域網路、廣域網路和/或無線網下載到外部電腦或外部存放裝置。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換機、閘道電腦和/或邊緣伺服器。每個計算/處理設備中的網路介面卡或者網路介面從網路接收電腦可讀程式指令,並轉發該電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing/processing device, or to an external computer or computer via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. External storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in computer-readable storage in each computing/processing device in the media.

用於執行本公開操作的電腦程式指令可以是彙編指令、指令集架構(ISA)指令、機器指令、機器相關指令、微代碼、韌體指令、狀態設置資料、或者以一種或多種程式設計語言的任意組合編寫的原始程式碼或目標代碼,所述程式設計語言包括物件導向的程式設計語言—諸如Smalltalk、C++等,以及常規的過程式程式設計語言—諸如「C」語言或類似的程式設計語言。電腦可讀程式指令可以完全地在使用者電腦上執行、部分地在使用者電腦上執行、作為一個獨立的套裝軟體執行、部分在使用者電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。在涉及遠端電腦的情形中,遠端電腦可以透過任意種類的網路—包括區域網路(LAN)或廣域網路(WAN)—連接到使用者電腦,或者,可以連接到外部電腦(例如利用網際網路服務提供者來透過網際網路連接)。在一些實施例中,透過利用電腦可讀程式指令的狀態資訊來個性化定制電子電路,例如可程式設計邏輯電路、現場可程式設計閘陣列(FPGA)或可程式設計邏輯陣列(PLA),該電子電路可以執行電腦可讀程式指令,從而實現本公開的各個方面。Computer program instructions for performing the 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 code in one or more programming languages. Source code or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as “C” or similar programming languages . Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer. Execute on the terminal computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer via any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as by using internet service provider to connect via the internet). In some embodiments, electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), are customized by utilizing state information of computer readable program instructions, the Electronic circuits can execute computer-readable program instructions 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 should be understood that each block of the flowchart and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.

這些電腦可讀程式指令可以提供給通用電腦、專用電腦或其它可程式設計資料處理裝置的處理器,從而生產出一種機器,使得這些指令在透過電腦或其它可程式設計資料處理裝置的處理器執行時,產生了實現流程圖和/或框圖中的一個或多個方框中規定的功能/動作的裝置。也可以把這些電腦可讀程式指令儲存在電腦可讀儲存媒體中,這些指令使得電腦、可程式設計資料處理裝置和/或其他設備以特定方式工作,從而,儲存有指令的電腦可讀媒體則包括一個製造品,其包括實現流程圖和/或框圖中的一個或多個方框中規定的功能/動作的各個方面的指令。These computer-readable program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, or other programmable data-processing device, thereby producing a machine that causes these instructions to be executed by the processor of the computer or other programmable data-processing device When, means for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram are produced. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause a computer, a programmable data processing device and/or other equipment to operate in a specific manner, so that the computer-readable medium storing the instructions is An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in the flowcharts and/or block diagrams is included.

也可以把電腦可讀程式指令載入到電腦、其它可程式設計資料處理裝置、或其它設備上,使得在電腦、其它可程式設計資料處理裝置或其它設備上執行一系列操作步驟,以產生電腦實現的過程,從而使得在電腦、其它可程式設計資料處理裝置、或其它設備上執行的指令實現流程圖和/或框圖中的一個或多個方框中規定的功能/動作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operation steps are executed on the computer, other programmable data processing device, or other equipment to produce a computer The process of implementation, so that instructions executed on computers, other programmable data processing devices, or other equipment implement the functions/actions specified in one or more blocks in the flowchart and/or block diagram.

附圖中的流程圖和框圖顯示了根據本公開的多個實施例的裝置、系統、方法和電腦程式產品的可能實現的體系架構、功能和操作。在這點上,流程圖或框圖中的每個方框可以代表一個模組、程式段或指令的一部分,所述模組、程式段或指令的一部分包含一個或多個用於實現規定的邏輯功能的可執行指令。在有些作為替換的實現中,方框中所標注的功能也可以以不同於附圖中所標注的順序發生。例如,兩個連續的方框實際上可以基本並行地執行,它們有時也可以按相反的循序執行,這依所涉及的功能而定。也要注意的是,框圖和/或流程圖中的每個方框、以及框圖和/或流程圖中的方框的組合,可以用執行規定的功能或動作的專用的基於硬體的系統來實現,或者可以用專用硬體與電腦指令的組合來實現。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatuses, systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of an instruction that contains one or more Executable instructions for logical functions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two consecutive blocks may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented with a dedicated hardware-based computer that performs the specified function or action. system, or may be implemented with a combination of dedicated hardware and computer instructions.

該電腦程式產品可以具體透過硬體、軟體或其結合的方式實現。在一個可選實施例中,所述電腦程式產品具體體現為電腦儲存媒體,在另一個可選實施例中,電腦程式產品具體體現為軟體產品,例如軟體發展包(Software Development Kit,SDK)等等。The computer program product can be realized through hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. 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, rather than limit them, and the protection scope of the present disclosure is not limited thereto, although referring to the aforementioned The embodiments have described the present disclosure in detail, and those skilled in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present disclosure Changes can be easily imagined, or equivalent replacements can be made to 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 included in this disclosure. within the scope of protection. Industrial Applicability

本公開實施例提供了一種身份辨識方法及電子設備、電腦可讀儲存媒體,其中,身份辨識方法包括:獲取目標圖像採集設備採集的圖像資訊;從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫;基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊。上述方案可以縮小基於人員庫進行圖像資訊匹配的範圍,減小運算量,有效提高身份辨識的即時性及效率。Embodiments of the present disclosure provide an identity identification method, an electronic device, and a computer-readable storage medium, wherein the identity identification method includes: acquiring image information collected by a target image acquisition device; A target personnel database associated with the target image collection device; based on the target personnel database, matching the collected image information to determine 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 immediacy and efficiency of identification.

S11~S13:步驟 1000:人員資訊的配置介面 1001:下拉清單 1002:下拉清單 1003:完成按鈕 2000:人員資訊的配置介面 2001:下拉清單 2002:下拉清單 2003:完成按鈕 101:獲取部分 102:確定部分 103:匹配部分 400:電子設備 402:處理元件402 404:記憶體 406:電源元件 408:多媒體元件 410:音訊元件 412:輸入/輸出介面 414:感測器元件 416:通訊元件 500:電子設備 501:處理元件 502:記憶體 503:電源元件 504:網路介面 505:輸入輸出介面 S11~S13: Steps 1000: configuration interface of personnel information 1001: drop down list 1002: drop down list 1003: Finish button 2000: Configuration interface of personnel information 2001: Dropdown lists 2002: Dropdown lists 2003: Done button 101: Get Part 102: Determining part 103: Match part 400: Electronic equipment 402: processing element 402 404: Memory 406: Power components 408:Multimedia components 410:Audio components 412: input/output interface 414: sensor element 416: Communication components 500: Electronic equipment 501: processing element 502: memory 503: Power components 504: Network interface 505: input and output interface

為了更清楚地說明本公開實施例的技術方案,下面將對實施例中所需要使用的附圖作簡單地介紹,此處的附圖被併入說明書中並構成本說明書的一部分,這些附圖示出了符合本公開的實施例,並與說明書一起用於說明本公開的技術方案。應當理解,以下附圖僅示出了本公開的某些實施例,因此不應被看作是對範圍的限定,對於本領域普通技術人員來講,在不付出進步性勞動的前提下,還可以根據這些附圖獲得其他相關的附圖。In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the accompanying drawings used in the embodiments will be briefly introduced below. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. These drawings The embodiments conforming to the present disclosure are shown, and together with the specification, they are used to explain the technical solution 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 drawings can be derived from these drawings.

第1圖為本公開實施例提供的一種身份辨識方法的實現流程示意圖。 第2A圖為本公開實施例提供的一種人員資訊的配置介面的示意圖。 第2B圖為本公開實施例提供的一種人員資訊的配置介面的示意圖。 第3圖為本公開實施例提供的一種身份辨識裝置的示意圖。 第4圖為本公開實施例的提供的一種電子設備的結構示意圖。 第5圖為本公開實施例的提供的一種電子設備的結構示意圖。 FIG. 1 is a schematic diagram of an implementation flow of an identity identification method provided by an embodiment of the present disclosure. FIG. 2A is a schematic diagram of a personnel information configuration interface provided by an embodiment of the present disclosure. FIG. 2B is a schematic diagram of a personnel information configuration interface provided by an embodiment of the present disclosure. Fig. 3 is a schematic diagram of an identification device 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 provided by an embodiment of the present disclosure.

S11~S13:步驟 S11~S13: Steps

Claims (12)

一種身份辨識方法,包括: 獲取目標圖像採集設備採集的圖像資訊; 從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫; 基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊。 A method of identification, comprising: Obtain image information collected by the target image acquisition device; Determining a target personnel database associated with the target image acquisition device from a plurality of preset personnel databases; Based on the target person database, the collected image information is matched to determine identity information corresponding to the collected image information. 根據請求項1所述的方法,其中,人員庫與地理區域之間存在第一對應關係, 所述從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫,包括: 獲取所述目標圖像採集設備的部署資訊,並基於所述部署資訊確定所述目標圖像採集設備對應的目標地理區域; 基於所述第一對應關係,從所述多個人員庫中確定與所述目標地理區域對應的所述目標人員庫。 According to the method described in claim 1, wherein there is a first corresponding relationship between the personnel database and the geographical area, The determining the target personnel database associated with the target image acquisition device from multiple preset personnel databases includes: Acquiring deployment information of the target image acquisition device, and determining a target geographic area corresponding to the target image acquisition device based on the deployment information; Based on the first correspondence, the target personnel database corresponding to the target geographical area is determined from the plurality of personnel databases. 根據請求項1或2所述的方法,其中,人員庫與圖像採集設備的標識資訊之間存在第二對應關係, 所述從預設的多個人員庫中確定出與所述目標圖像採集設備關聯的目標人員庫,包括: 獲取所述目標圖像採集設備的標識資訊,並基於所述第二對應關係,從所述多個人員庫中確定與所述目標圖像採集設備的標識資訊對應的所述目標人員庫。 According to the method described in claim 1 or 2, wherein there is a second corresponding relationship between the personnel database and the identification information of the image acquisition device, The determining the target personnel database associated with the target image acquisition device from multiple preset personnel databases includes: The identification information of the target image acquisition device is acquired, 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. 根據請求項1或2所述的方法,其中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括人員圖像, 所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括: 對所述人員圖像進行特徵提取,得到第一人臉特徵; 在所述目標人員庫中查找與所述第一人臉特徵匹配的第一參考圖像資訊,並將與所述第一參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。 The method according to claim 1 or 2, wherein the target person database includes a plurality of reference image information, and the collected image information includes person images, The matching of the collected image information based on the target personnel database, and determining the identity information corresponding to the collected image information includes: Carrying out feature extraction to described personnel image, obtains the first human face feature; Searching for first reference image information matching the first face feature in the target person database, and determining the identity information corresponding to the first reference image information as matching the collected image The identity information corresponding to the information. 根據請求項1或2所述的方法,其中,所述目標人員庫中包括多個參考圖像資訊,所述採集的圖像資訊包括第二人臉特徵, 所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括: 在所述目標人員庫中查找與所述第二人臉特徵匹配的第二參考圖像資訊,並將與所述第二參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。 The method according to claim 1 or 2, wherein the target person database includes a plurality of reference image information, and the collected image information includes the second facial features, The matching of the collected image information based on the target personnel database, and determining the identity information corresponding to the collected image information includes: Searching for 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 matching the collected image The identity information corresponding to the information. 根據請求項1或2所述的方法,其中,所述方法還包括: 根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,所述人員資訊包括人員的參考圖像資訊與身份資訊之間的對應關係。 The method according to claim 1 or 2, wherein the method further comprises: A personnel database is created according to the personnel information and the deployment information and/or identification information of the image acquisition equipment, the personnel information including the correspondence between the reference image information and the identity information of the personnel. 根據請求項6所述的方法,其中,所述根據人員資訊,以及圖像採集設備的部署資訊和/或標識資訊,創建人員庫,包括: 獲取所述人員資訊; 響應於對所述人員資訊的配置操作,將所述人員資訊中至少部分人員資訊與一個或多個圖像採集設備的標識資訊進行關聯,或與一個或多個圖像採集設備的部署資訊指示的地理區域進行關聯; 基於與相同標識資訊或相同地理區域進行關聯的人員資訊,創建人員庫。 According to the method described in claim 6, wherein the creation of a personnel database based on personnel information, deployment information and/or identification information of image acquisition equipment includes: Obtain the information of the said personnel; Responsive to the configuration operation of the personnel information, associating at least part of the personnel information in the personnel information with the identification information of one or more image acquisition devices, or with the deployment information indication of one or more image acquisition devices Geographical areas associated with; Create a personnel pool based on personnel information associated with the same identification information or the same geographic region. 根據請求項1或2所述的方法,其中,所述基於所述目標人員庫,對所述採集的圖像資訊進行匹配,確定與所述採集的圖像資訊對應的身份資訊,包括: 在所述目標人員庫包括多個分類庫的情況下,按照所述多個分類庫的優先順序從高到低的順序,逐分類庫查找是否存在與所述採集的圖像資訊匹配的參考圖像資訊,直至獲取到與所述採集的圖像資訊匹配的參考圖像資訊; 將與所述參考圖像資訊對應的身份資訊,確定為與所述採集的圖像資訊對應的身份資訊。 According to the method described in claim 1 or 2, wherein the matching of the collected image information based on the target personnel database, and determining the identity information corresponding to the collected image information includes: In the case that the target personnel database includes multiple classification databases, according to the priority order of the multiple classification databases from high to low, it is searched one by one whether there is a reference image matching the collected image information. image information until obtaining reference image information matching the collected image information; The identity information corresponding to the reference image information is determined as the identity information corresponding to the collected image information. 根據請求項8所述的方法,其中,所述分類庫包括重點關注物件程式庫、普通物件程式庫、異常物件程式庫中的一項或多項。According to the method described in Claim 8, wherein, the classification library includes one or more of a focused object library, a common object library, and an abnormal object library. 根據請求項9所述的方法,其中,在教育場景中,所述重點關注物件程式庫包括教師庫和學生庫中的至少一項; 或者,在零售場景中,所述重點關注物件程式庫包括會員庫和員工庫中的至少一項。 The method according to claim 9, wherein, in an educational setting, the focus object library includes at least one of a teacher library and a student library; Alternatively, in a retail scenario, the focused object library includes at least one of a member library and an employee library. 一種電子設備,包括:處理器和用於儲存處理器可執行指令的記憶體;其中,所述處理器被配置為調用所述記憶體儲存的指令,以執行請求項1至10中任意一項所述的方法。An electronic device, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to perform any one of request items 1 to 10 the method described. 一種電腦可讀儲存媒體,其上儲存有電腦程式指令,其中,所述電腦程式指令被處理器執行時實現請求項1至10中任意一項所述的方法。A computer-readable storage medium on which computer program instructions are stored, wherein the computer program instructions implement the method described in any one of claims 1 to 10 when executed by a processor.
TW111110509A 2021-04-27 2022-03-22 Identity recognition method electronic equipment and computer-readable storage medium TW202242715A (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
TW202242715A true TW202242715A (en) 2022-11-01

Family

ID=76780247

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111110509A TW202242715A (en) 2021-04-27 2022-03-22 Identity recognition method electronic equipment and computer-readable storage medium

Country Status (3)

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

Families Citing this family (5)

* 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
CN113822216A (en) * 2021-09-29 2021-12-21 上海商汤智能科技有限公司 Event detection method, device, system, electronic equipment and storage medium
CN114997883A (en) * 2022-04-27 2022-09-02 阿里巴巴(中国)有限公司 Object information display method, device, system, medium, and computer program product
CN118278822B (en) * 2024-05-29 2024-08-09 湖南众东信息科技有限公司 Working data acquisition method and system based on image data analysis and electronic equipment

Family Cites Families (9)

* 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
CN107886079A (en) * 2017-11-22 2018-04-06 北京旷视科技有限公司 Object identifying method, apparatus and system
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
TWI690856B (en) * 2019-01-07 2020-04-11 國立交通大學 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
CN113128437A (en) 2021-07-16
WO2022227562A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
TW202242715A (en) Identity recognition method electronic equipment and computer-readable storage medium
CN111274426B (en) Category labeling method and device, electronic equipment and storage medium
TWI780751B (en) Network training method, target detection method, electronic device and computer readable storage medium
CN110942036B (en) Person identification method and device, electronic equipment and storage medium
CN110472091B (en) Image processing method and device, electronic equipment and storage medium
WO2021093375A1 (en) Method, apparatus, and system for detecting people walking together, electronic device and storage medium
US20220084056A1 (en) Methods and apparatuses for managing visitor information, electronic devices and storage media
TW202109360A (en) Image processing method and device, electronic equipment and storage medium
CN106331761A (en) Live broadcast list display method and apparatuses
CN105488112A (en) Information pushing method and device
TWI785638B (en) Target detection method, electronic equipment and computer-readable storage medium
CN111814629A (en) Person detection method and device, electronic device and storage medium
CN104035995A (en) Method and device for generating group tags
CN111582383B (en) Attribute identification method and device, electronic equipment and storage medium
WO2023123840A1 (en) Payment method and apparatus, electronic device, storage medium, and computer program product
TW202145064A (en) Object counting method electronic equipment computer readable storage medium
TW202309772A (en) Behavior recognition method and apparatus, electronic device, and storage medium
CN112101216A (en) Face recognition method, device, equipment and storage medium
CN109101542B (en) Image recognition result output method and device, electronic device and storage medium
CN111625671A (en) Data processing method and device, electronic equipment and storage medium
CN108287873B (en) Data processing method and related product
CN112115321A (en) Training method and device of content recommendation model, electronic equipment and storage medium
CN111814627B (en) Person detection method and device, electronic device and storage medium
CN111339964B (en) Image processing method and device, electronic equipment and storage medium
TWI751593B (en) Network training method and device, image processing method and device, electronic equipment, computer readable storage medium and computer program