×

Method and apparatus for determining identity identifier of face in face image, and terminal

  • US 10,402,627 B2
  • Filed: 06/30/2017
  • Issued: 09/03/2019
  • Est. Priority Date: 01/04/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for determining an identity identifier of a face in a face image, comprising:

  • obtaining an original feature vector of a face image, comprising;

    tracking locations of the face in different video images to obtain N consecutive frames of face images; and

    obtaining the original feature vector from a tth frame of face image of the N frames of face images, wherein 1≤

    t<

    N;

    selecting k candidate vectors from a face image database according to the original feature vector, wherein a vector v* in the face image database comprises components [v·

    A,v·



    vT], a feature extraction manner for v is the same as that for the original feature vector, A represents a cross-correlation submatrix in a joint Bayesian probability matrix, B represents an autocorrelation submatrix in the joint Bayesian probability matrix, and k is a positive integer;

    selecting a matching vector of the original feature vector from the k candidate vectors, wherein the matching vector of the original feature vector is a candidate vector of the k candidate vectors that has a shortest cosine distance from a vector [v1,1], and v1 represents the original feature vector;

    determining, according to the matching vector of the original feature vector, an identity identifier that is of the matching vector and that is recorded in the face image database as an identity identifier of a face in the face image;

    storing, into a cache database, the matching vector of the original feature vector and the identity identifier that is of the matching vector and that is recorded in the face image database;

    obtaining an original feature vector of a (t+1)th frame of face image of the N frames of face images, wherein the (t+1)th frame of face image is a next frame of face image of the tth frame of face image;

    selecting a target vector from the cache database according to the original feature vector of the (t+1)th frame of face image, wherein the cache database comprises the matching vector of the original feature vector of the tth frame of face image; and

    when a target distance between the original feature vector of the (t+1)th frame of face image and the target vector is less than a preset threshold, determining an identity identifier that is of the target vector and that is recorded in the cache database as an identity identifier of a face in the (t+1)th frame of face image.

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