Face detection method and apparatus, computer device, and storage medium
Abstract:
A face detection method for a computer device includes: obtaining a to-be-detected image; obtaining an initial shape of a current regression tree in a pre-constructed probability regression model; extracting image features from the to-be-detected image and respectively calculating a probability of each of leaf nodes of the current regression tree according to the image features; extracting an error of each of the leaf nodes; determining a shape error of the current regression tree according to the probability and the error of each of the leaf nodes; calculating an estimated shape of the current regression tree according to the initial shape and the shape error; and performing iterative calculation by using the estimated shape as an initial shape of a neighboring next regression tree until a last regression tree in the probability regression model, to obtain an estimated shape of the last regression tree as a detected face shape.
Information query
Patent Agency Ranking
0/0