https://github.com/vyjayanthipolapragada/cognitive_surveillance
Cognitive Surveillance system -- detect any malicious activity (when person is looking away from camera) and alert though warning popups and email notifications (to the concerned authority)
https://github.com/vyjayanthipolapragada/cognitive_surveillance
email eye-tracking facemesh facial-landmarks head-pose-estimation mediapipe mime opencv os python smtp tkinter
Last synced: 2 months ago
JSON representation
Cognitive Surveillance system -- detect any malicious activity (when person is looking away from camera) and alert though warning popups and email notifications (to the concerned authority)
- Host: GitHub
- URL: https://github.com/vyjayanthipolapragada/cognitive_surveillance
- Owner: VyjayanthiPolapragada
- Created: 2023-11-20T19:06:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-20T19:30:12.000Z (over 1 year ago)
- Last Synced: 2023-11-20T20:34:24.165Z (over 1 year ago)
- Topics: email, eye-tracking, facemesh, facial-landmarks, head-pose-estimation, mediapipe, mime, opencv, os, python, smtp, tkinter
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cognitive_Surveillance
Cognitive Surveillance system to detect for any malicious activity in real-timeReal-time monitoring of attention of an indivdidual, estimated by combining the positions of eye and head.
After observing for any unattentive activity (individual looking away from camera) , alerts are sent through warning popups and email notifications (for the concerned authority)
Used different functions to obtain facial positons and warn accordingly as follows:
1. landmarks.py: Used to locate the facial landmarks using facemesh
2. eye_position.py: Extracts the positions of eye based on pixel count
3. head_position.py: Estimates angle of head rotation, using rodrigue's rotational formula
4. warnings_emails.py: Sends warning popups on the screen and alerts through email notificaitons (including snapshots of the individual)main1.py consists of the main code which combines all the components and effectively serve as a surveillance system
Libraries used: opencv, numpy, tkinter, smtplib, mediapipe, MIMEMultipart, MIMEText, MIMEBase, encoders, os
Worked on Microsoft Visual Studio IDE (efficient result)