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

TWI727337B - Electronic device and face recognition method - Google Patents

Electronic device and face recognition method Download PDF

Info

Publication number
TWI727337B
TWI727337B TW108119744A TW108119744A TWI727337B TW I727337 B TWI727337 B TW I727337B TW 108119744 A TW108119744 A TW 108119744A TW 108119744 A TW108119744 A TW 108119744A TW I727337 B TWI727337 B TW I727337B
Authority
TW
Taiwan
Prior art keywords
user image
user
face
server
image
Prior art date
Application number
TW108119744A
Other languages
Chinese (zh)
Other versions
TW202046169A (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 大陸商鴻富錦精密工業(武漢)有限公司
Priority to TW108119744A priority Critical patent/TWI727337B/en
Publication of TW202046169A publication Critical patent/TW202046169A/en
Application granted granted Critical
Publication of TWI727337B publication Critical patent/TWI727337B/en

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Image Analysis (AREA)

Abstract

A face recognition method is provided. The method includes capturing an image of a user, uploading a first user image to a server, receiving the first user image including a rectangular frame of a user face and user information transmitted by the server, detecting a rectangular frame of a user face in a second user image, determining whether a number of faces is the same in the first and second user image, uploading the second user image to the server to recognize a rectangular of the user face when the number of faces is the same in the first and second user image, determining difference between the rectangular frames of the user face detected by the electronic device and the server is less than or equal to a predefined value, and determining the user information in the second user image is the same as the user information in the first user image when the difference is less than or equal to the predefined value. An electronic device is also provided.

Description

電子裝置及人臉識別方法 Electronic device and face recognition method

本發明涉及圖像識別領域,尤其涉及一種電子裝置及人臉識別方法 The invention relates to the field of image recognition, in particular to an electronic device and a face recognition method

隨著科學技術的發展,圖像識別的應用越來越廣泛,例如人臉圖像識別應用於門禁系統、考勤系統、點名系統及會議室系統等。在現有技術中,為了提高人臉識別的準確度,有些用戶選擇付費使用雲端的識別系統,如微軟雲端認知服務。在通常情況下,雲端識別系統每次回傳資料給用戶終端都需要收費,如此,在即時的人臉識別場景如視訊會議中,使用雲端識別系統進行人臉識別的流程較為複雜,還容易產生高額的費用,從而給用戶造成不便。 With the development of science and technology, the application of image recognition has become more and more extensive. For example, facial image recognition is used in access control systems, attendance systems, roll call systems and conference room systems. In the prior art, in order to improve the accuracy of face recognition, some users choose to pay for a cloud-based recognition system, such as Microsoft Cloud Cognitive Services. Under normal circumstances, the cloud recognition system needs to charge a fee every time it sends data back to the user terminal. Therefore, in real-time face recognition scenarios such as video conferences, the process of using the cloud recognition system for face recognition is more complicated, and it is easy to generate high amounts. The cost, thus causing inconvenience to users.

有鑒於此,有必要提供一種電子裝置及人臉識別方法,以解決上述技術問題。 In view of this, it is necessary to provide an electronic device and a face recognition method to solve the above technical problems.

一種電子裝置,至少包括處理器及攝像單元,所述電子裝置與伺服器通訊連接,所述處理器包括:攝像模組,用於控制所述攝像單元每隔預設時間拍攝所述電子裝置前用戶的圖像; 上傳模組,用於將所述攝像單元拍攝到的第一用戶圖像上傳至所述伺服器;接收模組,用於接收所述伺服器識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像;偵測模組,用於偵測所述攝像單元拍攝的所述電子裝置前用戶的第二用戶圖像中的人臉矩形框;判斷模組,用於判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同;所述上傳模組還當所述判斷模組判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量相同時,將所述第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的人臉矩形框;確定模組,用於確定所述第二用戶圖像中所述偵測模組偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異是否小於或等於一預設值;及所述確定模組還當確定所述第二用戶圖像中所述偵測模組偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異小於或等於所述預設值時,確定所述第二用戶圖像中的用戶資訊與所述第一用戶圖像中的用戶資訊相同。 An electronic device includes at least a processor and a camera unit, the electronic device is in communication with a server, and the processor includes: a camera module for controlling the camera unit to photograph the front of the electronic device every preset time User's image; The upload module is used to upload the first user image captured by the camera unit to the server; the receiving module is used to receive the rectangular frame containing the face and user information recognized and returned by the server The first user image; the detection module is used to detect the face rectangle in the second user image of the user in front of the electronic device captured by the camera unit; the judgment module is used to judge the Whether the number of human faces in the second user image is the same as the number of human faces in the first user image; the upload module is also when the judgment module determines the human faces in the second user image When the number is the same as the number of faces in the first user image, upload the second user image to the server to identify the face rectangle in the second user image; determining module , For determining whether the difference between the rectangular frame of the face detected by the detection module and the rectangular frame of the face recognized by the server in the second user image is less than or equal to a preset value; and The determining module may also determine that the difference between the face rectangular frame detected by the detection module and the face rectangular frame recognized by the server in the second user image is less than or equal to the predetermined When setting the value, it is determined that the user information in the second user image is the same as the user information in the first user image.

一種人臉識別方法,應用於一電子裝置,所述電子裝置至少包括攝像單元,所述電子裝置還與伺服器通訊連接,所述方法包括以下步驟:控制所述攝像單元每隔預設時間拍攝所述電子裝置前用戶的圖像;將所述攝像單元拍攝到的第一用戶圖像上傳至所述伺服器; 接收所述伺服器識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像;偵測所述攝像單元拍攝的所述電子裝置前用戶的第二用戶圖像中的人臉矩形框;判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同;當判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量相同時,將所述第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的人臉矩形框;確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異是否小於或等於一預設值;及當確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異小於或等於所述預設值時,確定所述第二用戶圖像中的用戶資訊與所述第一用戶圖像的用戶資訊相同。 A face recognition method applied to an electronic device, the electronic device includes at least a camera unit, the electronic device is also communicatively connected with a server, the method includes the following steps: controlling the camera unit to take pictures every preset time An image of the user in front of the electronic device; uploading the first user image captured by the camera unit to the server; Receive the first user image including the face rectangle and user information recognized and returned by the server; detect the face rectangle in the second user image of the user in front of the electronic device captured by the camera unit Box; determine whether the number of faces in the second user image is the same as the number of faces in the first user image; when it is determined that the number of faces in the second user image is the same as the first When the number of faces in the user image is the same, upload the second user image to the server to identify the face rectangle in the second user image; determine that the second user image is Whether the difference between the human face rectangular frame detected by the electronic device and the human face rectangular frame recognized by the server is less than or equal to a preset value; and when it is determined that the electronic device is in the second user image When the difference between the detected human face rectangular frame and the human face rectangular frame recognized by the server is less than or equal to the preset value, the user information in the second user image is determined to be the same as the first user The user information of the images is the same.

上述電子裝置及人臉識別方法在前後拍攝到的圖像中人臉數量不變且不同人臉矩形框之間差異較小的情況下,可以無需再次對圖像進行識別,簡化了人臉識別流程,也可以減少雲端資源的付費,從而給用戶提供了很大的方便,有效提升用戶體驗。 The above electronic device and face recognition method do not need to recognize the image again, which simplifies the face recognition when the number of faces in the images taken before and after is the same and the difference between the rectangular frames of different faces is small. The process can also reduce the payment of cloud resources, thus providing users with great convenience and effectively improving user experience.

1:電子裝置 1: Electronic device

10:處理器 10: processor

101:攝像模組 101: camera module

102:上傳模組 102: Upload module

103:接收模組 103: receiving module

104:偵測模組 104: Detection Module

105:判斷模組 105: Judgment Module

106:確定模組 106: Confirm module

107:顯示模組 107: display module

20:記憶體 20: memory

30:攝像單元 30: camera unit

40:顯示單元 40: display unit

2:伺服器 2: server

201:人臉圖像資料庫 201: Face Image Database

202:圖像識別程式設計介面 202: Image recognition programming interface

S101~S110:步驟 S101~S110: steps

圖1是本發明較佳實施方式中電子裝置的應用結構示意圖。 1 is a schematic diagram of the application structure of an electronic device in a preferred embodiment of the present invention.

圖2是本發明較佳實施方式中採用級聯卷積神經網路演算法對第二用戶圖像中的用戶人臉進行偵測的示意圖。 FIG. 2 is a schematic diagram of using a cascaded convolutional neural network algorithm to detect a user's face in a second user image in a preferred embodiment of the present invention.

圖3為本發明較佳實施方式中第二用戶圖像的人臉矩形框示意圖。 3 is a schematic diagram of a rectangular frame of a human face of a second user image in a preferred embodiment of the present invention.

圖4是本發明較佳實施方式中人臉識別方法的流程示意圖。 Fig. 4 is a schematic flowchart of a face recognition method in a preferred embodiment of the present invention.

請參考圖1,為本發明較佳實施方式所提供的電子裝置1的應用結構示意圖。在本實施方式中,所述電子裝置1與伺服器2通訊連接,所述電子裝置1用於拍攝當前用戶的圖像,並根據拍攝的圖像及所述伺服器2提供的圖像識別服務識別圖像中的用戶資訊。在本實施方式中,所述電子裝置1為智慧手機或個人電腦,所述伺服器2為單一的伺服器、雲端伺服器或伺服器集群,用於提供圖像識別服務。 Please refer to FIG. 1, which is a schematic diagram of an application structure of an electronic device 1 provided by a preferred embodiment of the present invention. In this embodiment, the electronic device 1 is in communication connection with the server 2. The electronic device 1 is used to capture an image of the current user, and recognizes services based on the captured image and the image provided by the server 2. Identify the user information in the image. In this embodiment, the electronic device 1 is a smart phone or a personal computer, and the server 2 is a single server, a cloud server or a server cluster for providing image recognition services.

所述電子裝置1包括,但不僅限於,處理器10、記憶體20、攝像單元30及顯示單元40。在本實施方式中,所述處理器10優選為微處理器。所述記憶體20優選為唯讀記憶體或隨機存取記憶體。所述攝像單元30為所述電子裝置1內置的攝像頭。在其他實施方式中,所述攝像單元30也可以是藉由USB資料線外接或藉由無線通訊連接的相機或攝影機。所述顯示單元40為液晶顯示幕(Liquid Crystal Display,LCD)或有機發光二極體(Organic Light-Emitting Diode,OLED)顯示幕。 The electronic device 1 includes, but is not limited to, a processor 10, a memory 20, a camera unit 30, and a display unit 40. In this embodiment, the processor 10 is preferably a microprocessor. The memory 20 is preferably a read-only memory or a random access memory. The camera unit 30 is a camera built into the electronic device 1. In other embodiments, the camera unit 30 may also be a camera or a video camera externally connected via a USB data cable or connected via wireless communication. The display unit 40 is a Liquid Crystal Display (LCD) or Organic Light-Emitting Diode (OLED) display.

所述伺服器2至少包括人臉圖像資料庫201及圖像識別程式設計介面(Application Programmng Interface,API)202。在本實施方式中,所述電子裝置1藉由互聯網或WI-FI與所述伺服器2無線通訊連接。 The server 2 at least includes a face image database 201 and an image recognition programming interface (API) 202. In this embodiment, the electronic device 1 is wirelessly connected to the server 2 via the Internet or WI-FI.

所述電子裝置1至少包括攝像模組101、上傳模組102、接收模組103、偵測模組104、判斷模組105、確定模組106及顯示模組107。在本實施方式中,上述模組101-107為存儲於所述記憶體20中且可被所述處理器10調用執行的 可程式化軟體指令。可以理解的是,在其他實施方式中,上述模組也可為固化於所述處理器10中的程式指令或固件(firmware)。 The electronic device 1 at least includes a camera module 101, an upload module 102, a receiving module 103, a detection module 104, a judgment module 105, a determination module 106, and a display module 107. In this embodiment, the aforementioned modules 101-107 are stored in the memory 20 and can be invoked and executed by the processor 10 Programmable software instructions. It can be understood that, in other implementation manners, the above-mentioned modules may also be program instructions or firmware that are solidified in the processor 10.

所述攝像模組101用於控制所述攝像單元30每隔預設時間拍攝所述電子裝置1前的用戶圖像。 The camera module 101 is used to control the camera unit 30 to take a user image in front of the electronic device 1 at a preset time.

在本實施方式中,所述電子裝置1應用於需要持續偵測識別用戶資訊以驗證用戶身份的應用場景中,例如視訊會議,可以防止未授權人員獲得會議內容。 In this embodiment, the electronic device 1 is applied to an application scenario that needs to continuously detect and identify user information to verify user identity, such as a video conference, which can prevent unauthorized persons from obtaining conference content.

在本實施方式中,所述攝像單元30裝設於所述顯示單元40的上方,以便於拍攝到當前用戶的臉部圖像。其中,所述預設時間為五分鐘。在其他實施方式中,所述預設時間也可以根據需求設置為其他時間。 In this embodiment, the camera unit 30 is installed above the display unit 40 so as to capture the face image of the current user. Wherein, the preset time is five minutes. In other embodiments, the preset time can also be set to other times according to requirements.

所述上傳模組102用於將所述攝像單元30拍攝到的第一用戶圖像上傳至所述伺服器2。需要說明的是,所述第一用戶圖像為所述用戶進入所述應用場景後,所述攝像單元30拍攝到的第一個用戶圖像。 The upload module 102 is used to upload the first user image captured by the camera unit 30 to the server 2. It should be noted that the first user image is the first user image captured by the camera unit 30 after the user enters the application scene.

在本實施方式中,所述電子裝置1安裝有人臉識別軟體,具有圖像上傳功能。用戶可以在所述電子裝置1上藉由所述人臉識別軟體將所述攝像單元30拍攝的第一用戶圖像手動上傳至所述伺服器2。在其他實施方式中,所述電子裝置1也可以在所述攝像單元30拍攝到包含用戶的圖像時,自動將所述第一用戶圖像上傳至所述伺服器2。 In this embodiment, the electronic device 1 is installed with facial recognition software and has an image upload function. The user can manually upload the first user image taken by the camera unit 30 to the server 2 on the electronic device 1 through the face recognition software. In other embodiments, the electronic device 1 may also automatically upload the first user image to the server 2 when the image capturing unit 30 captures an image containing the user.

所述接收模組103用於接收所述伺服器2識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像。 The receiving module 103 is configured to receive the first user image including the face rectangle and user information recognized and returned by the server 2.

在本實施方式中,所述伺服器2的人臉圖像資料庫201中存儲記錄有所述應用場景內所需的多個用戶人臉圖像,由應用場景管理人員預先上傳,所述多個用戶人臉圖像包含了用戶的身份資訊,作為身份識別及驗證的依據。 In this embodiment, the face image database 201 of the server 2 stores and records multiple user face images required in the application scene, which are uploaded in advance by the application scene manager. A user’s face image contains the user’s identity information as a basis for identity recognition and verification.

具體的,伺服器2在接收到所述上傳模組102上傳的第一用戶圖像時,藉由所述圖像識別程式設計介面202採用機器學習的方式識別所述第一用戶圖像中用戶的臉部,並且以矩形框的形式選定所述臉部。進一步地,所述伺服器2藉由所述圖像識別程式設計介面202分析所述第一用戶圖像中用戶的臉部特徵,並將圖像中用戶的臉部特徵與人臉圖像資料庫201中每一人臉圖像的臉部特徵進行比對。當一人臉圖像的臉部特徵與所述第一用戶圖像中用戶的臉部特徵的相似度大於或等於一預設百分比時,所述伺服器2確定所述人臉圖像對應的用戶身份資訊為所述第一用戶圖像中的用戶資訊。其中,所述用戶資訊至少包括姓名、性別及年齡。在本實施方式中,所述預設百分比為90%。 Specifically, when the server 2 receives the first user image uploaded by the upload module 102, the image recognition programming interface 202 uses machine learning to identify the user in the first user image. And select the face in the form of a rectangular frame. Further, the server 2 analyzes the facial features of the user in the first user image through the image recognition programming interface 202, and compares the facial features of the user in the image with the facial image data The facial features of each face image in the library 201 are compared. When the similarity between the facial features of a face image and the facial features of the user in the first user image is greater than or equal to a preset percentage, the server 2 determines the user corresponding to the face image The identity information is the user information in the first user image. Wherein, the user information includes at least name, gender, and age. In this embodiment, the preset percentage is 90%.

所述伺服器2還將包含有人臉矩形框及用戶資訊的第一用戶圖像回傳至所述電子裝置1。需要說明的是,當所述人臉圖像資料庫201中所有人臉圖像的臉部特徵與所述第一用戶圖像中用戶的臉部特徵的相似度都小於所述預設百分比時,所述伺服器2將所述第一用戶圖像中的用戶未通過身份驗證的提示資訊回傳至所述電子裝置1。即,所述接收模組103還可以接收所述伺服器2回傳的所述第一用戶圖像中的用戶未通過身份驗證的提示資訊。 The server 2 also returns a first user image including a rectangular frame with a human face and user information to the electronic device 1. It should be noted that when the similarity between the facial features of all facial images in the face image database 201 and the facial features of the user in the first user image is less than the preset percentage , The server 2 sends back to the electronic device 1 the prompt information that the user has not passed the identity verification in the first user image. That is, the receiving module 103 may also receive the prompt information that the user in the first user image returned by the server 2 has not passed the identity verification.

所述偵測模組104用於偵測所述攝像單元30拍攝的所述電子裝置1前用戶的第二用戶圖像的人臉矩形框。需要說明的是,所述第二用戶圖像可以是所述攝像單元30在拍攝完所述第一用戶圖像之後拍攝的任一圖像。 The detection module 104 is used to detect the face rectangle of the second user image of the former user of the electronic device 1 captured by the camera unit 30. It should be noted that the second user image may be any image captured by the camera unit 30 after the first user image is captured.

在本實施方式中,所述偵測模組104採用級聯卷積神經網路(Multi-task Cascaded Convolutional Networks,MTCNN)演算法對所述第二用戶圖像中的用戶臉部進行偵測。 In this embodiment, the detection module 104 uses a Multi-task Cascaded Convolutional Networks (MTCNN) algorithm to detect the user's face in the second user image.

具體的,請參考圖2,首先,所述偵測模組104將所述第二用戶圖像縮放到不同尺寸,以生成所述第二用戶圖像的圖像金字塔。然後,所述偵測模組104對所述第二用戶圖像進行三個階段的處理。其中,第一階段採用建議網 路(Proposal Network,P-Net),在所述第一階段,所述偵測模組104根據圖像金字塔使用全卷積網路生成所述第二用戶圖像中人臉的候選矩形框及邊緣回歸向量(Bounding Box Regression Vectors),並使用邊緣回歸(Bounding Box Regression)演算法矯正候選矩形框以及使用非極大值抑制(Non-Maximum Suppression,NMS)演算法合併重疊的候選矩形框。 Specifically, please refer to FIG. 2. First, the detection module 104 scales the second user image to different sizes to generate an image pyramid of the second user image. Then, the detection module 104 performs three stages of processing on the second user image. Among them, the first stage adopts the proposed network Road (Proposal Network, P-Net). In the first stage, the detection module 104 uses a full convolutional network to generate a candidate rectangular frame for the face in the second user image according to the image pyramid and Bounding Box Regression Vectors, and use the Bounding Box Regression algorithm to correct the candidate rectangular boxes and use the Non-Maximum Suppression (NMS) algorithm to merge the overlapping candidate rectangular boxes.

第二階段為優化網路(Refine Network,R-Net),在所述第二階段,所述偵測模組104對所述第二用戶圖像中人臉的候選矩形框進行改善,具體為將第一階段輸出的候選矩形框輸入所述優化網路,以刪除錯誤的矩形框,並繼續使用邊緣回歸演算法矯正餘下的候選矩形框以及使用非極大值抑制演算法合併重疊的候選矩形框。 The second stage is an optimization network (Refine Network, R-Net). In the second stage, the detection module 104 improves the candidate rectangular frame of the face in the second user image, specifically: Input the candidate rectangles output in the first stage into the optimization network to delete the wrong rectangles, and continue to use the edge regression algorithm to correct the remaining candidate rectangles and use the non-maximum suppression algorithm to merge the overlapping candidate rectangles .

第三階段為輸出網路(Output Network,O-Net),在所述第三階段,所述偵測模組104輸出經過處理後的包含唯一一個人臉矩形框及對應的臉部特徵點的第二用戶圖像。在本實施方式中,所述臉部特徵點的數量為五個,分別位於人臉圖像的兩個眼睛、鼻子及嘴巴的兩端對應的位置處。 The third stage is the output network (Output Network, O-Net). In the third stage, the detection module 104 outputs the processed first rectangular frame and corresponding facial feature points. 2. User image. In this embodiment, the number of the facial feature points is five, which are respectively located at the positions corresponding to the two ends of the eyes, nose, and mouth of the face image.

所述判斷模組105用於判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同。 The judgment module 105 is used to judge whether the number of human faces in the second user image is the same as the number of human faces in the first user image.

在本實施方式中,所述判斷模組105對比所述第二用戶圖像中與所述第一用戶圖像中矩形框的數量。若兩個圖像中的矩形框數量相同,則所述判斷模組105判定所述第二用戶圖像與所述第一用戶圖像中的人臉數量相同。若兩個圖像的矩形框數量不同,則所述判斷模組105判定所述第二用戶圖像與所述第一用戶圖像中的人臉數量不同。 In this embodiment, the judgment module 105 compares the number of rectangular frames in the second user image with that in the first user image. If the number of rectangular frames in the two images is the same, the determination module 105 determines that the number of faces in the second user image is the same as that in the first user image. If the numbers of rectangular frames in the two images are different, the determination module 105 determines that the number of faces in the second user image and the first user image are different.

所述上傳模組102還當所述判斷模組105判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量相同時,將所述第二用戶圖像上傳至所述伺服器2以識別所述第二用戶圖像中的人臉矩形框。所述接收模組 103還接收所述伺服器2回傳的包含所述偵測模組104偵測到的人臉矩形框及所述伺服器2偵測到的人臉矩形框的第二用戶圖像。 The uploading module 102 also converts the second user image to the second user image when the judgment module 105 determines that the number of faces in the second user image is the same as the number of faces in the first user image. The image is uploaded to the server 2 to recognize the rectangular frame of the human face in the second user image. The receiving module 103 also receives a second user image returned by the server 2 including the rectangular frame of the human face detected by the detection module 104 and the rectangular frame of the human face detected by the server 2.

所述確定模組106用於確定所述第二用戶圖像中所述偵測模組104偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框的差異是否小於或等於一預設值。 The determining module 106 is used to determine whether the difference between the rectangular frame of the face detected by the detection module 104 and the rectangular frame of the face recognized by the server 2 in the second user image is less than or Equal to a preset value.

在本實施方式中,所述第二用戶圖像中所述偵測模組104偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框的差異為歐氏距離。即,所述確定模組106確定所述第二用戶圖像中所述偵測模組104偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框之間的歐氏距離是否小於或等於所述預設值。 In this embodiment, the difference between the rectangular frame of the human face detected by the detection module 104 and the rectangular frame of the human face recognized by the server 2 in the second user image is the Euclidean distance. That is, the determining module 106 determines the Euclidean frame between the rectangular frame of the human face detected by the detection module 104 and the rectangular frame of the human face recognized by the server 2 in the second user image. Whether the distance is less than or equal to the preset value.

具體的,請參考圖3,圖中淺色線框為所述偵測模組104偵測到的人臉矩形框,深色線框為所述伺服器2識別出的人臉矩形框。所述確定模組106首先分別確定每個人臉矩形框的四個端點,然後確定兩個人臉矩形框的位置對應的一組端點,例如一組左上角端點、一組左下角端點、一組右上角端點及一組右下角端點,採用歐氏距離演算法計算最接近的一組端點之間的距離。例如圖3中的右下角端點a與b,以所述第二用戶圖像中建立的平面直角坐標系X0Y為例進行說明,假設所述偵測模組104偵測到的人臉矩形框的端點a座標為(X1,Y1),所述伺服器2識別出的人臉矩形框的端點b座標為(X2,Y2),則端點a與端點b之間的歐氏距離d的計算公式為:

Figure 108119744-A0305-02-0010-1
Specifically, please refer to FIG. 3. In the figure, the light-colored line frame is the rectangular frame of the human face detected by the detection module 104, and the dark-colored line frame is the rectangular frame of the human face recognized by the server 2. The determining module 106 firstly determines the four end points of each face rectangular frame, and then determines a set of end points corresponding to the positions of the two face rectangular frames, for example, a set of upper left end points and a set of lower left end points. Point, a set of upper right end points and a set of lower right end points, the distance between the closest set of end points is calculated using the Euclidean distance algorithm. For example, the lower right end points a and b in FIG. 3 are illustrated by taking the planar rectangular coordinate system X0Y established in the second user image as an example. It is assumed that the face rectangle detected by the detection module 104 is The coordinates of the endpoint a of is (X1, Y1), and the coordinates of the endpoint b of the face rectangle identified by the server 2 are (X2, Y2), then the Euclidean distance between the endpoint a and the endpoint b The calculation formula of d is:
Figure 108119744-A0305-02-0010-1

所述確定模組106還用於當確定所述第二用戶圖像中所述偵測模組104偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框的歐氏距離小於或等於所述預設值時,確定所述第二用戶圖像的用戶資訊與所述第一用戶圖像的用戶資訊相同。 The determining module 106 is also used for determining the Euclidean rectangular frame of the face detected by the detection module 104 and the rectangular frame of the face recognized by the server 2 in the second user image. When the distance is less than or equal to the preset value, it is determined that the user information of the second user image is the same as the user information of the first user image.

在本發明的技術方案中,當電子裝置1前後拍攝的不同用戶圖像中的人臉數量相同,且人臉矩形框的差異較小時,確定所述不同用戶圖像中的用戶為同一個人,無需所述伺服器2再次進行用戶的身份識別與驗證,簡化了用戶身份識別的流程,並且在伺服器2提供的圖像識別需要付費的情況下,也節省了費用。 In the technical solution of the present invention, when the number of faces in different user images taken before and after the electronic device 1 is the same, and the difference in the rectangular frames of the faces is small, it is determined that the users in the different user images are the same person. There is no need for the server 2 to perform user identification and verification again, which simplifies the process of user identification, and saves costs when the image recognition provided by the server 2 requires payment.

所述上傳模組102還用於當所述判斷模組105判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量不相同時,將所述攝像單元30拍攝到的第二用戶圖像上傳至所述伺服器2以識別所述第二用戶圖像中的用戶資訊。所述接收模組103還接收所述伺服器2回傳的包含有用戶資訊的第二用戶圖像。 The upload module 102 is also configured to: when the judgment module 105 determines that the number of faces in the second user image is different from the number of faces in the first user image, the camera The second user image captured by the unit 30 is uploaded to the server 2 to identify user information in the second user image. The receiving module 103 also receives a second user image containing user information returned by the server 2.

所述上傳模組102還用於當所述確定模組106確定所述第二用戶圖像中所述偵測模組104偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框的差異大於所述預設值時,將所述攝像單元30拍攝的第二用戶圖像上傳至所述伺服器2以識別所述第二用戶圖像中的用戶資訊。所述接收模組103還接收所述伺服器2回傳的包含有用戶資訊的第二用戶圖像。 The upload module 102 is also used when the determination module 106 determines that the face rectangle detected by the detection module 104 in the second user image and the person recognized by the server 2 When the difference between the face rectangles is greater than the preset value, the second user image taken by the camera unit 30 is uploaded to the server 2 to identify the user information in the second user image. The receiving module 103 also receives a second user image containing user information returned by the server 2.

所述顯示模組107用於在所述顯示單元40上顯示所述攝像單元30拍攝到的用戶圖像,以及在用戶圖像上顯示人臉矩形框及識別到的用戶資訊。 The display module 107 is used to display the user image captured by the camera unit 30 on the display unit 40, and display a rectangular frame of the human face and the recognized user information on the user image.

在本實施方式中,所述顯示模組107藉由開源電腦資料庫(Open Source Computer Vision,OpenCV)在所述顯示單元40上顯示的用戶圖像上繪製所述偵測模組104及伺服器2確定的用戶人臉矩形框,以及所述伺服器2識別到的用戶圖像中的用戶資訊。 In this embodiment, the display module 107 uses the Open Source Computer Vision (OpenCV) to draw the detection module 104 and the server on the user image displayed on the display unit 40 2 The determined rectangular frame of the user's face, and the user information in the user image recognized by the server 2.

在本實施方式中,為便於辨別,所述顯示模組107控制用戶圖像中女性用戶對應的用戶資訊在顯示單元40上顯示為紅色,以及控制用戶圖像中男性用戶對應的用戶資訊在顯示單元40上顯示為藍色。 In this embodiment, to facilitate identification, the display module 107 controls the user information corresponding to the female user in the user image to be displayed in red on the display unit 40, and controls the user information corresponding to the male user in the user image to be displayed on the display unit 40. The cell 40 is displayed in blue.

請參考圖4,為本發明較佳實施方式中的人臉識別方法的流程示意圖。根據不同的需求,根據不同需求,所述流程示意圖中步驟的順序可以改變,某些步驟可以省略或合併。 Please refer to FIG. 4, which is a schematic flowchart of a face recognition method in a preferred embodiment of the present invention. According to different requirements and according to different requirements, the order of the steps in the flow diagram can be changed, and some steps can be omitted or combined.

步驟S101,控制所述攝像單元30每隔預設時間拍攝所述電子裝置1前用戶的圖像。 In step S101, the camera unit 30 is controlled to take an image of the user in front of the electronic device 1 every preset time.

步驟S102,將所述攝像單元30拍攝到的第一用戶圖像上傳至所述伺服器2。 Step S102, upload the first user image captured by the camera unit 30 to the server 2.

步驟S103,接收所述伺服器2識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像。 Step S103, receiving a first user image including a face rectangle and user information recognized and returned by the server 2.

步驟S104,偵測所述攝像單元30拍攝的所述電子裝置1前用戶的第二用戶圖像的人臉矩形框。 Step S104: Detect the face rectangle of the second user image of the former user of the electronic device 1 captured by the camera unit 30.

步驟S105,判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同。當判斷結果為是時,所述流程進入步驟S106;當判斷結果為否時,所述流程進入步驟S109。 Step S105: Determine whether the number of human faces in the second user image is the same as the number of human faces in the first user image. When the judgment result is yes, the process proceeds to step S106; when the judgment result is no, the process proceeds to step S109.

步驟S106,將所述第二用戶圖像上傳至所述伺服器2以識別所述第二用戶圖像中的人臉矩形框。 Step S106: Upload the second user image to the server 2 to identify the face rectangle in the second user image.

步驟S107,確定所述第二用戶圖像中所述電子裝置1偵測到的人臉矩形框與所述伺服器2識別到的人臉矩形框的差異是否小於或等於一預設值。當確定結果為是時,所述流程進入步驟S108;當判斷結果為否時,所述流程進入步驟S109。 Step S107: Determine whether the difference between the human face rectangular frame detected by the electronic device 1 and the human face rectangular frame recognized by the server 2 in the second user image is less than or equal to a preset value. When the determination result is yes, the process proceeds to step S108; when the determination result is no, the process proceeds to step S109.

步驟S108,確定所述第二用戶圖像的用戶資訊與所述第一用戶圖像的用戶資訊相同。 In step S108, it is determined that the user information of the second user image is the same as the user information of the first user image.

步驟S109,將所述攝像單元30拍攝到的第二用戶圖像上傳至所述伺服器2以識別所述第二用戶圖像中的用戶資訊。 Step S109, upload the second user image captured by the camera unit 30 to the server 2 to identify user information in the second user image.

步驟S110,接收所述伺服器2回傳的包含有用戶資訊的第二用戶圖像。 Step S110, receiving a second user image containing user information returned by the server 2.

進一步地,所述方法還包括步驟:在所述顯示單元40上顯示所述攝像單元30拍攝到的用戶圖像,以及在用戶圖像上顯示人臉矩形框及識別到的用戶資訊。 Further, the method further includes the steps of displaying the user image captured by the camera unit 30 on the display unit 40, and displaying a rectangular frame of the face and the recognized user information on the user image.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,舉凡熟悉本案技藝之人士,於爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。 In summary, the present invention meets the requirements of an invention patent, and Yan filed a patent application according to law. However, the above are only the preferred embodiments of the present invention. For those who are familiar with the technique of the present invention, equivalent modifications or changes made in accordance with the spirit of the present invention should be covered by the scope of the following patent applications.

1:電子裝置 1: Electronic device

10:處理器 10: processor

101:攝像模組 101: camera module

102:上傳模組 102: Upload module

103:接收模組 103: receiving module

104:偵測模組 104: Detection Module

105:判斷模組 105: Judgment Module

106:確定模組 106: Confirm module

107:顯示模組 107: display module

20:記憶體 20: memory

30:攝像單元 30: camera unit

40:顯示單元 40: display unit

2:伺服器 2: server

201:人臉圖像資料庫 201: Face Image Database

202:圖像識別程式設計介面 202: Image recognition programming interface

Claims (10)

一種電子裝置,至少包括處理器及攝像單元,其改良在於,所述電子裝置與伺服器通訊連接,所述處理器用於:控制所述攝像單元每隔預設時間拍攝所述電子裝置前用戶的圖像;將所述攝像單元拍攝到的第一用戶圖像上傳至所述伺服器;接收所述伺服器識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像;偵測所述攝像單元拍攝的所述電子裝置前用戶的第二用戶圖像中的人臉矩形框;判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同;當判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量相同時,將所述第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的人臉矩形框;確定所述第二用戶圖像中偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異是否小於或等於一預設值;及當確定所述第二用戶圖像中偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異小於或等於所述預設值時,確定所述第二用戶圖像的用戶資訊與所述第一用戶圖像的用戶資訊相同。 An electronic device comprising at least a processor and a camera unit. The improvement is that the electronic device is in communication with a server, and the processor is used to: control the camera unit to take pictures of the former user of the electronic device every preset time Image; uploading the first user image captured by the camera unit to the server; receiving the first user image including the face rectangle and user information recognized and returned by the server; detecting The face rectangle in the second user image of the user in front of the electronic device captured by the camera unit; determining whether the number of faces in the second user image is the same as that in the first user image The number of faces is the same; when it is determined that the number of faces in the second user image is the same as the number of faces in the first user image, upload the second user image to the server for identification The face rectangular frame in the second user image; determining whether the difference between the face rectangular frame detected in the second user image and the face rectangular frame recognized by the server is less than or equal to one A preset value; and when it is determined that the difference between the face rectangular frame detected in the second user image and the face rectangular frame recognized by the server is less than or equal to the preset value, determining the The user information of the second user image is the same as the user information of the first user image. 如請求項1所述之電子裝置,其中,所述處理器還用於:當判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量不相同時,將所述攝像單元拍攝到的第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的用戶資訊;及接收所述伺服器回傳的包含有用戶資訊的第二用戶圖像。 The electronic device according to claim 1, wherein the processor is further configured to: when determining that the number of human faces in the second user image is different from the number of human faces in the first user image Uploading the second user image captured by the camera unit to the server to identify the user information in the second user image; and receiving the second user information returned from the server User image. 如請求項1所述之電子裝置,其中,所述第二用戶圖像中偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異為歐氏距離,所述處理器還用於:確定所述第二用戶圖像中偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框之間的歐氏距離是否小於或等於所述預設值。 The electronic device according to claim 1, wherein the difference between the face rectangular frame detected in the second user image and the face rectangular frame recognized by the server is the Euclidean distance, and the processing The device is also used to determine whether the Euclidean distance between the human face rectangular frame detected in the second user image and the human face rectangular frame recognized by the server is less than or equal to the preset value. 如請求項1所述之電子裝置,其中,所述處理器還用於:當確定所述第二用戶圖像中偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異大於所述預設值時,將所述攝像單元拍攝到的第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的用戶資訊;及接收所述伺服器回傳的包含有用戶資訊的第二用戶圖像。 The electronic device according to claim 1, wherein the processor is further configured to: when determining that the face rectangle detected in the second user image and the face rectangle frame recognized by the server When the difference is greater than the preset value, upload the second user image captured by the camera unit to the server to identify the user information in the second user image; and receive a response from the server The transmitted second user image containing user information. 如請求項1所述之電子裝置,其中,所述處理器還用於:採用級聯卷積神經網路演算法偵測所述攝像單元拍攝的第二用戶圖像中用戶的臉部及確定人臉矩形框。 The electronic device according to claim 1, wherein the processor is further configured to: use a cascaded convolutional neural network algorithm to detect the user's face and determine the person in the second user image taken by the camera unit Face rectangle. 一種人臉識別方法,應用於一電子裝置,所述電子裝置至少包括攝像單元,所述電子裝置還與伺服器通訊連接,其改良在於,所述方法包括以下步驟:控制所述攝像單元每隔預設時間拍攝所述電子裝置前用戶的圖像;將所述攝像單元拍攝到的第一用戶圖像上傳至所述伺服器;接收所述伺服器識別並回傳的包含人臉矩形框及用戶資訊的第一用戶圖像;偵測所述攝像單元拍攝的所述電子裝置前用戶的第二用戶圖像中的人臉矩形框;判斷所述第二用戶圖像中的人臉數量是否與所述第一用戶圖像中的人臉數量相同; 當判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量相同時,將所述第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的人臉矩形框;確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異是否小於或等於一預設值;及當確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異小於或等於所述預設值時,確定所述第二用戶圖像的用戶資訊與所述第一用戶圖像的用戶資訊相同。 A face recognition method is applied to an electronic device. The electronic device includes at least a camera unit, and the electronic device is also in communication with a server. The improvement is that the method includes the following steps: Take the image of the user in front of the electronic device at a preset time; upload the first user image taken by the camera unit to the server; receive the rectangular frame and the face of the user recognized and returned by the server The first user image of the user information; detecting the face rectangle in the second user image of the user in front of the electronic device captured by the camera unit; determining whether the number of faces in the second user image is The same as the number of human faces in the first user image; When it is determined that the number of human faces in the second user image is the same as the number of human faces in the first user image, upload the second user image to the server to identify the second user image. The face rectangle in the user image; determining whether the difference between the face rectangle frame detected by the electronic device and the face rectangle frame recognized by the server in the second user image is less than or equal to one A preset value; and when it is determined that the difference between the face rectangular frame detected by the electronic device and the face rectangular frame recognized by the server in the second user image is less than or equal to the preset value , It is determined that the user information of the second user image is the same as the user information of the first user image. 如請求項6所述之人臉識別方法,其中,所述方法還包括以下步驟:當判定所述第二用戶圖像中的人臉數量與所述第一用戶圖像中的人臉數量不相同時,將所述攝像單元拍攝到的第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的用戶資訊;及接收所述伺服器回傳的包含有用戶資訊的第二用戶圖像。 The face recognition method according to claim 6, wherein the method further includes the following step: when it is determined that the number of faces in the second user image is different from the number of faces in the first user image At the same time, upload the second user image captured by the camera unit to the server to identify the user information in the second user image; and receive the user information returned by the server The second user image. 如請求項6所述之人臉識別方法,其中,所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異為歐氏距離,步驟“確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異是否小於或等於一預設值”具體包括:確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框之間的歐氏距離是否小於或等於所述預設值。 The face recognition method according to claim 6, wherein the difference between the rectangular frame of the face detected by the electronic device and the rectangular frame of the face detected by the server in the second user image is Europe The step “determine whether the difference between the rectangular frame of the face detected by the electronic device and the rectangular frame of the face recognized by the server in the second user image is less than or equal to a preset value" is specifically The method includes: determining whether the Euclidean distance between the face rectangular frame detected by the electronic device and the face rectangular frame recognized by the server in the second user image is less than or equal to the preset value . 如請求項6所述之人臉識別方法,其中,所述方法還包括以下步驟:當確定所述第二用戶圖像中所述電子裝置偵測到的人臉矩形框與所述伺服器識別到的人臉矩形框的差異大於所述預設值時,將所述攝像單元拍攝到的第二用戶圖像上傳至所述伺服器以識別所述第二用戶圖像中的用戶資訊;及接收所述伺服器回傳的包含有用戶資訊的第二用戶圖像。 The face recognition method according to claim 6, wherein the method further includes the following step: when it is determined that the rectangular frame of the face detected by the electronic device in the second user image is recognized by the server When the difference between the received rectangular frames of the human face is greater than the preset value, upload the second user image captured by the camera unit to the server to identify the user information in the second user image; and Receiving a second user image containing user information returned by the server. 如請求項6所述之人臉識別方法,其中,步驟“偵測攝像單元拍攝的所述電子裝置前用戶的第二用戶圖像的人臉矩形框”具體包括:採用級聯卷積神經網路演算法偵測所述第二用戶圖像中用戶的臉部及確定人臉矩形框。 The face recognition method according to claim 6, wherein the step of "detecting the face rectangle of the second user image of the user in front of the electronic device captured by the camera unit" specifically includes: using a cascaded convolutional neural network The road performance algorithm detects the user's face in the second user image and determines the face rectangle.
TW108119744A 2019-06-06 2019-06-06 Electronic device and face recognition method TWI727337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108119744A TWI727337B (en) 2019-06-06 2019-06-06 Electronic device and face recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108119744A TWI727337B (en) 2019-06-06 2019-06-06 Electronic device and face recognition method

Publications (2)

Publication Number Publication Date
TW202046169A TW202046169A (en) 2020-12-16
TWI727337B true TWI727337B (en) 2021-05-11

Family

ID=74668425

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108119744A TWI727337B (en) 2019-06-06 2019-06-06 Electronic device and face recognition method

Country Status (1)

Country Link
TW (1) TWI727337B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213348A1 (en) * 2021-04-09 2022-10-13 鸿富锦精密工业(武汉)有限公司 Recognition method and apparatus for detecting face with mask, and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201320747A (en) * 2011-06-07 2013-05-16 Intel Corp Automated privacy adjustments to video conferencing streams
TW201530480A (en) * 2014-01-28 2015-08-01 Challentech Internat Corp Intelligent monitoring system
CN105913028A (en) * 2016-04-13 2016-08-31 华南师范大学 Face tracking method and face tracking device based on face++ platform
CN107527040A (en) * 2017-09-07 2017-12-29 维沃移动通信有限公司 A kind of method and apparatus of recognition of face
WO2018192406A1 (en) * 2017-04-20 2018-10-25 腾讯科技(深圳)有限公司 Identity authentication method and apparatus, and storage medium
CN109829436A (en) * 2019-02-02 2019-05-31 福州大学 Multi-face tracking method based on depth appearance characteristics and self-adaptive aggregation network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201320747A (en) * 2011-06-07 2013-05-16 Intel Corp Automated privacy adjustments to video conferencing streams
TW201530480A (en) * 2014-01-28 2015-08-01 Challentech Internat Corp Intelligent monitoring system
CN105913028A (en) * 2016-04-13 2016-08-31 华南师范大学 Face tracking method and face tracking device based on face++ platform
WO2018192406A1 (en) * 2017-04-20 2018-10-25 腾讯科技(深圳)有限公司 Identity authentication method and apparatus, and storage medium
CN107527040A (en) * 2017-09-07 2017-12-29 维沃移动通信有限公司 A kind of method and apparatus of recognition of face
CN109829436A (en) * 2019-02-02 2019-05-31 福州大学 Multi-face tracking method based on depth appearance characteristics and self-adaptive aggregation network

Also Published As

Publication number Publication date
TW202046169A (en) 2020-12-16

Similar Documents

Publication Publication Date Title
US20230206685A1 (en) Decreasing lighting-induced false facial recognition
WO2019104930A1 (en) Identity authentication method, electronic device and computer-readable storage medium
US11321575B2 (en) Method, apparatus and system for liveness detection, electronic device, and storage medium
US9036943B1 (en) Cloud-based image improvement
TWI497247B (en) Data processing device and method for regulating the lighting power of a display
TW201911130A (en) Method and device for remake image recognition
US8749607B2 (en) Face equalization in video conferencing
TW201339987A (en) Electronic device and method for preventing screen peeking
US20190286798A1 (en) User authentication method using face recognition and device therefor
WO2021027537A1 (en) Method and apparatus for taking identification photo, device and storage medium
US10592759B2 (en) Object recognition apparatus and control method therefor
US11367310B2 (en) Method and apparatus for identity verification, electronic device, computer program, and storage medium
WO2016150112A1 (en) Method and apparatus for adjusting brightness of display screen
US9491263B2 (en) Systems and methods for automatically modifying a picture or a video containing a face
CN111062276A (en) Human body posture recommendation method and device based on human-computer interaction, machine readable medium and equipment
TW202009761A (en) Identification method and apparatus and computer-readable storage medium
WO2016165614A1 (en) Method for expression recognition in instant video and electronic equipment
TWI731503B (en) Live facial recognition system and method
WO2021197369A1 (en) Liveness detection method and apparatus, electronic device, and computer readable storage medium
CN109118233B (en) Authentication method and device based on face recognition
CN106033539A (en) Meeting guiding method and system based on video face recognition
US20160350622A1 (en) Augmented reality and object recognition device
TWI727337B (en) Electronic device and face recognition method
CN112052706B (en) Electronic device and face recognition method
CN112507798A (en) Living body detection method, electronic device, and storage medium