Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Haar Cascades: Limiting detectMultiScale to just one set of facial features?

I am currently running OpenCV version 3.4.4 on Python 3.7.1 and designed a program that utilizes the eye haar cascade classifiers. The program runs fine but often misinterprets the center lower lip or one of the nostrils as a false eye. Is this a problem with the cascade I am using? Are there ways to limit my program to only the two most prominent eye features?

Here is an example: image description

While on the subject of Haar Cascades, when using the detectMultiScale function to find the position of the face, I noticed that when the face is moved upwards, the y-value actually decreases. Why might that be the case?

Any and all help is appreciated, B