TWI786291B - Face recognition method, terminal device, and computer-readable storage medium - Google Patents

Face recognition method, terminal device, and computer-readable storage medium Download PDF

Info

Publication number
TWI786291B
TWI786291B TW108115547A TW108115547A TWI786291B TW I786291 B TWI786291 B TW I786291B TW 108115547 A TW108115547 A TW 108115547A TW 108115547 A TW108115547 A TW 108115547A TW I786291 B TWI786291 B TW I786291B
Authority
TW
Taiwan
Prior art keywords
face image
detection
face
specified
detection operation
Prior art date
Application number
TW108115547A
Other languages
Chinese (zh)
Other versions
TW202006595A (en
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 TW202006595A publication Critical patent/TW202006595A/en
Application granted granted Critical
Publication of TWI786291B publication Critical patent/TWI786291B/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/165Detection; Localisation; Normalisation using facial parts and geometric relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Abstract

本發明實施例提供一種人臉識別方法及終端設備,該人臉識別方法包括:獲取待識別的人臉圖像;對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 Embodiments of the present invention provide a face recognition method and a terminal device. The face recognition method includes: acquiring a face image to be recognized; performing a designated detection operation on the face image, and the designated detection operation includes glasses detection , at least one of occlusion detection and face quality evaluation detection; when the detection result of the specified detection operation is abnormal, perform a reminder operation matching the detection result.

Description

人臉識別方法、終端設備及電腦可讀儲存媒體 Face recognition method, terminal device, and computer-readable storage medium

本說明書實施例關於人臉識別技術領域,尤其關於一種人臉識別方法及終端設備。 The embodiments of this specification relate to the technical field of face recognition, and in particular to a face recognition method and a terminal device.

隨著各種支付技術的迅速發展,為了極大簡化支付過程,人臉支付應運而生。人臉支付是一種新出現的電子支付方式,該支付方式由兩部分組成:人臉識別登錄用戶錢包帳號及從錢包中扣款完成支付過程。其中,人臉識別登錄用戶錢包帳號的過程是掃描和/或拍攝用戶的臉部圖片,將該臉部圖片與用戶的錢包帳號中的留底圖片進行比對,來完成用戶身份的識別和核驗,從而完成從錢包中扣款完成支付的過程。但是,目前的人臉支付方式,在掃描和/或拍攝用戶的臉部圖片的過程中,會存在諸多影響用戶的臉部圖片的因素,從而影響用戶的身份認證及支付成功率。 With the rapid development of various payment technologies, in order to greatly simplify the payment process, face payment came into being. Face payment is a new electronic payment method, which consists of two parts: face recognition to log in to the user's wallet account and deduct money from the wallet to complete the payment process. Among them, the process of face recognition to log in to the user's wallet account is to scan and/or take a picture of the user's face, and compare the face picture with the bottom picture in the user's wallet account to complete the identification and verification of the user's identity , so as to complete the process of debiting money from the wallet to complete the payment. However, in the current face payment method, in the process of scanning and/or taking pictures of the user's face, there will be many factors that affect the user's face picture, thereby affecting the user's identity authentication and payment success rate.

本說明書實施例提供一種人臉識別方法及終端設備,用於識別影響人臉圖像的因素,確保了採用人臉圖像進行 用戶身份認證及人臉支付的成功率。 The embodiment of this specification provides a face recognition method and terminal equipment, which are used to identify factors that affect face images, ensuring that facial images are used for The success rate of user identity authentication and face payment.

本說明書實施例採用下述技術方案: The embodiment of this description adopts the following technical solutions:

第一態樣,提供了一種人臉識別方法,包括:獲取待識別的人臉圖像;對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 The first aspect provides a face recognition method, including: acquiring a face image to be recognized; performing a specified detection operation on the face image, and the specified detection operation includes glasses detection, occlusion detection, and face detection. At least one of the quality evaluation detection; when the detection result of the designated detection operation is abnormal, a reminder operation matching the detection result is executed.

第二態樣,提供了一種終端設備,包括:獲取模組,用於獲取待識別的人臉圖像;第一執行模組,用於對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;第二執行模組,用於當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 The second aspect provides a terminal device, including: an acquisition module, used to acquire a face image to be recognized; a first execution module, used to perform a specified detection operation on the face image, the The specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection; the second execution module is used to execute a reminder operation that matches the detection result when the detection result of the specified detection operation is abnormal .

第三態樣,提供了一種終端設備,包括:記憶體、處理器及儲存在所述記憶體上並可在所述處理器上運行的電腦程式,所述電腦程式被所述處理器執行時實現如下步驟:獲取待識別的人臉圖像;對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種; 當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 A third aspect provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor, when the computer program is executed by the processor The following steps are realized: acquiring a human face image to be identified; performing a specified detection operation on the human face image, and the specified detection operation includes at least one of glasses detection, occlusion detection and facial quality evaluation detection; When the detection result of the designated detection operation is abnormal, a reminder operation matching the detection result is executed.

第四態樣,提供了一種電腦可讀儲存媒體,所述電腦可讀儲存媒體上儲存有電腦程式,所述電腦程式被處理器執行時實現如下步驟:獲取待識別的人臉圖像;對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 In the fourth aspect, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the following steps are implemented: acquiring a face image to be recognized; The face image performs a specified detection operation, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection; The alert action for the result match.

本發明實施例採用的上述至少一個技術方案能夠達到以下有益效果: The above at least one technical solution adopted in the embodiment of the present invention can achieve the following beneficial effects:

本發明實施例通過對人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種。當該指定檢測操作的檢測結果異常時,即可識別到影響人臉圖像的因素,從而執行與檢測結果匹配的提醒操作,使得用戶根據提醒進行調整以排除影響人臉圖像的因素,確保了後續採用人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, a specified detection operation is performed on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection. When the detection result of the specified detection operation is abnormal, the factors affecting the face image can be identified, and a reminder operation matching the detection result is executed, so that the user can adjust according to the reminder to eliminate the factors affecting the face image, ensuring The subsequent use of face images for user identity authentication and the success rate of face payment.

另外,當指定檢測操作的檢測結果異常時,執行與檢測結果匹配的提醒操作,能夠精準引導用戶減少乃至去除影響人臉圖像的影響因素,從而保證後續用戶能順利完成整個人臉支付流程,提升全鏈路通過率。同時也是幫助用 戶學習使用人臉支付的一個過程,使用戶在感受到人臉支付的智慧性後,也會因為其獨特的用戶體驗,有利於人臉支付的普及。 In addition, when the detection result of the specified detection operation is abnormal, the reminder operation matching the detection result can be executed, which can accurately guide the user to reduce or even remove the influencing factors affecting the face image, so as to ensure that subsequent users can successfully complete the entire face payment process. Improve the pass rate of the whole link. It is also helpful It is a process for users to learn to use face payment, so that after users feel the wisdom of face payment, it will also benefit the popularization of face payment because of its unique user experience.

1:終端設備 1: terminal equipment

2:識別終端設備 2: Identify the terminal device

500:終端設備 500: terminal equipment

510:獲取模組 510: Obtain the module

520:第一執行模組 520: The first execution module

530:第二執行模組 530: The second execution module

540:第三執行模組 540: The third execution module

550:發送模組 550: send module

此處所說明的附圖用來提供對本發明的進一步理解,構成本發明的一部分,本發明的示意性實施例及其說明用於解釋本發明,並不構成對本發明的不當限定。在附圖中:圖1為本說明書的一個實施例提供的人臉識別方法流程圖;圖2為本說明書的一個實施例提供的人臉識別方法的實際應用場景實現示意圖;圖3為本說明書的一個實施例提供的人臉識別方法的實際應用場景實現流程示意圖;圖4為本說明書的一個實施例提供的人臉識別方法的實際應用場景實現系統框圖;圖5為本說明書的一個實施例提供的終端設備的結構框圖之一;圖6為本說明書的一個實施例提供的終端設備的結構框圖之二。 The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the drawings: Figure 1 is a flow chart of the face recognition method provided by an embodiment of this specification; Figure 2 is a schematic diagram of the actual application scenario of the face recognition method provided by one embodiment of this specification; Figure 3 is a schematic diagram of this specification A schematic diagram of the implementation process of the actual application scenario of the face recognition method provided by an embodiment of the specification; FIG. 4 is a block diagram of the implementation system of the actual application scenario of the face recognition method provided by an embodiment of the specification; FIG. 5 is an implementation of the specification One of the structural block diagrams of the terminal device provided in the example; FIG. 6 is the second structural block diagram of the terminal device provided in an embodiment of this specification.

為使本發明的目的、技術方案和優點更加清楚,下面 將結合本發明具體實施例及相應的附圖對本發明技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 In order to make the purpose of the present invention, technical solutions and advantages clearer, the following The technical solutions of the present invention will be clearly and completely described in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本發明實施例提供一種人臉識別方法及終端設備,用於識別影響人臉圖像的因素,確保了採用人臉圖像進行用戶身份認證及人臉支付的成功率。本發明實施例提供一種人臉識別方法,該方法的執行主體,可以但不限於終端設備或能夠被配置為執行本發明實施例提供的該方法的裝置或系統。 Embodiments of the present invention provide a face recognition method and terminal equipment, which are used to identify factors affecting face images, and ensure the success rate of user identity authentication and face payment using face images. An embodiment of the present invention provides a face recognition method. The subject of execution of the method may be, but not limited to, a terminal device or an apparatus or system that can be configured to execute the method provided by the embodiment of the present invention.

為便於描述,下文以該方法的執行主體為能夠執行該方法的終端設備為例,對該方法的實施方式進行介紹。可以理解,該方法的執行主體為終端設備只是一種示例性的說明,並不應理解為對該方法的限定。 For ease of description, the implementation of the method will be introduced below by taking the subject of execution of the method as a terminal device capable of executing the method as an example. It can be understood that the execution subject of the method is the terminal device, which is only an exemplary description, and should not be understood as a limitation of the method.

圖1為本發明實施例提供的人臉識別方法的流程圖,圖1的方法可以由終端設備執行,如圖1所示,該方法可以包括: Fig. 1 is a flowchart of a face recognition method provided by an embodiment of the present invention. The method in Fig. 1 may be executed by a terminal device, as shown in Fig. 1 , the method may include:

步驟110、獲取待識別的人臉圖像。 Step 110, acquiring a face image to be recognized.

該獲取待識別的人臉圖像的實現方式可以是通過掃描的方式獲取待識別的人臉圖像,或者,通過拍攝的方式獲取待識別的人臉圖像。本發明實施例不做具體限定。 The implementation manner of obtaining the face image to be recognized may be to obtain the face image to be recognized by scanning, or to obtain the face image to be recognized by shooting. The embodiment of the present invention does not specifically limit it.

步驟120、對所述人臉圖像執行指定檢測操作。 Step 120, performing a specified detection operation on the face image.

其中,所述指定檢測操作包括眼鏡檢測、遮擋檢測及 臉部品質評估檢測中的至少一種。 Wherein, the specified detection operation includes glasses detection, occlusion detection and At least one of face quality assessment tests.

該眼鏡檢測可以理解為眼鏡反光檢測和/或大框眼鏡檢測。 The glasses detection can be understood as glasses reflection detection and/or large-frame glasses detection.

當然,眼鏡檢測還可以為對現有技術中任一種能夠影響圖像採集的眼鏡的檢測,本發明實施例不作具體限定。 Of course, the glasses detection may also be the detection of any glasses in the prior art that can affect image acquisition, which is not specifically limited in this embodiment of the present invention.

該遮擋檢測可以理解為對臉部遮擋的檢測。 The occlusion detection can be understood as the detection of face occlusion.

該臉部品質評估檢測可以理解為對臉部的模糊度、光線強度等檢測。 The face quality evaluation detection can be understood as the detection of blurring, light intensity, etc. of the face.

步驟130、當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 Step 130, when the detection result of the specified detection operation is abnormal, perform a reminder operation matching the detection result.

該檢測結果需要根據指定檢測操作來確定。 The detection result needs to be determined according to the specified detection operation.

例如,若指定檢測操作為眼鏡檢測,則檢測結果可以為反光檢測結果;若指定檢測操作為遮擋檢測,則檢測結果可以為遮擋檢測結果;若指定檢測操作為臉部品質評估檢測,則檢測結果可以為臉部品質評估檢測結果。 For example, if the specified detection operation is glasses detection, the detection result can be the reflection detection result; if the specified detection operation is occlusion detection, the detection result can be the occlusion detection result; if the specified detection operation is face quality evaluation detection, the detection result The detection results may be evaluated for face quality.

該指定檢測操作的檢測結果異常,可理解為若檢測結果為數值,該數值大於閾值,則確定檢測結果異常;反之,則確定檢測結果正常。 If the detection result of the specified detection operation is abnormal, it can be understood that if the detection result is a numerical value and the numerical value is greater than the threshold, it is determined that the detection result is abnormal; otherwise, it is determined that the detection result is normal.

示例性的,沿用上述示例,若檢測結果為反光檢測結果,該反光檢測結果為反光機率,且該反光機率大於閾值,則確定反光檢測結果異常;若檢測結果為遮擋檢測結果,該遮擋檢測結果為遮擋機率,且該遮擋機率大於閾值,則確定遮擋檢測結果異常;若檢測結果為臉部品質評估檢測結果,該臉部品質評估檢測結果為品質問題機率, 且該品質問題機率大於閾值,則確定臉部品質評估檢測結果異常。其中,該閾值可以根據實際應用場景的實際情況確定,本發明實施例在此不做限定。 Exemplarily, following the above example, if the detection result is a reflection detection result, the reflection detection result is a reflection probability, and the reflection probability is greater than a threshold, it is determined that the reflection detection result is abnormal; if the detection result is an occlusion detection result, the occlusion detection result is the occlusion probability, and the occlusion probability is greater than the threshold, then it is determined that the occlusion detection result is abnormal; if the detection result is the face quality evaluation detection result, the face quality evaluation detection result is the quality problem probability, And if the probability of the quality problem is greater than the threshold, it is determined that the detection result of the face quality assessment is abnormal. Wherein, the threshold may be determined according to the actual situation of the actual application scenario, which is not limited in this embodiment of the present invention.

該提醒操作需要根據檢測結果來確定。 The reminding operation needs to be determined according to the detection result.

沿用上述示例,若檢測結果為反光檢測結果,則提醒操作可以為提醒用戶摘掉眼鏡的操作;若檢測結果為遮擋檢測結果,則提醒操作可以為提醒用戶去掉遮擋的操作;若檢測結果為臉部品質評估檢測結果,則提醒操作可以為提醒用戶調整圖像採集角度的操作。 Using the above example, if the detection result is a reflective detection result, the reminder operation can be an operation to remind the user to take off the glasses; if the detection result is an occlusion detection result, the reminder operation can be an operation to remind the user to remove the occlusion; if the detection result is a face If the result of the internal quality assessment is determined, the reminding operation may be an operation of reminding the user to adjust the image acquisition angle.

示例性的,若臉部品質評估檢測結果為失焦模糊,則提醒用戶拍照時做好聚焦;若臉部品質評估檢測結果為運動模糊,則提醒用戶拍照時不要晃動;若臉部品質評估檢測結果為光線不足,則提醒用戶開啟照明燈或選擇光線好的位置進行拍照。 For example, if the face quality evaluation detection result is out of focus and blurred, the user is reminded to focus when taking pictures; if the face quality evaluation detection result is motion blur, the user is reminded not to shake when taking pictures; if the face quality evaluation detection If the result is insufficient light, the user is reminded to turn on the light or choose a location with good light to take a photo.

本發明實施例通過對人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種。當該指定檢測操作的檢測結果異常時,即可識別到影響人臉圖像的因素,從而執行與檢測結果匹配的提醒操作,使得用戶根據提醒進行調整以排除影響人臉圖像的因素,確保了後續採用人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, a specified detection operation is performed on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection. When the detection result of the specified detection operation is abnormal, the factors affecting the face image can be identified, and a reminder operation matching the detection result is executed, so that the user can adjust according to the reminder to eliminate the factors affecting the face image, ensuring The subsequent use of face images for user identity authentication and the success rate of face payment.

另外,當指定檢測操作的檢測結果異常時,執行與檢測結果匹配的提醒操作,能夠精準引導用戶減少乃至去除影響人臉圖像的影響因素,從而保證後續用戶能順利完成 整個人臉支付流程,提升全鏈路通過率。同時也是幫助用戶學習使用人臉支付的一個過程,使用戶在感受到人臉支付的智慧性後,也會因為其獨特的用戶體驗,有利於人臉支付的普及。 In addition, when the detection result of the specified detection operation is abnormal, the reminder operation matching the detection result can be executed, which can accurately guide the user to reduce or even remove the influencing factors affecting the face image, so as to ensure that subsequent users can successfully complete the The entire face payment process improves the pass rate of the entire link. At the same time, it is also a process to help users learn to use face payment, so that after users feel the wisdom of face payment, it will also benefit the popularization of face payment because of its unique user experience.

可選的,作為一個實施例,若所述指定檢測操作為眼鏡檢測,則步驟120具體可實現為:將所述人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,所述反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到的。 Optionally, as an embodiment, if the specified detection operation is eyeglass detection, step 120 may specifically be implemented as: using the face image as the input of the reflection detection model to obtain the output reflection detection result; wherein , the reflection detection model is trained based on a predetermined number of reflection face image samples and/or non-reflection face image samples.

其中,所述具有反光的人臉圖像樣本可以包括眼鏡反光的人臉圖像樣本和具有黑邊框眼鏡的人臉圖像樣本中的至少一種;所述無反光的人臉圖像樣本可以包括配戴普通眼鏡的人臉圖像樣本和無眼鏡的人臉圖像樣本中的至少一種。 Wherein, the face image samples with reflections may include at least one of face image samples with reflections from glasses and face image samples with glasses with black borders; the face image samples without reflections may include At least one of face image samples wearing ordinary glasses and face image samples without glasses.

假設,具有反光的人臉圖像樣本包括眼鏡反光的人臉圖像樣本和具有黑邊框眼鏡的人臉圖像樣本,無反光的人臉圖像樣本包括配戴普通眼鏡的人臉圖像樣本和無眼鏡的人臉圖像樣本。 Assume that the face image samples with reflections include the face image samples with glasses reflection and the face image samples with black frame glasses, and the face image samples without reflection include the face image samples with ordinary glasses and face image samples without glasses.

本步驟中,該反光檢測模型獲得可以為:首先,訓練資料中大概包括4類人臉圖像樣本,分別為眼鏡反光的人臉圖像樣本、具有黑邊框眼鏡的人臉圖像樣本、配戴普通眼鏡的人臉圖像樣本和無眼鏡的人臉圖像樣本,在同一類 別下分別選取一千張圖像;然後,通過4個類別的各一千張人臉圖像樣本訓練得到反光檢測模型。其中,如何通過4個類別的各一千張人臉圖像樣本訓練得到反光檢測模型,屬於現有技術,本發明實施例不再贅述。 In this step, the reflective detection model can be obtained as follows: First, the training data roughly includes 4 types of face image samples, which are respectively face image samples with reflective glasses, face image samples with black frame glasses, and face image samples with matching glasses. Face image samples wearing ordinary glasses and face image samples without glasses, in the same class Next, one thousand images are selected respectively; then, the reflection detection model is obtained by training one thousand face image samples of each of the four categories. Wherein, how to obtain the reflective detection model through the training of 1,000 face image samples of each of the 4 categories belongs to the prior art, and will not be repeated in the embodiments of the present invention.

本發明實施例,通過預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到反光檢測模型,再將人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果,根據反光檢測結果確定該人臉圖像的是否存在反光因素,有效避免了採集的人臉圖像受反光因素的影響,進而確保了後續採用該人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, the reflective detection model is obtained by training a predetermined number of reflective face image samples and/or non-reflective face image samples, and then the human face image is used as the input of the reflective detection model to obtain an output According to the reflective detection results, determine whether there are reflective factors in the face image according to the reflective detection results, effectively avoiding the influence of reflective factors on the collected face images, thereby ensuring that the subsequent use of the face image for user authentication And the success rate of face payment.

可選的,作為一個實施例,所述指定檢測操作為遮擋檢測,則步驟120具體可實現為:將所述人臉圖像作為遮擋檢測模型的輸入,以得到輸出的遮擋檢測結果;其中,所述遮擋檢測模型是基於預定數量的具有遮擋的人臉圖像樣本和/或無遮擋的人臉圖像樣本訓練得到的。 Optionally, as an embodiment, the specified detection operation is occlusion detection, and step 120 may specifically be implemented as: using the face image as an input of the occlusion detection model to obtain an output occlusion detection result; wherein, The occlusion detection model is trained based on a predetermined number of occluded human face image samples and/or non-occluded human face image samples.

其中,所述具有遮擋的人臉圖像樣本可以包括手遮擋人臉的人臉圖像樣本、瀏海擋人臉的人臉圖像樣本、帽子擋人臉的人臉圖像樣本和口罩擋人臉的人臉圖像樣本中的至少一種。 Wherein, the face image samples with occlusion may include face image samples with hands occluding faces, face image samples with bangs occluding faces, face image samples with hats occluding faces, and masks occluding faces. At least one of human face image samples of a human face.

假設,具有遮擋的人臉圖像樣本包括手遮擋人臉的人臉圖像樣本、瀏海擋人臉的人臉圖像樣本、帽子擋人臉的 人臉圖像樣本和口罩擋人臉的人臉圖像樣本。 Assume that the face image samples with occlusion include face image samples with hands covering faces, face image samples with bangs covering faces, and hats covering faces. Face image samples and face image samples with masks blocking faces.

本步驟中,該遮擋檢測模型獲得可以為:首先,訓練資料中大概包括5類人臉圖像樣本,分別為手遮擋人臉的人臉圖像樣本、瀏海擋人臉的人臉圖像樣本、帽子擋人臉的人臉圖像樣本、口罩擋人臉的人臉圖像樣本和無遮擋的人臉圖像樣本,在同一類別下分別選取一千張圖像;然後,通過5個類別的各一千張人臉圖像樣本訓練得到遮擋檢測模型。其中,如何通過5個類別的各一千張人臉圖像樣本訓練得到遮擋檢測模型,屬於現有技術,本發明實施例不再贅述。 In this step, the occlusion detection model can be obtained as follows: First, the training data includes about 5 types of face image samples, which are face image samples with hands occluding faces, and face images with bangs occluding faces Samples, face image samples with hats blocking faces, face image samples with masks blocking faces, and face image samples without occlusion, respectively select a thousand images under the same category; then, through 5 One thousand face image samples of each category are trained to obtain an occlusion detection model. Wherein, how to obtain an occlusion detection model through training of 1,000 face image samples of each of the 5 categories belongs to the prior art, and will not be described in detail in the embodiments of the present invention.

本發明實施例,通過預定數量的具有遮擋的人臉圖像樣本和/或無遮擋的人臉圖像樣本訓練得到遮擋檢測模型,再將人臉圖像作為遮擋檢測模型的輸入,以得到輸出的遮擋檢測結果,根據遮擋檢測結果確定該人臉圖像的是否存在遮擋因素,有效避免了採集的人臉圖像受遮擋因素的影響,進而確保了後續採用該人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, the occlusion detection model is obtained by training a predetermined number of face image samples with occlusion and/or face image samples without occlusion, and then the face image is used as the input of the occlusion detection model to obtain an output Based on the occlusion detection results, it is determined whether there are occlusion factors in the face image according to the occlusion detection results, which effectively avoids the influence of occlusion factors on the collected face images, thereby ensuring that the subsequent use of the face image for user identity authentication And the success rate of face payment.

可選的,作為一個實施例,若所述指定檢測操作為臉部品質評估檢測,則步驟120具體可實現為:將所述人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果;其中,所述臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 Optionally, as an embodiment, if the designated detection operation is face quality evaluation detection, step 120 can be specifically implemented as: using the face image as the input of the face quality evaluation detection model to obtain an output The facial quality assessment detection result; wherein, the facial quality assessment detection model is obtained by training based on a predetermined number of blurred human face image samples and/or clear human face image samples.

其中,所述模糊的人臉圖像樣本可以包括失焦模糊的人臉圖像樣本、運動模糊的人臉圖像樣本和光線不足的人臉圖像樣本中的至少一種。 Wherein, the blurred human face image samples may include at least one of out-of-focus and blurred human face image samples, motion blurred human face image samples and poorly lit human face image samples.

假設,模糊的人臉圖像樣本包括失焦模糊的人臉圖像樣本、運動模糊的人臉圖像樣本和光線不足的人臉圖像樣本。 It is assumed that the blurred face image samples include out-of-focus and blurred face image samples, motion blurred face image samples and insufficient light face image samples.

本步驟中,該臉部品質評估檢測模型獲得可以為:首先,訓練資料中大概包括4類人臉圖像樣本,分別為失焦模糊的人臉圖像樣本、運動模糊的人臉圖像樣本、光線不足的人臉圖像樣本和清晰的人臉圖像樣本,在同一類別下分別選取一千張圖像;然後,通過4個類別的各一千張人臉圖像樣本訓練得到臉部品質評估檢測模型。其中,如何通過4個類別的各一千張人臉圖像樣本訓練得到臉部品質評估檢測模型,屬於現有技術,本發明實施例不再贅述。 In this step, the face quality assessment and detection model can be obtained as follows: First, the training data roughly includes 4 types of face image samples, which are out-of-focus and blurred face image samples, and motion blurred face image samples , low-light face image samples and clear face image samples, respectively select one thousand images under the same category; then, get the face Quality assessment detection model. Wherein, how to obtain a face quality assessment and detection model through training of 1,000 face image samples of each of the 4 categories belongs to the prior art, and will not be described in detail in the embodiments of the present invention.

本發明實施例,通過預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到臉部品質評估檢測模型,再將人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果,根據臉部品質評估檢測結果確定該人臉圖像的是否存在光線不足、運動或失焦等因素,有效避免了採集的人臉圖像受上述因素的影響,進而確保了後續採用該人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, the facial quality assessment and detection model is obtained by training a predetermined number of fuzzy human face image samples and/or clear human face image samples, and then the human face image is used as the input of the facial quality assessment and detection model , to obtain the output face quality evaluation detection result, and determine whether there are factors such as insufficient light, motion or out-of-focus in the face image according to the face quality evaluation detection result, effectively avoiding the collected face image from being affected by the above factors The impact of the face image, thereby ensuring the subsequent success rate of using the face image for user identity authentication and face payment.

可選的,作為一個實施例,步驟110具體可實現為:第一步,確定採集的人臉圖像位於終端設備上顯示介 面的取景框中;第二步,若所述取景框中的人臉圖像所在區域占整個所述顯示介面的比例滿足閾值,則確定所述人臉圖像為待識別的人臉圖像。 Optionally, as an embodiment, step 110 may specifically be implemented as: the first step, determine that the collected face image is located on the display interface of the terminal device In the viewfinder frame of the face; in the second step, if the proportion of the area where the face image in the viewfinder is located in the entire display interface meets the threshold, then determine that the face image is the face image to be recognized .

該閾值可以根據實際需求設置,本發明實施例不作具體限定。該閾值與上述實施例中所述的閾值可以相同也可以不同。 The threshold can be set according to actual requirements, and is not specifically limited in this embodiment of the present invention. The threshold may be the same as or different from the threshold described in the foregoing embodiments.

具體實施時,第一步具體可實現為:預先基於人臉圖像樣本訓練得到人臉檢測模型;將人臉圖像作為人臉檢測模型的輸入,以得到輸出的人臉檢測結果;若該人臉檢測結果正常,則確定該人臉圖像位於終端設備上顯示介面的取景框中;若該人臉檢測結果異常,則提醒用戶執行重新採集人臉圖像操作。 During specific implementation, the first step can be specifically implemented as: obtaining a face detection model based on face image sample training in advance; using the face image as the input of the face detection model to obtain the output face detection result; if the If the face detection result is normal, it is determined that the face image is located in the viewfinder of the display interface on the terminal device; if the face detection result is abnormal, the user is reminded to perform the operation of re-collecting the face image.

示例性的,若人臉檢測結果為人臉圖像的區域座標,則判斷該區域座標是否落入預先設定的取景框對應的座標集中;若是,則確定該人臉圖像位於終端設備上顯示介面的取景框中;若否,則提醒用戶將臉部放入取景框中並進行重新採集人臉圖像的操作,如圖2所示。 Exemplarily, if the face detection result is the area coordinates of the face image, it is judged whether the area coordinates fall into the coordinate set corresponding to the preset viewfinder frame; if so, it is determined that the face image is located on the terminal device If not, the user is reminded to put the face in the viewfinder and perform the operation of recapturing the face image, as shown in Figure 2.

在執行第二步之前,還包括;第三步,獲取所述人臉圖像所在區域的區域座標;第四步,基於所述區域座標和整個所述顯示介面的尺寸,確定所述人臉圖像所在區域在整個所述顯示介面的占比。 Before executing the second step, it also includes; the third step is to obtain the area coordinates of the area where the human face image is located; the fourth step is to determine the human face based on the area coordinates and the size of the entire display interface The proportion of the area where the image is located in the entire display interface.

這裡需要補充的是,若所述取景框中的人臉圖像所在 區域占整個所述顯示介面的比例不滿足閾值,則提醒用戶執行調整操作。 What needs to be added here is that if the face image in the viewfinder is located If the ratio of the area to the entire display interface does not meet the threshold, the user is reminded to perform an adjustment operation.

本發明實施例,通過確定採集的人臉圖像位於終端設備上顯示介面的取景框中,若該取景框中的人臉圖像所在區域占整個顯示介面的比例滿足閾值,則確定人臉圖像為待識別的人臉圖像,為後續對該人臉圖像執行指定檢測操作提供了前提,確保了待識別的人臉圖像的品質。 In the embodiment of the present invention, by determining that the collected face image is located in the viewing frame of the display interface on the terminal device, if the proportion of the area where the face image in the viewing frame is located in the entire display interface satisfies the threshold, then determine the face image The image is the face image to be recognized, which provides a prerequisite for the subsequent specified detection operation on the face image, and ensures the quality of the face image to be recognized.

可選的,作為一個實施例,當所述指定檢測操作的檢測結果正常時,本發明實施例提供的人臉識別方法還可以包括:執行所述指定檢測操作之後的下一個指定檢測操作,可理解為,當眼鏡檢測對應的反光檢測結果正常時,可執行遮擋檢測;當遮擋檢測對應的遮擋檢測結果正常時,可執行臉部品質評估檢測。其中,眼鏡檢測、遮擋檢測及臉部品質評估檢測三者的檢測順序可以是任意的,本發明實施例不做限定。或者,將所述待識別的人臉圖像發送至識別終端設備,可理解為,當指定檢測操作的檢測結果正常時,將待識別的人臉圖像發送至識別終端設備。該識別終端設備可將該人臉圖像與預先儲存的人臉圖像進行比對,若兩者的相似度值大於預定數值,則確定用戶身份認證通過並從錢包中扣款完成支付操作。其中,預定數值需要根據實際需求設置,本發明實施例不做具體限定。 Optionally, as an embodiment, when the detection result of the specified detection operation is normal, the face recognition method provided in the embodiment of the present invention may further include: performing the next specified detection operation after the specified detection operation, which may be It is understood that, when the reflection detection result corresponding to the glasses detection is normal, the occlusion detection can be performed; when the occlusion detection result corresponding to the occlusion detection is normal, the face quality evaluation detection can be performed. Wherein, the detection order of glasses detection, occlusion detection, and face quality evaluation detection can be arbitrary, which is not limited in this embodiment of the present invention. Alternatively, sending the face image to be recognized to the recognition terminal device may be understood as sending the face image to be recognized to the recognition terminal device when the detection result of the specified detection operation is normal. The identification terminal device can compare the face image with the pre-stored face image, and if the similarity value between the two is greater than a predetermined value, it will determine that the user identity authentication is passed and deduct money from the wallet to complete the payment operation. Wherein, the predetermined value needs to be set according to actual requirements, and is not specifically limited in this embodiment of the present invention.

示例性的,該識別終端設備將該人臉圖像與預先儲存 的人臉圖像進行比對,具體可實現為;獲取人臉圖像的人臉區域的圖像資訊,及預先儲存的人臉圖像的人臉區域的圖像資訊,將兩個圖像資訊進行比對,基於兩個圖像資訊中的相似特徵,確定人臉圖像與預先儲存的人臉圖像的相似度值。其中,預先儲存的人臉圖像可以是識別終端設備內部預先儲存的與用戶錢包帳號對應的人臉圖像,也可以是根據與用戶錢包帳號對應的用戶身份證號碼,在官方官網系統獲取的人臉圖像。 Exemplarily, the recognition terminal device compares the face image with the pre-stored The comparison of the face images can be specifically realized as follows: obtaining the image information of the face area of the face image and the image information of the face area of the pre-stored face image, and combining the two images The information is compared, and based on the similar features in the two image information, the similarity value between the face image and the pre-stored face image is determined. Among them, the pre-stored face image can be the face image corresponding to the user's wallet account stored in advance in the identification terminal device, or it can be obtained from the official website system according to the user's ID number corresponding to the user's wallet account. face image.

本發明實施例,當指定檢測操作的檢測結果正常時,執行指定檢測操作之後的下一個指定檢測操作,有效排除了待識別的人臉圖像中存在的影響因素,確保了待識別的人臉圖像的品質,為後續採用人臉圖像進行用戶身份認證及人臉支付的成功率提供了保障。 In the embodiment of the present invention, when the detection result of the specified detection operation is normal, the next specified detection operation after the specified detection operation is performed, effectively eliminating the influencing factors existing in the face image to be recognized, and ensuring the detection of the face to be recognized. The quality of the image provides a guarantee for the subsequent use of face images for user identity authentication and the success rate of face payment.

另外,當指定檢測操作的檢測結果正常時,將待識別的人臉圖像發送至識別終端設備,由識別終端設備基於待識別的人臉圖像進行用戶身份認證及人臉支付,確保了採用人臉圖像進行用戶身份認證及人臉支付的成功率。 In addition, when the detection result of the specified detection operation is normal, the face image to be recognized is sent to the recognition terminal device, and the recognition terminal device performs user identity authentication and face payment based on the face image to be recognized, ensuring the adoption of The success rate of face image authentication and face payment.

下面將結合具體的實施例,對本發明實施例的方法做進一步的描述。 The method in the embodiment of the present invention will be further described below in combination with specific embodiments.

圖3示出了本發明實施例提供的人臉識別方法在實際應用場景下的流程圖;圖4示出了本發明實施例提供的人臉識別方法在實際應用場景下的系統框圖;示例性的,用戶人臉識別登錄用戶錢包帳號進行人臉支付,結合圖3和圖4所示: Fig. 3 shows the flow chart of the face recognition method provided by the embodiment of the present invention in an actual application scenario; Fig. 4 shows a system block diagram of the face recognition method provided by the embodiment of the present invention in an actual application scenario; example Specifically, the user's face recognition logs in to the user's wallet account for face payment, as shown in Figure 3 and Figure 4:

在310,終端設備1上提示用戶輸入用戶手機號。用戶在終端設備1上輸入手機號後,終端設備1將該用戶手機號發送至識別終端設備。 At 310, the terminal device 1 prompts the user to input the user's mobile phone number. After the user enters the mobile phone number on the terminal device 1, the terminal device 1 sends the user's mobile phone number to the identification terminal device.

在320,識別終端設備2接收到用戶手機號,並基於用戶手機號查找用戶錢包帳號,若查找到,執行步驟330;否則,執行步驟340。 At 320, the identification terminal device 2 receives the user's mobile phone number, and searches for the user's wallet account based on the user's mobile phone number, and if found, executes step 330; otherwise, executes step 340.

在340,識別終端設備2提示用戶進行新用戶註冊。 At 340, the identification terminal device 2 prompts the user for new user registration.

在330,終端設備1採集人臉圖像。 At 330, the terminal device 1 collects a face image.

在350,終端設備1確定該人臉圖像是否為待識別的人臉圖像;若是,則執行步驟360;若否,則執行步驟330。 At 350, the terminal device 1 determines whether the face image is a face image to be recognized; if yes, execute step 360; if not, execute step 330.

其中,終端設備1確定該人臉圖像是否為待識別的人臉圖像,具體實現可以參加上述實施例中的相關內容,本發明實施例不再贅述。 Wherein, the terminal device 1 determines whether the face image is a face image to be recognized, and the specific implementation may refer to relevant content in the above-mentioned embodiments, and the embodiments of the present invention will not be repeated.

在360,終端設備1對人臉圖像執行指定檢測操作,該指定檢測操作為眼鏡檢測。當所述指定檢測操作的檢測結果異常時,執行步驟361;當所述指定檢測操作的檢測結果正常時,執行步驟370或390。 At 360, the terminal device 1 performs a specified detection operation on the face image, and the specified detection operation is glasses detection. When the detection result of the designated detection operation is abnormal, execute step 361; when the detection result of the designated detection operation is normal, execute step 370 or 390.

在361,終端設備1執行與檢測結果匹配的提醒操作,示例性的,提醒用戶摘下眼鏡。 At 361, the terminal device 1 performs a reminding operation matching the detection result, for example, reminding the user to take off the glasses.

在370,終端設備1對人臉圖像執行指定檢測操作,該指定檢測操作為遮擋檢測。當所述指定檢測操作的檢測結果異常時,執行步驟371;當所述指定檢測操作的檢測結果正常時,執行步驟380或390。 At 370, the terminal device 1 performs a designated detection operation on the face image, and the designated detection operation is occlusion detection. When the detection result of the designated detection operation is abnormal, execute step 371; when the detection result of the designated detection operation is normal, execute step 380 or 390.

在371,終端設備1執行與檢測結果匹配的提醒操作, 示例性的,提醒用戶去除遮擋。 At 371, the terminal device 1 performs a reminder operation matching the detection result, Exemplarily, the user is reminded to remove the occlusion.

在380,終端設備1對人臉圖像執行指定檢測操作,該指定檢測操作為臉部品質評估檢測。當所述指定檢測操作的檢測結果異常時,執行步驟381;當所述指定檢測操作的檢測結果正常時,執行步驟390。 At 380, the terminal device 1 performs a designated detection operation on the face image, and the designated detection operation is a face quality evaluation detection. When the detection result of the specified detection operation is abnormal, perform step 381; when the detection result of the specified detection operation is normal, perform step 390.

在381,終端設備1執行與檢測結果匹配的提醒操作,示例性的,提醒調整圖像採集角度。 At 381, the terminal device 1 performs a reminder operation matching the detection result, for example, reminds to adjust the image acquisition angle.

在390,識別終端設備2接收終端設備1發送的待識別的人臉圖像,並將該人臉圖像與預先儲存的人臉圖像進行比對;若兩者的相似度大於預定數值,則執行391;若否,執行步驟330。 At 390, the recognition terminal device 2 receives the face image to be recognized sent by the terminal device 1, and compares the face image with the pre-stored face image; if the similarity between the two is greater than a predetermined value, Then go to step 391; if not, go to step 330.

在391,用戶身份認證通過並從錢包中扣款完成支付操作。 At 391, the user identity authentication is passed and the payment operation is completed by deducting money from the wallet.

本發明實施例通過對人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種。當該指定檢測操作的檢測結果異常時,即可識別到影響人臉圖像的因素,從而執行與檢測結果匹配的提醒操作,使得用戶根據提醒進行調整以排除影響人臉圖像的因素,確保了後續採用人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, a specified detection operation is performed on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection. When the detection result of the specified detection operation is abnormal, the factors affecting the face image can be identified, and a reminder operation matching the detection result is executed, so that the user can adjust according to the reminder to eliminate the factors affecting the face image, ensuring The subsequent use of face images for user identity authentication and the success rate of face payment.

另外,當指定檢測操作的檢測結果異常時,執行與檢測結果匹配的提醒操作,能夠精準引導用戶減少乃至去除影響人臉圖像的影響因素,從而保證後續用戶能順利完成整個人臉支付流程,提升全鏈路通過率。同時也是幫助用 戶學習使用人臉支付的一個過程,使用戶在感受到人臉支付的智慧性後,也會因為其獨特的用戶體驗,有利於人臉支付的普及。 In addition, when the detection result of the specified detection operation is abnormal, the reminder operation matching the detection result can be executed, which can accurately guide the user to reduce or even remove the influencing factors affecting the face image, so as to ensure that subsequent users can successfully complete the entire face payment process. Improve the pass rate of the whole link. It is also helpful It is a process for users to learn to use face payment, so that after users feel the wisdom of face payment, it will also benefit the popularization of face payment because of its unique user experience.

以上,結合圖1至圖4詳細說明了本發明實施例的人臉識別方法,下面,結合圖5,詳細說明本發明實施例的終端設備。 Above, the face recognition method of the embodiment of the present invention is described in detail with reference to FIG. 1 to FIG. 4 . Next, the terminal device of the embodiment of the present invention is described in detail with reference to FIG. 5 .

圖5示出了本發明實施例提供的終端設備的結構示意圖,如圖5所示,該終端設備500可以包括:獲取模組510,用於獲取待識別的人臉圖像;第一執行模組520,用於對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;第二執行模組530,用於當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 FIG. 5 shows a schematic structural diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 5 , the terminal device 500 may include: an acquisition module 510 for acquiring a face image to be recognized; a first execution module The group 520 is used to perform a specified detection operation on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection and face quality evaluation detection; the second execution module 530 is used for when the specified detection operation When the detection result of the specified detection operation is abnormal, a reminder operation matching the detection result is executed.

在一種實施例中,若所述指定檢測操作為眼鏡檢測,則所述第一執行模組520可以包括:第一輸入單元,用於將所述人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,所述反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到的。 In one embodiment, if the specified detection operation is glasses detection, the first execution module 520 may include: a first input unit, configured to use the human face image as an input of the reflection detection model to Obtain the output reflection detection result; wherein, the reflection detection model is obtained by training based on a predetermined number of reflection face image samples and/or non-reflection face image samples.

在一種實施例中,所述具有反光的人臉圖像樣本包括眼鏡反光的人臉圖像樣本和具有黑邊框眼鏡的人臉圖像樣本中的至少一種;所述無反光的人臉圖像樣本包括配戴普 通眼鏡的人臉圖像樣本和無眼鏡的人臉圖像樣本中的至少一種。 In one embodiment, the face image samples with reflections include at least one of face image samples with reflections from glasses and face image samples with glasses with black borders; the face images without reflections Samples include Depp At least one of face image samples without glasses and face image samples without glasses.

在一種實施例中,若所述指定檢測操作為遮擋檢測,則所述第一執行模組520可以包括:第二輸入單元,用於將所述人臉圖像作為遮擋檢測模型的輸入,以得到輸出的遮擋檢測結果;其中,所述遮擋檢測模型是基於預定數量的具有遮擋的人臉圖像樣本和/或無遮擋的人臉圖像樣本訓練得到的。 In one embodiment, if the specified detection operation is occlusion detection, the first execution module 520 may include: a second input unit, configured to use the human face image as an input of the occlusion detection model to An output occlusion detection result is obtained; wherein, the occlusion detection model is trained based on a predetermined number of occlusion face image samples and/or non-occlusion face image samples.

在一種實施例中,所述具有遮擋的人臉圖像樣本包括手遮擋人臉的人臉圖像樣本、瀏海擋人臉的人臉圖像樣本、帽子擋人臉的人臉圖像樣本和口罩擋人臉的人臉圖像樣本中的至少一種。 In one embodiment, the face image samples with occlusion include face image samples with hands covering faces, face image samples with bangs covering faces, and face image samples with hats covering faces and at least one of face image samples in which the face is blocked by a mask.

在一種實施例中,若所述指定檢測操作為臉部品質評估檢測,則所述第一執行模組520可以包括:第三輸入單元,用於將所述人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果;其中,所述臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 In one embodiment, if the specified detection operation is face quality evaluation detection, the first execution module 520 may include: a third input unit, configured to use the human face image as a facial quality evaluation The input of the detection model to obtain the output face quality assessment detection result; wherein, the facial quality assessment detection model is obtained based on a predetermined number of fuzzy face image samples and/or clear face image samples training of.

在一種實施例中,所述模糊的人臉圖像樣本包括失焦模糊的人臉圖像樣本、運動模糊的人臉圖像樣本和光線不足的人臉圖像樣本中的至少一種。 In one embodiment, the blurred human face image samples include at least one of out-of-focus blurred human face image samples, motion blurred human face image samples, and poorly lit human face image samples.

在一種實施例中,所述獲取模組510可以包括:第一確定單元,用於確定採集的人臉圖像位於終端設備上顯示介面的取景框中;第二確定單元,用於若所述取景框中的人臉圖像所在區域占整個所述顯示介面的比例滿足閾值,則確定所述人臉圖像為待識別的人臉圖像。 In one embodiment, the acquiring module 510 may include: a first determining unit, configured to determine that the captured face image is located in the viewfinder frame of the display interface on the terminal device; a second determining unit, configured if the If the proportion of the region where the face image in the viewfinder is located in the entire display interface satisfies a threshold, then the face image is determined to be the face image to be recognized.

在一種實施例中,所述獲取模組510還可以包括:獲取單元,用於獲取所述人臉圖像所在區域的區域座標;第三確定單元,用於基於所述區域座標和整個所述顯示介面的尺寸,確定所述人臉圖像所在區域在整個所述顯示介面的占比。 In one embodiment, the acquisition module 510 may further include: an acquisition unit, configured to acquire the area coordinates of the area where the face image is located; a third determination unit, configured to obtain the area coordinates based on the area coordinates and the entire The size of the display interface determines the proportion of the area where the face image is located in the entire display interface.

在一種實施例中,所述終端設備還可以包括:第三執行模組540,用於當所述指定檢測操作的檢測結果正常時,執行所述指定檢測操作之後的下一個指定檢測操作;或者,發送模組550,用於將所述待識別的人臉圖像發送至識別終端設備。 In an embodiment, the terminal device may further include: a third execution module 540, configured to execute the next designated detection operation after the designated detection operation when the detection result of the designated detection operation is normal; or , a sending module 550, configured to send the face image to be recognized to the recognition terminal device.

本發明實施例通過對人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種。當該指定檢測操作的檢測結果異常時,即可識別到影響人臉圖像的因素,從而執行與檢測結果匹配的提醒操作,使得用戶根據提醒進行調整以排除影響人臉圖像的因素,確保了後續採用人臉圖像進行用戶身份認 證及人臉支付的成功率。 In the embodiment of the present invention, a specified detection operation is performed on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection. When the detection result of the specified detection operation is abnormal, the factors affecting the face image can be identified, and a reminder operation matching the detection result is executed, so that the user can adjust according to the reminder to eliminate the factors affecting the face image, ensuring The subsequent use of face images for user identity authentication The success rate of card and face payment.

另外,當指定檢測操作的檢測結果異常時,執行與檢測結果匹配的提醒操作,能夠精準引導用戶減少乃至去除影響人臉圖像的影響因素,從而保證後續用戶能順利完成整個人臉支付流程,提升全鏈路通過率。同時也是幫助用戶學習使用人臉支付的一個過程,使用戶在感受到人臉支付的智慧性後,也會因為其獨特的用戶體驗,有利於人臉支付的普及。 In addition, when the detection result of the specified detection operation is abnormal, the reminder operation matching the detection result can be executed, which can accurately guide the user to reduce or even remove the influencing factors affecting the face image, so as to ensure that subsequent users can successfully complete the entire face payment process. Improve the pass rate of the whole link. At the same time, it is also a process to help users learn to use face payment, so that after users feel the wisdom of face payment, it will also benefit the popularization of face payment because of its unique user experience.

圖6是本說明書的一個實施例提供的終端設備的結構示意圖。請參考圖6,在硬體層面,該終端設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非易失性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該終端設備還可能包括其他業務所需要的硬體。 Fig. 6 is a schematic structural diagram of a terminal device provided by an embodiment of this specification. Please refer to FIG. 6 , at the hardware level, the terminal device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory Wait. Of course, the terminal equipment may also include hardware required by other services.

處理器、網路介面和記憶體可以通過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,外設部件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖6中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 The processor, network interface, and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus row or EISA (Extended Industry Standard Architecture, extended industry standard architecture) busbar, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one double-headed arrow is used in FIG. 6 , but it does not mean that there is only one bus bar or one type of bus bar.

記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非易失性記憶體,並向處理器提供指令和資料。 Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. Memory, which can include both internal and non-volatile memory, provides instructions and data to the processor.

處理器從非易失性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成資源增值物件與資源物件的關聯裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作:獲取待識別的人臉圖像;對所述人臉圖像執行指定檢測操作,所述指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當所述指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作。 The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an association device between resource value-added objects and resource objects on a logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations: acquire a face image to be recognized; perform a designated detection operation on the face image, and the designated detection operation includes glasses detection, occlusion At least one of detection and face quality evaluation detection; when the detection result of the specified detection operation is abnormal, perform a reminder operation matching the detection result.

本發明實施例通過對人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種。當該指定檢測操作的檢測結果異常時,即可識別到影響人臉圖像的因素,從而執行與檢測結果匹配的提醒操作,使得用戶根據提醒進行調整以排除影響人臉圖像的因素,確保了後續採用人臉圖像進行用戶身份認證及人臉支付的成功率。 In the embodiment of the present invention, a specified detection operation is performed on the face image, and the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection. When the detection result of the specified detection operation is abnormal, the factors affecting the face image can be identified, and a reminder operation matching the detection result is executed, so that the user can adjust according to the reminder to eliminate the factors affecting the face image, ensuring The subsequent use of face images for user identity authentication and the success rate of face payment.

另外,當指定檢測操作的檢測結果異常時,執行與檢測結果匹配的提醒操作,能夠精準引導用戶減少乃至去除影響人臉圖像的影響因素,從而保證後續用戶能順利完成整個人臉支付流程,提升全鏈路通過率。同時也是幫助用 戶學習使用人臉支付的一個過程,使用戶在感受到人臉支付的智慧性後,也會因為其獨特的用戶體驗,有利於人臉支付的普及。 In addition, when the detection result of the specified detection operation is abnormal, the reminder operation matching the detection result can be executed, which can accurately guide the user to reduce or even remove the influencing factors affecting the face image, so as to ensure that subsequent users can successfully complete the entire face payment process. Improve the pass rate of the whole link. It is also helpful It is a process for users to learn to use face payment, so that after users feel the wisdom of face payment, it will also benefit the popularization of face payment because of its unique user experience.

上述如本說明書圖1所示實施例揭示的人臉識別方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以通過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立閘或者電晶體邏輯裝置、分立硬體元件。可以實現或者執行本說明書一個或多個實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、暫存器等本領域成熟的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 The above face recognition method disclosed in the embodiment shown in FIG. 1 of this specification may be applied to or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or an instruction in the form of software. The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processor, DSP), a dedicated Integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like. The steps of the method disclosed in conjunction with one or more embodiments of this specification can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically readable and writable programmable memory, and scratchpad. The storage medium is located in the memory, and the processor reads the information in the memory, and combines with its hardware to complete the steps of the above method.

該終端設備還可執行圖1的人臉識別方法,本說明書在此不再贅述。 The terminal device can also execute the face recognition method shown in FIG. 1 , which will not be repeated here in this specification.

當然,除了軟體實現方式之外,本說明書的終端設備並不排除其他實現方式,比如邏輯裝置亦或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 Of course, in addition to the software implementation, the terminal equipment in this specification does not exclude other implementations, such as logic devices or the combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic A unit, which can also be a hardware or logic device.

本說明書實施例還提供一種電腦可讀儲存媒體,電腦可讀儲存媒體上儲存有電腦程式,該電腦程式被處理器執行時實現上述各個方法實施例的各個過程,且能達到相同的技術效果,為避免重複,這裡不再贅述。其中,所述的電腦可讀儲存媒體,如唯讀記憶體(Read-Only Memory,簡稱ROM)、隨機存取記憶體(Random Access Memory,簡稱RAM)、磁碟或者光碟等。 The embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

本領域內的技術人員應明白,本發明的實施例可提供為方法、系統、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) having computer-usable program code embodied therein .

本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和 /或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的系統。 The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the processes and processes in the flowchart and/or block diagram can be realized by computer program instructions. / or a combination of boxes. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing equipment to produce a machine so that the instructions executed by the processor of the computer or other programmable data processing equipment Produce a system for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令系統的製造品,該指令系統實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。 These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer readable memory produce an article of manufacture including a system of instructions , the instruction system implements the functions specified in one or more procedures of the flow chart and/or one or more blocks of the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。 These computer program instructions may also be loaded into a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce computer-implemented The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

在一個典型的配置中,計算設備包括一個或多個處理器-CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.

記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體-RAM)和/或非易失性記憶體等形式,如唯讀記憶體-ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的示例。 Memory may include non-permanent memory in computer readable media, random access memory - RAM) and/or nonvolatile memory such as read only memory - ROM) or flash memory ( flash RAM). The memory is an example of a computer readable medium.

電腦可讀媒體包括永久性和非永久性、可移動和非 可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體-PRAM)、靜態隨機存取記憶體-SRAM)、動態隨機存取記憶體-DRAM)、其他類型的隨機存取記憶體-RAM)、唯讀記憶體-ROM)、電可擦除可程式設計唯讀記憶體-EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體-CD-ROM)、數位多功能光碟-DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體-transitory media),如調製的資料信號和載波。 Computer-readable media includes both permanent and non-permanent, removable and non- Removable media can be implemented by any method or technology for information storage. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for computers include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM) , Read-Only Memory-ROM), Electrically Erasable Programmable Read-Only Memory-EEPROM), Flash memory or other memory technologies, Compact Disc-Read-Only Memory-CD-ROM), Digital Multifunction Compact Disc - DVD) or other optical storage, magnetic cassette, magnetic tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

以上僅為本發明的實施例而已,並不用於限制本發明。對於本領域技術人員來說,本發明可以有各種更改和變化。凡在本發明的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本發明的申請專利範圍之 內。 The above are only examples of the present invention, and are not intended to limit the present invention. Various modifications and variations of the present invention will occur to those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the patent scope of the present invention Inside.

Claims (9)

一種人臉識別方法,包括:確定採集的人臉圖像位於終端設備上顯示介面的取景框中;獲取該人臉圖像所在區域的區域座標;基於該區域座標和整個所述顯示介面的尺寸,確定該人臉圖像所在區域在整個所述顯示介面的占比;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例滿足閾值,則確定該人臉圖像為待識別的人臉圖像;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例不滿足該閾值,則提醒待識別用戶執行調整操作;對該人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當該指定檢測操作的檢測結果異常時,執行與所述檢測結果匹配的提醒操作,當該指定檢測操作的檢測結果正常時,將所述待識別的人臉圖像發送至識別終端設備,該識別終端設備用於將該人臉圖像與預先儲存的一個用戶的人臉圖像進行比對,根據比對結果對用戶進行身份認證,並在身份認證通過時,從錢包中扣款完成支付操作,該用戶為該錢包的帳號對應的用戶;其中,該待識別的人臉圖像係透過包括掃描或拍攝的方式而獲得, 其中,若該指定檢測操作為眼鏡檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,該反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到的,其中,若該指定檢測操作為臉部品質評估檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果;其中,該臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 A face recognition method, comprising: determining that the collected face image is located in a viewfinder frame of a display interface on a terminal device; obtaining the area coordinates of the area where the face image is located; based on the area coordinates and the size of the entire display interface , determine the proportion of the area where the face image is located in the entire display interface; if the proportion of the area where the face image in the viewfinder is located in the entire display interface meets the threshold, then determine that the face image is to be Recognized face image; if the proportion of the area where the face image in the viewfinder is located in the entire display interface does not meet the threshold, remind the user to be recognized to perform an adjustment operation; perform a specified detection operation on the face image , the specified detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection; when the detection result of the specified detection operation is abnormal, a reminder operation matching the detection result is executed, and when the specified detection operation When the detection result is normal, the face image to be recognized is sent to the recognition terminal device, and the recognition terminal device is used to compare the face image with a pre-stored face image of a user, and according to the comparison Authenticate the user on the result, and when the identity authentication is passed, debit the money from the wallet to complete the payment operation. acquired by way of shooting, Wherein, if the designated detection operation is glasses detection, performing the designated detection operation on the face image includes: using the face image as an input of the reflective detection model to obtain an output reflective detection result; wherein, the reflective The detection model is trained based on a predetermined number of reflective face image samples and/or non-reflective face image samples, wherein, if the specified detection operation is face quality evaluation detection, the face image Like performing a specified detection operation, including: using the face image as an input of a facial quality assessment detection model to obtain an output facial quality assessment detection result; wherein, the facial quality assessment detection model is based on a predetermined amount of blur face image samples and/or clear face image samples for training. 如請求項1所述的方法,所述具有反光的人臉圖像樣本包括眼鏡反光的人臉圖像樣本和具有黑邊框眼鏡的人臉圖像樣本中的至少一種;所述無反光的人臉圖像樣本包括配戴普通眼鏡的人臉圖像樣本和無眼鏡的人臉圖像樣本中的至少一種。 According to the method described in claim 1, the face image samples with reflections include at least one of face image samples with reflections from glasses and face image samples with glasses with black borders; The face image samples include at least one of face image samples wearing ordinary glasses and face image samples without glasses. 如請求項1所述的方法,若該指定檢測操作為遮擋檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為遮擋檢測模型的輸入,以得到輸出的遮擋檢測結果; 其中,該遮擋檢測模型是基於預定數量的具有遮擋的人臉圖像樣本和/或無遮擋的人臉圖像樣本訓練得到的。 According to the method described in claim 1, if the specified detection operation is occlusion detection, performing the specified detection operation on the face image includes: using the face image as an input of the occlusion detection model to obtain an output occlusion Test results; Wherein, the occlusion detection model is trained based on a predetermined number of occluded face image samples and/or non-occluded face image samples. 如請求項3所述的方法,所述具有遮擋的人臉圖像樣本包括手遮擋人臉的人臉圖像樣本、瀏海擋人臉的人臉圖像樣本、帽子擋人臉的人臉圖像樣本和口罩擋人臉的人臉圖像樣本中的至少一種。 According to the method described in claim 3, the face image samples with occlusion include face image samples with hands covering faces, face image samples with bangs covering faces, and faces with hats covering faces At least one of an image sample and a face image sample in which a face is blocked by a mask. 如請求項1所述的方法,該模糊的人臉圖像樣本包括失焦模糊的人臉圖像樣本、運動模糊的人臉圖像樣本和光線不足的人臉圖像樣本中的至少一種。 According to the method described in claim 1, the blurred face image samples include at least one of out-of-focus and blurred face image samples, motion blurred face image samples, and insufficiently lighted face image samples. 如請求項1所述的方法,該方法還包括:當該指定檢測操作的檢測結果正常時,執行該指定檢測操作之後的下一個指定檢測操作;或者,將所述待識別的人臉圖像發送至識別終端設備。 The method as described in claim 1, the method further includes: when the detection result of the specified detection operation is normal, performing the next specified detection operation after the specified detection operation; or, converting the face image to be recognized Sent to the identification terminal device. 一種終端設備,包括:獲取模組,用於確定採集的人臉圖像位於終端設備上顯示介面的取景框中;獲取該人臉圖像所在區域的區域座標;基於該區域座標和整個所述顯示介面的尺寸,確定該人臉圖像所在區域在整個所述顯示介面的占比;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例滿足閾值,則確定該人臉圖像為待識別的人臉圖像;若該取景框 中的人臉圖像所在區域占整個該顯示介面的比例不滿足該閾值,則提醒待識別用戶執行調整操作;第一執行模組,用於對該人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;第二執行模組,用於當該指定檢測操作的檢測結果異常時,執行與該檢測結果匹配的提醒操作,當該指定檢測操作的檢測結果正常時,將所述待識別的人臉圖像發送至識別終端設備,該識別終端設備用於將該人臉圖像與預先儲存的一個用戶的人臉圖像進行比對,根據比對結果對用戶進行身份認證,並在身份認證通過時,從錢包中扣款完成支付操作,該用戶為該錢包的帳號對應的用戶;其中,該待識別的人臉圖像係透過包括掃描或拍攝的方式而獲得,其中,若該指定檢測操作為眼鏡檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,該反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到的,其中,若該指定檢測操作為臉部品質評估檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果; 其中,該臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 A terminal device, comprising: an acquisition module, used to determine that the collected face image is located in the viewfinder frame of the display interface on the terminal device; obtain the area coordinates of the area where the face image is located; based on the area coordinates and the entire described The size of the display interface determines the proportion of the area where the face image is located in the entire display interface; if the proportion of the area where the face image in the viewfinder is located in the entire display interface meets the threshold, then determine the face The image is a face image to be recognized; if the viewfinder If the proportion of the area where the face image is located in the entire display interface does not meet the threshold, the user to be recognized will be reminded to perform an adjustment operation; the first execution module is used to perform a specified detection operation on the face image, and the specified The detection operation includes at least one of glasses detection, occlusion detection, and face quality evaluation detection; the second execution module is used to execute a reminder operation that matches the detection result when the detection result of the specified detection operation is abnormal. When the detection result of the specified detection operation is normal, the face image to be recognized is sent to the recognition terminal device, and the recognition terminal device is used to compare the face image with a pre-stored face image of a user Yes, the user is authenticated according to the comparison result, and when the identity authentication is passed, the payment operation is completed by deducting money from the wallet. The user is the user corresponding to the wallet account; the face image to be identified is Obtained by methods including scanning or photographing, wherein, if the specified detection operation is glasses detection, performing a specified detection operation on the face image includes: using the face image as an input of the reflective detection model to obtain Output reflective detection results; wherein, the reflective detection model is trained based on a predetermined number of reflective face image samples and/or non-reflective face image samples, wherein, if the specified detection operation is a face Quality assessment detection, performing a specified detection operation on the face image, including: using the face image as an input of a face quality assessment detection model to obtain an output face quality assessment detection result; Wherein, the facial quality assessment detection model is obtained by training based on a predetermined number of blurred human face image samples and/or clear human face image samples. 一種終端設備,包括:記憶體、處理器及儲存在該記憶體上並可在該處理器上運行的電腦程式,該電腦程式被該處理器執行時實現如下步驟:確定採集的人臉圖像位於終端設備上顯示介面的取景框中;獲取該人臉圖像所在區域的區域座標;基於該區域座標和整個所述顯示介面的尺寸,確定該人臉圖像所在區域在整個所述顯示介面的占比;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例滿足閾值,則確定該人臉圖像為待識別的人臉圖像;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例不滿足該閾值,則提醒待識別用戶執行調整操作;對該人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當該指定檢測操作的檢測結果異常時,執行與該檢測結果匹配的提醒操作,當該指定檢測操作的檢測結果正常時,將所述待識別的人臉圖像發送至識別終端設備,該識別終端設備用於將該人臉圖像與預先儲存的一個用戶的人臉圖像進行比對,根據比對結果對用戶進行身份認證,並 在身份認證通過時,從錢包中扣款完成支付操作,該用戶為該錢包的帳號對應的用戶;其中,該待識別的人臉圖像係透過包括掃描或拍攝的方式而獲得,其中,若該指定檢測操作為眼鏡檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,該反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到的,其中,若該指定檢測操作為臉部品質評估檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果;其中,該臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 A terminal device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the following steps are implemented: determine the collected face image Located in the viewfinder frame of the display interface on the terminal device; obtaining the area coordinates of the area where the face image is located; based on the area coordinates and the size of the entire display interface, determining that the area where the face image is located is within the entire display interface If the proportion of the area where the face image in the viewfinder is located in the entire display interface meets the threshold, then it is determined that the face image is the face image to be recognized; if the face in the viewfinder If the proportion of the area where the image is located in the entire display interface does not meet the threshold, the user to be recognized is reminded to perform an adjustment operation; the specified detection operation is performed on the face image, and the specified detection operation includes glasses detection, occlusion detection and face quality Evaluate at least one of the detections; when the detection result of the specified detection operation is abnormal, perform a reminder operation that matches the detection result, and when the detection result of the specified detection operation is normal, send the face image to be recognized to a recognition terminal device, which is used to compare the face image with a pre-stored face image of a user, authenticate the user according to the comparison result, and When the identity authentication is passed, the payment operation is completed by deducting money from the wallet, and the user is the user corresponding to the account number of the wallet; wherein, the face image to be recognized is obtained by means including scanning or photographing, wherein, if The specified detection operation is glasses detection, and then the specified detection operation is performed on the face image, including: using the face image as the input of the reflection detection model to obtain the output reflection detection result; wherein, the reflection detection model is It is obtained based on a predetermined number of face image samples with reflections and/or face image samples without reflections, wherein, if the specified detection operation is face quality evaluation detection, the specified detection operation is performed on the face image The detection operation includes: using the face image as an input of a facial quality assessment detection model to obtain an output facial quality assessment detection result; wherein, the facial quality assessment detection model is based on a predetermined number of blurred human faces image samples and/or clear face image samples for training. 一種電腦可讀儲存媒體,該電腦可讀儲存媒體上儲存有電腦程式,該電腦程式被處理器執行時實現如下步驟:確定採集的人臉圖像位於終端設備上顯示介面的取景框中;獲取該人臉圖像所在區域的區域座標;基於該區域座 標和整個所述顯示介面的尺寸,確定該人臉圖像所在區域在整個所述顯示介面的占比;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例滿足閾值,則確定該人臉圖像為待識別的人臉圖像;若該取景框中的人臉圖像所在區域占整個該顯示介面的比例不滿足該閾值,則提醒待識別用戶執行調整操作;對該人臉圖像執行指定檢測操作,該指定檢測操作包括眼鏡檢測、遮擋檢測及臉部品質評估檢測中的至少一種;當該指定檢測操作的檢測結果異常時,執行與該檢測結果匹配的提醒操作,當該指定檢測操作的檢測結果正常時,將所述待識別的人臉圖像發送至識別終端設備,該識別終端設備用於將該人臉圖像與預先儲存的一個用戶的人臉圖像進行比對,根據比對結果對用戶進行身份認證,並在身份認證通過時,從錢包中扣款完成支付操作,該用戶為該錢包的帳號對應的用戶;其中,該待識別的人臉圖像係透過包括掃描或拍攝的方式而獲得,其中,若該指定檢測操作為眼鏡檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為反光檢測模型的輸入,以得到輸出的反光檢測結果;其中,該反光檢測模型是基於預定數量的具有反光的人臉圖像樣本和/或無反光的人臉圖像樣本訓練得到 的,其中,若該指定檢測操作為臉部品質評估檢測,則對該人臉圖像執行指定檢測操作,包括:將該人臉圖像作為臉部品質評估檢測模型的輸入,以得到輸出的臉部品質評估檢測結果;其中,該臉部品質評估檢測模型是基於預定數量的模糊的人臉圖像樣本和/或清晰的人臉圖像樣本訓練得到的。 A computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the following steps are implemented: determining that the collected face image is located in the viewfinder frame of the display interface on the terminal device; acquiring The area coordinates of the area where the face image is located; based on the area coordinates Mark and the size of the entire display interface, determine the proportion of the area where the face image is located in the entire display interface; if the proportion of the area where the face image in the viewfinder is located in the entire display interface meets the threshold, Then it is determined that the face image is the face image to be recognized; if the ratio of the area where the face image in the viewfinder is located in the entire display interface does not meet the threshold, the user to be recognized is reminded to perform an adjustment operation; The face image performs a designated detection operation, the designated detection operation includes at least one of glasses detection, occlusion detection and face quality evaluation detection; when the detection result of the designated detection operation is abnormal, a reminder matching the detection result is executed Operation, when the detection result of the specified detection operation is normal, the face image to be recognized is sent to the recognition terminal device, and the recognition terminal device is used to compare the face image with a pre-stored face of a user The image is compared, and the user is authenticated according to the comparison result, and when the identity authentication is passed, the payment is deducted from the wallet to complete the payment operation. The user is the user corresponding to the account of the wallet; the person to be identified The face image is obtained through methods including scanning or photographing, wherein, if the specified detection operation is glasses detection, the specified detection operation is performed on the face image, including: using the face image as a reflection detection model input to obtain the output reflection detection result; wherein, the reflection detection model is obtained based on a predetermined number of reflection face image samples and/or non-reflection face image samples training wherein, if the specified detection operation is face quality assessment detection, then performing the specified detection operation on the face image includes: using the face image as the input of the face quality assessment detection model to obtain the output Facial quality assessment detection results; wherein, the facial quality assessment detection model is trained based on a predetermined number of blurred human face image samples and/or clear human face image samples.
TW108115547A 2018-07-16 2019-05-06 Face recognition method, terminal device, and computer-readable storage medium TWI786291B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810777461.8A CN109063604A (en) 2018-07-16 2018-07-16 A kind of face identification method and terminal device
CN201810777461.8 2018-07-16

Publications (2)

Publication Number Publication Date
TW202006595A TW202006595A (en) 2020-02-01
TWI786291B true TWI786291B (en) 2022-12-11

Family

ID=64816523

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108115547A TWI786291B (en) 2018-07-16 2019-05-06 Face recognition method, terminal device, and computer-readable storage medium

Country Status (3)

Country Link
CN (1) CN109063604A (en)
TW (1) TWI786291B (en)
WO (1) WO2020015477A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063604A (en) * 2018-07-16 2018-12-21 阿里巴巴集团控股有限公司 A kind of face identification method and terminal device
CN110163104B (en) * 2019-04-18 2023-02-17 创新先进技术有限公司 Face detection method and device and electronic equipment
CN112446849A (en) * 2019-08-13 2021-03-05 杭州海康威视数字技术股份有限公司 Method and device for processing picture
CN110782602A (en) * 2019-11-13 2020-02-11 北京三快在线科技有限公司 Resource transfer method, device, system, equipment and storage medium
CN111126098B (en) * 2019-12-24 2023-11-07 京东科技控股股份有限公司 Certificate image acquisition method, device, equipment and storage medium
CN111428594A (en) * 2020-03-13 2020-07-17 北京三快在线科技有限公司 Identity authentication method and device, electronic equipment and storage medium
CN111428628A (en) * 2020-03-23 2020-07-17 北京每日优鲜电子商务有限公司 Face detection method, device, equipment and storage medium
CN111414879B (en) * 2020-03-26 2023-06-09 抖音视界有限公司 Face shielding degree identification method and device, electronic equipment and readable storage medium
CN111860566A (en) * 2020-04-24 2020-10-30 北京嘀嘀无限科技发展有限公司 Method and device for training occlusion recognition model and storage medium
CN111598038B (en) * 2020-05-22 2023-06-20 深圳市瑞立视多媒体科技有限公司 Facial feature point detection method, device, equipment and storage medium
CN111914628B (en) * 2020-06-19 2023-06-20 北京百度网讯科技有限公司 Training method and device of face recognition model
CN111783598B (en) * 2020-06-24 2023-08-08 北京百度网讯科技有限公司 Face recognition model training method, device, equipment and medium
CN111915307A (en) * 2020-07-02 2020-11-10 浙江恒科实业有限公司 Contactless mobile payment system and method
CN111815790A (en) * 2020-07-10 2020-10-23 成都智元汇信息技术股份有限公司 Subway riding ticket checking method based on face recognition
CN111914812B (en) * 2020-08-20 2022-09-16 腾讯科技(深圳)有限公司 Image processing model training method, device, equipment and storage medium
CN112084902A (en) * 2020-08-26 2020-12-15 武汉普利商用机器有限公司 Face image acquisition method and device, electronic equipment and storage medium
CN112766208A (en) * 2021-01-28 2021-05-07 北京三快在线科技有限公司 Model training method and device
TWI795724B (en) * 2021-02-02 2023-03-11 神達數位股份有限公司 An identity verification method and an identity verification system
CN113435400B (en) * 2021-07-14 2022-08-30 世邦通信股份有限公司 Screen-free face recognition calibration method and device, screen-free face recognition equipment and medium
CN113963183B (en) * 2021-12-22 2022-05-31 合肥的卢深视科技有限公司 Model training method, face recognition method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262727A (en) * 2011-06-24 2011-11-30 常州锐驰电子科技有限公司 Method for monitoring face image quality at client acquisition terminal in real time
CN103116749A (en) * 2013-03-12 2013-05-22 上海洪剑智能科技有限公司 Near-infrared face identification method based on self-built image library
CN104091156A (en) * 2014-07-10 2014-10-08 深圳市中控生物识别技术有限公司 Identity recognition method and device
CN105046231A (en) * 2015-07-27 2015-11-11 小米科技有限责任公司 Face detection method and device
CN105631439A (en) * 2016-02-18 2016-06-01 北京旷视科技有限公司 Human face image collection method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101241625B1 (en) * 2012-02-28 2013-03-11 인텔 코오퍼레이션 Method, apparatus for informing a user of various circumstances of face recognition, and computer-readable recording medium for executing the method
CN103150553A (en) * 2013-02-06 2013-06-12 北京中科虹霸科技有限公司 Mobile terminal and method for realizing multi-mode identity characteristic recognition
CN105550862A (en) * 2015-06-26 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Identity authentication method for mobile payment, authentication terminal, and payment terminal
CN105813021A (en) * 2016-05-30 2016-07-27 维沃移动通信有限公司 Mobile terminal retrieving method, mobile terminal and server
CN107516070B (en) * 2017-07-28 2021-04-06 Oppo广东移动通信有限公司 Biometric identification method and related product
CN107644159B (en) * 2017-09-12 2021-04-09 Oppo广东移动通信有限公司 Face recognition method and related product
CN107808120B (en) * 2017-09-30 2018-08-31 平安科技(深圳)有限公司 Glasses localization method, device and storage medium
CN107766824A (en) * 2017-10-27 2018-03-06 广东欧珀移动通信有限公司 Face identification method, mobile terminal and computer-readable recording medium
CN107895108B (en) * 2017-10-27 2021-02-26 维沃移动通信有限公司 Operation management method and mobile terminal
CN107909065B (en) * 2017-12-29 2020-06-16 百度在线网络技术(北京)有限公司 Method and device for detecting face occlusion
CN109063604A (en) * 2018-07-16 2018-12-21 阿里巴巴集团控股有限公司 A kind of face identification method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262727A (en) * 2011-06-24 2011-11-30 常州锐驰电子科技有限公司 Method for monitoring face image quality at client acquisition terminal in real time
CN103116749A (en) * 2013-03-12 2013-05-22 上海洪剑智能科技有限公司 Near-infrared face identification method based on self-built image library
CN104091156A (en) * 2014-07-10 2014-10-08 深圳市中控生物识别技术有限公司 Identity recognition method and device
CN105046231A (en) * 2015-07-27 2015-11-11 小米科技有限责任公司 Face detection method and device
CN105631439A (en) * 2016-02-18 2016-06-01 北京旷视科技有限公司 Human face image collection method and device

Also Published As

Publication number Publication date
WO2020015477A1 (en) 2020-01-23
CN109063604A (en) 2018-12-21
TW202006595A (en) 2020-02-01

Similar Documents

Publication Publication Date Title
TWI786291B (en) Face recognition method, terminal device, and computer-readable storage medium
US20200160040A1 (en) Three-dimensional living-body face detection method, face authentication recognition method, and apparatuses
US20200143162A1 (en) Document verification and identity verification method and device
US10817705B2 (en) Method, apparatus, and system for resource transfer
TWI716008B (en) Face recognition method and device
US11210541B2 (en) Liveness detection method, apparatus and computer-readable storage medium
CN109086734B (en) Method and device for positioning pupil image in human eye image
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
WO2022111512A1 (en) Facial liveness detection method and apparatus, and device
CN112333356B (en) Certificate image acquisition method, device and equipment
CN111126098B (en) Certificate image acquisition method, device, equipment and storage medium
WO2020114105A1 (en) Comparison method based on multiple facial images, apparatus and electronic device
US11036967B2 (en) Method and device for face selection, recognition and comparison
CN113379713B (en) Certificate image detection method and device
CN108289176B (en) Photographing question searching method, question searching device and terminal equipment
WO2020244076A1 (en) Face recognition method and apparatus, and electronic device and storage medium
CN109145821B (en) Method and device for positioning pupil image in human eye image
CN109376585B (en) Face recognition auxiliary method, face recognition method and terminal equipment
CN111597966B (en) Expression image recognition method, device and system
CN113850211A (en) Method and device for detecting injected video attack
KR20140134844A (en) Method and device for photographing based on objects
CN113033542A (en) Method and device for generating text recognition model
CN111461730A (en) Wind control method, device and system and electronic equipment
CN110163104B (en) Face detection method and device and electronic equipment
KR102528816B1 (en) Method for weakly supervised learning of neural network using verification information of identification card and system for the method