Embodiments of the present application provide an identity
authentication method and device, a storage medium and an electronic device. The method comprises: in response to a play instruction associated with a
target action, obtaining K frames of face images to be processed, and then inputting the K frames of face images into a pre-trained recognition model respectively to obtain K recognition results, wherein each of the K recognition results comprises a probability of whether a frame of face image input is a real face and a probability of whether a target part of the frame of face image is in a target state, and the target part comprises different face parts performing different target actions; and then performing
authentication on a face to be recognized according to the K recognition results to obtain a target
authentication result, wherein the target authentication result comprises whether the face to be recognized is a real face and whether the face to be recognized performs the
target action. Through the present application, the problem that identity authentication is too dependent on key point positioning accuracy in related art, resulting in low accuracy and efficiency of identity authentication, can be solved.