Overlapping face detection in OpenCV -
first let me give information i'm trying do.
i'm working on face verification problem using profile faces, , first step face detection. i'm using opencv face detector 'haarcascade_profileface.xml'. problem is, detector not find faces consistently. not consistent mean, finds face in region, finds face bigger, smaller , both. want find same region face time.
i'm adding images tell problem better. can find them here.
what should overcome multiple face detection in same area (overlapping face detection)?
the first thing came mind increasing minneighbors parameter, causes detection rate drop don't want it. think of applying image stabilization algorithm on facial images, think expensive. if give me advice on overcoming problem glad.
i should mention i'm using opencv 2.4.5 , set minneighbor parameter 4, scalefactor 1.75 , did not set size limitation.
thanks in advance,
regards,
güney
if your'e detecting faces video, can apply filter on bounding box keep bounding box change smoothly. reduce "inconsistencies" in face bounding box.
currentframeboundingbox = a*prevframeboundingbox + (1-a)*detectedboundingbox
as larger, give more weight previous frame bounding box , reduce inconsistencies.
you every coordinate in bounding box.
Comments
Post a Comment