This is java implementation of face detection algorithm