Haar filters detect dark/light patterns in the image (like a vertical dark/light/dark pattern for eye/nose/eye area); it is not suited for face recognition.
For face recognition methods in OpenCV refer to this document.
Note that the computer doesn’t learn your face for recognition, it learns to make the difference from other faces. So it’s best to use an available face database with your face added to it for training. The document above details this aspect, too.