https://github.com/asmi-va/women_safety_analysis
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Asmi-va
- Language: Jupyter Notebook
- Default Branch: main
- Size: 22.2 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Women Safety Analytics
Overview
This project is designed to enhance women's safety through real-time video analysis. It uses machine learning and computer vision techniques to detect faces, classify gender, identify gestures, and generate alerts based on suspicious behavior. Key functionalities include: - Face detection - Gender classification - Gesture recognition - Real-time alert system for lone women and suspicious gestures
Features
- Face Detection: Uses OpenCV's pre-trained model for detecting faces in video frames.
- Gender Classification: Classifies detected faces into male or female using a deep learning model.
- Gesture Recognition: Placeholder for gesture detection model (needs implementation).
- Alert System: Sends email alerts and displays on-screen notifications for detected anomalies, lone women, or suspicious gestures.
Setup
Prerequisites
- Python 3.x
- OpenCV
- TensorFlow (for gesture recognition, if applicable)
- NumPy
- smtplib (for sending email alerts)
Installation
Clone the Repository
bash git clone(https://github.com/Asmi-va/women_safety_analysis/new/main?readme=1) cd repositoryInstall Dependencies
bash pip install opencv-python numpyDownload Pre-trained Models
- Download the following models and place them in the project directory:
- Face detection model
- Age detection model
- Gender detection model
- [Gesture recognition model]
- Download the following models and place them in the project directory:
Configure Email Alerts
- Update the
EMAIL_HOST,EMAIL_PORT,EMAIL_HOST_USER,EMAIL_HOST_PASSWORD, andALERT_RECEIVERvariables in the code with your SMTP server details and email addresses.
- Update the
Running the Application
Start the Script
bash python women_safety_analysis.pyTerminate the Script
- Press
qin the OpenCV window to stop the video capture.
- Press
Project Structure
women_safety_analysis/
├── women_safety_analysis.py
├── opencv_face_detector.pbtxt
├── opencv_face_detector_uint8.pb
├── age_deploy.prototxt
├── age_net.caffemodel
├── gender_deploy.prototxt
├── gender_net.caffemodel
├── gesture_recognition_model.h5
├── women_safety.log
└── README.md
Known Issues
- Gesture recognition model is currently a placeholder and needs to be implemented.
- Ensure all models are correctly downloaded and paths are updated in the script.
Contributing
Feel free to contribute to this project by opening issues or submitting pull requests. For detailed contribution guidelines, please refer to CONTRIBUTING.md.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Owner
- Name: asmi
- Login: Asmi-va
- Kind: user
- Repositories: 1
- Profile: https://github.com/Asmi-va