How do you call negative images in face detection?

asked 2015-01-24 20:39:44 -0600

kingpin gravatar image

Hello all,

I would like to know how would I go about calling negative samples/images in a face detection program. I've only see it used when creating a custom classifier for a foreign object, for example a banana. I am using the face cascade that comes with OpenCV. Can anyone help me?

edit retag flag offensive close merge delete

Comments

what does 'call negatives' mean ?

do you get too many false positives ?

berak gravatar imageberak ( 2015-01-25 02:30:41 -0600 )edit

I mean how would you reference background images in a face detection program? What function or code can I use to reference them? Yes, I am getting too many false positives.

kingpin gravatar imagekingpin ( 2015-01-25 08:18:32 -0600 )edit
  • "how would you reference background images in a face detection program" i don't think, this is possible.

  • "I am getting too many false positives." try to increase the minNeighbours param in detectMultiScale, until you start to miss positives.

berak gravatar imageberak ( 2015-01-25 09:07:22 -0600 )edit

Thanks, I will change the parameter in my code and see if that helps. But I think it should be possible, others have used negative images of their respective background environment of what not to detect in order to decrease the likelihood of false positives in their code.

kingpin gravatar imagekingpin ( 2015-01-25 11:37:04 -0600 )edit

"others have used negative images.." - in the training phase, yes. but not while doing the detection.

berak gravatar imageberak ( 2015-01-25 11:45:02 -0600 )edit