This Python script sends unrecognized faces captured by your camera to your Telegram account. python3.9!!!
To install the required packages, run the following command:
pip install -r requirements.txt
1 . Replace BOT_TOKEN with your Telegram Bot token obtained from BotFather.
2 . Replace USER_ID with your Telegram user ID. You can use this bot to find your user ID.
3 . Create a folder named "known_faces" and put the photos of the people you want to recognize in it.
4 . Run getFaceEncoding.py to encode the faces in the "known_faces" folder.
5 . Run test.py to start the script.
6 . Enjoy)