install opnecv-python
pip install opencv-python
download hearcascade files.
wget https://raw.githubusercontent.com/kipr/opencv/refs/heads/master/data/haarcascades/haarcascade_frontalface_default.xml
wget https://raw.githubusercontent.com/Aravindlivewire/Opencv/refs/heads/master/haarcascade/haarcascade_eye_tree_eyeglasses.xml
python main.py
Press 'q' key.
jedipunkz