IP Library Patent Application 16959642
Patent Application
App. No. 16/959,642

METHOD AND APPARATUS FOR FACE RECOGNITION

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
16/959,642
Abstract

The disclosed embodiments provide a face-recognition method and apparatus. The face-recognition method comprises: receiving a face-recognition request from a client; searching, according to a device model of a device in the face-recognition request, a zero-pass-rate-model-configuration table for the device; if the device is found, acquiring angle-configuration information corresponding to the device model from the zero-pass-rate-model-configuration table; and returning the angle-configuration information to the client, thereby facilitating the client in configuring the device according to the angle configuration information and performing face recognition using the configured device.

Claims (77)

1 . A face-recognition method, comprising:

receiving, from a client, a face-recognition request, wherein the face-recognition request comprises a device model of a device where the client is residing;

searching a zero-pass-rate-model-configuration table for the device according to the device model, wherein the zero-pass-rate-model-configuration table is configured to store corresponding relationships between device models having a zero face-recognition pass rate and angle-configuration information, and wherein the angle-configuration information is determined according to data recorded by an event-tracking mechanism of the client while capturing a user performing a face-recognition operation;

in response to finding the device in the zero-pass-rate-model-configuration table, obtaining angle-configuration information corresponding to the device model; and

returning the angle-configuration information to the client, thereby facilitating the client in configuring the device according to the angle-configuration information and performing face recognition using the configured device.

2 . The method of claim 1 ,

wherein the angle-configuration information comprises: a display-rotation angle and an algorithm-recognition angle;

wherein the method further comprises generating the zero-pass-rate-model-configuration table; and

wherein generating the zero-pass-rate-model-configuration table comprises:

acquiring an angle-adjustable device having a zero face-recognition pass rate;

determining whether the angle-adjustable device has a corresponding algorithm output value, wherein the algorithm output value is outputted when the angle-adjustable device performs face recognition successfully;

if so, acquiring a current recognition angle of the angle-adjustable device and using the current recognition angle as the algorithm-recognition angle, wherein the current recognition angle refers to an angle used during face recognition performed by the angle-adjustable device using a face-recognition algorithm;

if not, acquiring a current recognition angle of the angle-adjustable device and correcting the current recognition angle to obtain the algorithm-recognition angle;

determining whether a face displayed in a display of the angle-adjustable device is inverted;

if so, acquiring a current rotation angle of the display and correcting the current rotation angle to obtain the display-rotation angle;

if not, acquiring a current rotation angle of the display and using the current rotation angle as the display-rotation angle; and

generating the zero-pass-rate-model-configuration table according to the device model of the angle-adjustable device having a zero face-recognition pass rate, the algorithm-recognition angle, and the display-rotation angle.

3 . The method of claim 2 , wherein acquiring the device having a zero face-recognition pass rate comprises:

acquiring a plurality of devices in advance;

for each of the plurality of devices, acquiring user-behavior data corresponding to the device, wherein the user-behavior data is recorded by the event-tracking mechanism of the client when capturing the user starting the face-recognition operation and completing the face-recognition operation and/or abandoning the face-recognition operation using the device;

determining a face-recognition pass rate of each device according to the user-behavior data corresponding to each device; and

selecting a device having a zero face-recognition pass rate from the plurality of devices.

4 . The method of claim 2 , wherein determining whether a face displayed in a display of the device is inverted comprises:

acquiring sensor data of the device and display data of the face captured by a camera associated with the device, wherein the sensor data and the display data are recorded by the event-tracking mechanism of the client when capturing the device performing face recognition successfully using default configuration; and

determining, according to the sensor data and the display data, whether the face displayed in the display is inverted.

5 . A face-recognition method, comprising:

sending, from a client a face-recognition request to a server, wherein the face-recognition request comprises a device model of a device where the client is residing, and wherein the face-recognition request is configured to instruct the server to search a zero-pass-rate-model-configuration table for the device according to the device model;

receiving a response from the server;

if the response comprises information indicating that the device has been found and corresponding angle-configuration information, configuring the device according to the angle-configuration information; and

performing face recognition using the configured devices.

6 . The method of claim 5 , further comprising:

if the response comprises only information indicating that the device has been found, performing face-recognition using a default configuration.

7 . The method of claim 5 or 6 , further comprising:

if the response comprises information indicating that the device is not found, acquiring a rotation angle of a built-in view of the device;

determining angle-configuration information of the device according to the rotation angle of the built-in view;

configuring the device according to the determined angle-configuration information; and

performing face recognition using the configured device.

8 . A face-recognition apparatus, comprising:

a receiving unit configured to receive a face-recognition request from a client, wherein the face-recognition request comprises a device model of a device where the client is residing;

a search unit configured to search a zero-pass-rate-model-configuration table for the device according to the device model received by the receiving unit, wherein the zero-pass-rate-model-configuration table is configured to store corresponding relationships between device models having a zero face-recognition pass rate and angle configuration information, and the angle-configuration information is determined according to data recorded by an event-tracking mechanism of the client when capturing a user performing a face-recognition operation;

an acquisition unit configured to, in response to the search unit finding the device, acquire angle-configuration information corresponding to the device model; and

a sending unit configured to return to the client the angle-configuration information acquired by the acquisition unit, thereby facilitating the client in configuring the device according to the angle-configuration information and performing face recognition using the configured device.

9 . The apparatus of claim 8 , wherein the angle-configuration information comprises: a display-rotation angle and an algorithm-recognition angle; wherein the apparatus further comprises a generation unit; and

wherein the generation unit is configured to:

acquire an angle-adjustable device having a zero face-recognition pass rate;

determine whether the angle-adjustable device has a corresponding algorithm output value, wherein the algorithm output value is outputted when the angle-adjustable device performs face recognition successfully;

if so, acquire a current recognition angle of the angle-adjustable device and use the current recognition angle as the algorithm-recognition angle, wherein the current recognition angle refers to an angle used during face recognition performed by the angle-adjustable device by using a face-recognition algorithm;

if not, acquire a current recognition angle of the angle-adjustable device, and correct the current recognition angle to obtain the algorithm-recognition angle;

determine whether a face displayed in a display of the angle-adjustable device is inverted;

if so, acquire a current rotation angle of the display, and correct the current rotation angle to obtain the display-rotation angle;

if not, acquire a current rotation angle of the display, and use the current rotation angle as the display-rotation angle; and

generate the zero-pass-rate-model-configuration table according to the device model of the angle-adjustable device having a zero face-recognition pass rate, the algorithm-recognition angle, and the display-rotation angle.

10 . The apparatus of claim 9 , wherein the generation unit is configured to:

acquire a plurality of devices in advance;

for each of the plurality of devices, acquire user-behavior data corresponding to each device, wherein the user-behavior data is recorded by the event-tracking mechanism of the client when capturing the user starting a face-recognition operation and completing the face-recognition operation and/or abandoning the face recognition operation using the device;

determine a face-recognition pass rate of each device according to the user-behavior data corresponding to each device; and

select a device having a zero face-recognition pass rate from the plurality of devices.

11 . The apparatus of claim 9 , wherein the generation unit is further configured to:

acquire sensor data of the device and display data of the face captured by a camera associated with the device, wherein the sensor data and the display data are recorded by the event-tracking mechanism of the client when capturing the user performing face recognition successfully using a default configuration; and

determine, according to the sensor data and the display data, whether the face displayed in the display is inverted.

12 . A face-recognition apparatus, comprising:

a sending unit configured to send a face-recognition request to a server, wherein the face recognition request comprises a device model of a device in which the face-recognition apparatus is located, and wherein the face-recognition request is configured to instruct the server to search a zero-pass-rate-model configuration table for the device according to the device model;

a receiving unit configured to receive a response from the server;

a configuration unit configured to, if the response received by the receiving unit comprises information indicating that the device has been found and corresponding angle-configuration information, configure the device according to the angle-configuration information; and

a recognition unit configured to perform face recognition using the device configured by the configuration unit.

13 . The apparatus of claim 12 , wherein the recognition unit is further configured to, if the response received by the receiving unit comprises only information indicating that the device has been found, perform face recognition using a default configuration.

14 . The apparatus of claim 12 , further comprising:

an acquisition unit configured to, if the response received by the receiving unit comprises information indicating that the device is not found, acquire a rotation angle of a built-in view of the device; and

a determination unit configured to determine angle-configuration information of the device according to the rotation angle of the built-in view acquired by the acquisition unit, wherein

the configuration unit is further configured to configure the device according to the angle-configuration information determined by the determination unit;

the recognition unit is further configured to perform face recognition using the device configured by the configuration unit.

15 . The method of claim 1 , wherein the device implements an Android™ operating system.

16 . The method of claim 5 , wherein the device implements an Android™ operating system.

17 . The method of claim 5 , wherein the zero-pass-rate-model-configuration table is configured to store corresponding relationships between device models having a zero face-recognition pass rate and angle configuration information.

18 . The apparatus of claim 8 , wherein the device implements an Android™ operating system.

19 . The apparatus of claim 12 , wherein the device implements an Android™ operating system.

20 . The apparatus of claim 12 , wherein the zero-pas s-rate-model-configuration table is configured to store corresponding relationships between device models having a zero face-recognition pass rate and angle configuration information.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 11, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053745/0667 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053663/0280 →