Human image optimization method capable of automatically detecting mask in human face key areas

The invention discloses a human image optimization method capable of automatically detecting mask in human face key areas. The human image optimization method mainly includes two steps of human face detection and image smoothing, wherein the step of human face detection includes: using an adaboost algorithm, haar features and a cascade detector to detect a human face area, adopting a three-part five-hole rule to roughly divide a human face into several areas, judging positions of organs of the human face according to a binarization result of a picture, haar features and integral projection, and taking the organs which are detected as mask; using a principle of double-index edge smoothness maintaining filtering to perform image smoothing on a skin portion of the human face, and using the mask to cover the picture after being smoothed. The human image optimization method has high adaptive ability and reliability and is more accurate in organ detection and edge smoothness maintaining of the human face.

[1]  Michael Unser,et al.  Bi-Exponential Edge-Preserving Smoother , 2012, IEEE Transactions on Image Processing.