Ask Your Question

False negatives in Face Detection

asked 2016-02-19 04:35:56 -0500

Mustansar Saeed gravatar image


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?

edit retag flag offensive close merge delete



there is a minNeighbours param in the detectMultiScale() call. increase it (like, 3,4,5,6), until you start losing positives.

berak gravatar imageberak ( 2016-02-19 04:40:15 -0500 )edit

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-02-19 06:19:31 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-19 17:27:23 -0500

sarmad gravatar image

How the average of 10 frames is calculated ?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-19 04:35:56 -0500

Seen: 91 times

Last updated: Feb 19 '16