I trained a classifier for face detection using opencv_traincascade based on LBP features. When I run cascade.xml on a face, I get many bounding boxes (it is not the best classifier in the world). For generalisability, I make no assumptions on the data and assume the bounding box of maximum size will give me the face region. Sadly, this is not always the case.
Is there any way to solve this problem or do I need a better classifier?