Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Face detection using OpenCV with Java

Hi,

I am trying to use OpenCV 3.1.0 in a java based face detection program. I am using OpenCV for first time and I have followed this.

Program works but its far from accurate. I have used both lbpcascade_frontalface.xml and haarcascade_frontalface_alt.xml. So I want to improve the program, but I have no idea how to go ahead about it. How OpenCV works, face detection in particular, is totally a black box to me.

Please tell me how should I go ahead to make program more accurate...ant links,resource,tutorials would help.

I read about training classifiers. Is it a solution?

With regards Manish

Face detection using OpenCV with Java

Hi,

I am trying to use OpenCV 3.1.0 in a java based face detection program. I am using OpenCV for first time and I have followed this.

Program works but its far from accurate. I have used both lbpcascade_frontalface.xml and haarcascade_frontalface_alt.xml. So I want to improve the program, but I have no idea how to go ahead about it. How OpenCV works, face detection in particular, is totally a black box to me.

Please tell me how should I go ahead to make program more accurate...ant links,resource,tutorials would help.

I read about training classifiers. Is it a solution?

Edit: For eg., following is the results I got:

image description

image description

image description

image description

image description

With regards Manish