The invention discloses a method and a device for generating a human face cartoon based on
deep learning, wherein the method comprises the following steps: acquiring a personal image, and calibrating77 facial feature points; performing re-
estimation and rotation operations to obtain an image of the human face with a positive standard posture; constructing a rectangular frame of the human face according to the image; zooming for three times in an equal ratio to perform
cropping, and constructing a
human head image block; at the same time,
cropping an image corresponding to the rectangular frame of the human face, performing
naturalization processing, sequentially feeding to a pre-trained human face and facial feature multi-
label classification deep convolutional neural prediction network,and obtaining the gender and facial feature attribute labels of the human face; according to the images corresponding to the gender and facial feature attribute labels of the human face, the
human head image block and the rectangular frame of the human face, selecting corresponding materials from a cartoon material
library, performing corresponding deformation
processing, and obtaining cartoon materials of the facial features, the hair and the
human skin; then, performing splicing
processing; finally, obtaining a cartoon image. In the embodiment of the present invention, intelligent drawing of human face cartoon can be realized, and any manual assistance is not required.