To detect cats using cat face detection with haar cascade classifier and alert user through Telegram.
Once running, the Cataclysm bot will alert you through Telegram that ff"Cataclysm Started {timestamp}" with a timestamp.
When it detects a cat, it will send f"CAT ALERT {timestamp}".
Upon termination, it will send f"Cataclysm Terminated {timestamp}".
- Clone repo
pip install opencv-python python-telegram-bot python-dotenv- Download
IP Webcamon Android phone - Get CAM_URL (append
/videoafter the IP address) - Subscribe to
Cataclysmbot on Telegram (username:@CatSirenBot) - Send a message to get
CHAT_ID - Create
.envfile - Put phone outside
Note: Press Q while being on the camera active window to quit the program.
- Cat face detection algorithm: to detect the entire cat body instead of frontal face (swap to CNN)
- Add user controls from Telegram client
- Deploy application