Real time Face Detection using OpenCV with Java (This code is not compatible with opencv 3)
Note:
to use this code with Opencv 3 see this issue
See this video to know how to use and develop this code :
See this video first to know how to install opencv and configure it with netbeans