Ask Your Question
1

False negatives in Face Detection

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

Mustansar Saeed gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

sarmad gravatar image

How the average of 10 frames is calculated ?

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 220 times

Last updated: Feb 19 '16