Using OpenCV and Haarcascade
You can get the haarcascade xml files from this github link that is provided by OpenCV.
Download the files that is needed in the local directory and use it.
It correctly detects the face and eye but misinterprets the mouth as eyes too.