Running this script will open your webcam and detect any number of faces in front of it.
3.9
- open cmd(window) or terminal(linux)
- type: pip3 install -U opencv-python
- download file haarcascade_frontalface_default.xml & put it in the current directory.
- and enjoy!