×

Image processing method and device, computer-readable storage medium and electronic device

  • US 10,771,689 B2
  • Filed: 04/24/2019
  • Issued: 09/08/2020
  • Est. Priority Date: 04/28/2018
  • Status: Active Grant
First Claim
Patent Images

1. A method for image processing, the method being applied to an electronic device comprising a first processor, the method comprising:

  • acquiring, by the first processor, a target infrared image and a target depth image, and performing face detection according to the target infrared image to determine a target face region, wherein the target depth image is used to represent depth information corresponding to the target infrared image;

    acquiring, by the first processor, a target face attribute parameter corresponding to the target face region, and performing face matching processing on the target face region according to the target face attribute parameter;

    responsive to that face matching succeeds, performing, by the first processor, liveness detection processing on the target face region according to the target depth image to obtain a liveness detection result; and

    obtaining, by the first processor, a face verification result according to the liveness detection result;

    wherein the electronic device further comprises a second processor and a camera module; and

    acquiring the target infrared image and the target depth image comprises;

    responsive to that a face verification instruction has been detected by the second processor, controlling, by the second processor, the camera module to acquire an infrared image and a depth image and receiving the infrared image and the depth image from the camera module, wherein a time interval between a first moment at winch the infrared image is acquired and a second moment at which the depth image is acquired is less than a first threshold; and

    acquiring, by the first processor, the target infrared image according to the infrared image, and acquiring the target depth image according to the depth image.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×