Java and haarcascade face and mouth detection - mouth as the nose
问题 Today I begin to test the project which detects a smile in Java and OpenCv. To recognition face and mouth project used haarcascade_frontalface_alt and haarcascade_mcs_mouth But i don't understand why in some reasons project detect nose as a mouth. I have two methods: private ArrayList<Mat> detectMouth(String filename) { int i = 0; ArrayList<Mat> mouths = new ArrayList<Mat>(); // reading image in grayscale from the given path image = Highgui.imread(filename, Highgui.CV_LOAD_IMAGE_GRAYSCALE);