Embodiments of the present application relate to the technical field of artificial intelligence, and provide a facial action unit recognition method. The method comprises: obtaining a face image to be recognized, and performing face correction on said face image to obtain a target face image to be recognized; performing feature extraction on said target face image by using a separable convolutional block and an inverted residual block of a pretrained facial action unit recognition model to obtain sub-features of three target-class facial action units; obtaining outputs of the sub-features of the three target-class facial action units by means of an attention mechanism of the facial action unit recognition model; and respectively obtaining a recognition result of each target-class facial action unit according to the outputs of the sub-features of the three target-class facial action units. Implementation of embodiments of the facial action unit recognition method of the present application facilitates improving the efficiency of facial action unit recognition in face images. In addition, the present application further relates to a blockchain technology, and the recognition results can be stored in a blockchain node.
FACIAL ACTION UNIT RECOGNITION METHOD AND APPARATUS, AND ELECTRONIC DEVICE, AND STORAGE MEDIUM