False negatives in Face Detection
Hi,
I have integrated OpenCv For Android successfully but the problem is it also shows false negatives. Sometimes it show faces when there is not. I have tried to set the setMinFaceSize
to .5, .4,.3.2 all shows fase negativs, How to eradicate false negatives?
there is a
minNeighbours
param in thedetectMultiScale()
call. increase it (like, 3,4,5,6), until you start losing positives.But be aware that avoiding false positives on frame by frame basis is near impossible unless your application is very constrained. A good solution to that is to take into account time and average over 10 frames for example. That works for my application.