User permission allocation method and device
AssigneeHuawei Technologies Co., Ltd.
InventorsJiali Fu, He Wei
Life of this patent
Estimating the term…
Abstract
A user permission allocation method includes acquiring currently collected facial feature information of a user; determining a difference degree of the current facial feature information of the user according to the acquired facial feature information of the user and facial feature information included in stored standard sample information; and allocating a user permission to the user according to the determined difference degree. Compared with a manner of using a fixed face threshold, a difference degree of current facial feature information of the user is determined, and when a user permission is allocated to the user, an external factor that affects the collected facial feature information is used as a reference factor.
Claims17
A user permission allocation method performed by a user permission allocation device, comprising:
- acquiring, by a processor of the user permission allocation device, currently collected image information, wherein the currently collected image information comprises current facial feature information of a user;
- determining, by the processor, a difference degree of the current facial feature information of the user and facial feature information comprised in stored standard sample information;
- adjusting, by the processor, a matching threshold corresponding to the standard sample information according to the difference degree to obtain an adjusted matching threshold by:
- calculating, by the processor, a difference between the difference degree and a preset difference threshold;
- determining, by the processor, an adjustment amplitude of the matching threshold corresponding to the difference according to a preset correspondence between the difference and the adjustment amplitude of the matching threshold;
- comparing the difference degree with the preset difference threshold;
- keeping the matching threshold corresponding to the standard sample information as the adjusted matching threshold in response to the difference degree being equal to the preset difference threshold;
- increasing the matching threshold corresponding to the standard sample information to obtain a second adjusted matching threshold or keeping the matching threshold as the adjusted matching threshold in response to the difference degree being less than the preset difference threshold;
- and
- decreasing, by the processor, the matching threshold corresponding to the standard sample information by the adjustment amplitude to obtain the adjusted matching threshold in response to the difference degree being greater than the preset difference threshold;
- determining, by the processor, a matching degree of the current facial feature information of the user according to the adjusted matching threshold;
- and
- allocating, by the processor, a user permission to the user according to the matching degree.
A user permission allocation device, comprising:
- a non-transitory computer readable medium having instructions stored thereon;
- and
- a processor coupled to the non-transitory computer readable medium and configured to execute the instructions, which cause the processor to be configured to:
- acquire currently collected image information, wherein the currently collected image information comprises current facial feature information of a user;
- determine a difference degree of the current facial feature information of the user facial feature information comprised in stored standard sample information;
- adjust a matching threshold corresponding to the standard sample information according to the difference degree to obtain an adjusted matching threshold, wherein, to adjust the matching threshold, the instructions further cause the processor to be configured to:
- calculate a difference between the difference degree and a preset difference threshold;
- determine an adjustment amplitude of the matching threshold corresponding to the difference according to a preset correspondence between the difference and the adjustment amplitude of the matching threshold;
- compare the difference degree with the preset difference threshold;
- decrease the matching threshold corresponding to the standard sample information by the adjustment amplitude to obtain the adjusted matching threshold in response to the difference degree being greater than the preset difference threshold;
- keep the matching threshold corresponding to the standard sample information as the adjusted matching threshold in response to the difference degree being equal to the preset difference threshold;
- and
- increase the matching threshold corresponding to the standard sample information to obtain a second adjusted matching threshold or keeping the matching threshold as the adjusted matching threshold in response to the difference degree being less than the preset difference threshold;
- determine a matching degree of the current facial feature information of the user according to the adjusted matching threshold;
- and
- allocate a user permission to the user according to the matching degree.
An apparatus, comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions, which cause the processor to be configured to:
- acquire currently collected image information, wherein the currently collected image information comprises current facial feature information of a user and external environment information;
- determine a difference degree of the current facial feature information of the user facial feature information comprised in stored standard sample information;
- adjust a matching threshold corresponding to the standard sample information according to the difference degree to obtain an adjusted matching threshold, wherein to adjust the matching threshold, the instructions further cause the processor to be configured to:
- calculate a difference between the difference degree and a preset difference threshold;
- determine an adjustment amplitude of the matching threshold corresponding to the difference according to a preset correspondence between the difference and the adjustment amplitude of the matching threshold;
- compare the difference degree with the preset difference threshold;
- decrease the matching threshold corresponding to the standard sample information by the adjustment amplitude to obtain the adjusted matching threshold in response to the difference degree being greater than the preset difference threshold;
- keep the matching threshold corresponding to the standard sample information as the adjusted matching threshold in response to the difference degree being equal to the preset difference threshold;
- and
- increase the matching threshold corresponding to the standard sample information to obtain a second adjusted matching threshold or keeping the matching threshold as the adjusted matching threshold in response to the difference degree being less than the preset difference threshold;
- determine a matching degree of the current facial feature information of the user according to the adjusted matching threshold;
- and
- allocate a user permission to the user according to the matching degree.
Dependencies are inferred from the claim text.