A 3D face image generating method, device and electronic device based on occlusion image are provided in the invention. The method includes identifying target human face image in picture, judging whetthat rotation angle of the target human face is greater than a preset threshold value or not;; identifying feature point information in the target face image by a pre-trained regression model when the rotation angle is greater than a preset threshold value, the first feature point information including first visible feature point information and first invisible feature point information; the first feature point information is inputted to a pre-trained convolution neural network model to obtain a three-dimensional face image corresponding to the target face image. By using the method, the device and the electronic device, not only the problem of difficult generation of the three-dimensional face image due to the recognition and positioning of the feature points caused by the invisibility of the feature points due to the self-occlusion is solved, but also the effect of the generation of the three-dimensional face image is further improved, and the matching degree is improved.
3D face image generating method, device and electronic device based on occlusion image