அவள் (Tamil: "She") — An AI-powered women safety system combining machine learning threat detection with real-time emergency response, built to protect and empower.
Aval/
├── backend/
│ ├── Training/
│ │ ├── Training.ipynb # Main model training notebook
│ │ └── darktraining.ipynb # Low-light / night scenario training
│ ├── models/
│ │ ├── women_safety_complete_model # Full trained model (Keras/H5)
│ │ ├── women_safety_complete_model # Alternate export format
│ │ ├── women_safety_mobile_integrati# TFLite model for mobile inference
│ │ └── women_safety_model_config.json
│ └── app.py # Python backend server (Flask/FastAPI)
├── frontend/
│ └── index.html # Web frontend
├── .gitignore
├── requirements.txt
└── README.md
- One-tap SOS to instantly notify emergency contacts
- Sends real-time GPS coordinates along with the alert
- Triggers automatically on shake detection
- Continuous real-time location updates to trusted contacts
- Background location tracking during active SOS
- Detects sudden shake gestures via accelerometer
- Activates SOS without requiring the phone to be unlocked
- Trained on women safety scenarios including low-light and night conditions (
darktraining.ipynb) - Complete model available in full and mobile-optimised (TFLite) formats
- Configurable via
women_safety_model_config.json
- Detects unsafe crowd patterns and density using computer vision
- Alerts user when entering a potentially dangerous zone
- Fetches nearby police stations and hospitals using GPS
- Provides distance, contact info, and navigation
- View SOS alert logs and incident history
- Monitor active sessions and user data (with consent)
- Curated self-defense guides accessible from the frontend
| File | Description |
|---|---|
women_safety_complete_model |
Full trained model (Keras / H5 format) |
women_safety_complete_model (alt) |
Secondary export format for serving |
women_safety_mobile_integrati... |
TFLite — optimised for mobile inference |
women_safety_model_config.json |
Model configuration and class mappings |
| Notebook | Purpose |
|---|---|
Training.ipynb |
Main model training pipeline |
darktraining.ipynb |
Training on low-light / night-time scenarios |
| Layer | Technology |
|---|---|
| Backend | Python (Flask / FastAPI) |
| ML Framework | TensorFlow / Keras + TFLite |
| Training | Jupyter Notebook |
| Frontend | HTML5 |
| Location Services | Google Maps API / Browser Geolocation |
| Notifications | SMS / Firebase Cloud Messaging |
- Python 3.9+
- pip
- Jupyter Notebook (for training)
- A modern web browser (for frontend)
git clone https://github.com/th30d4y/Aval.git
cd Avalpip install -r requirements.txtcd backend
python app.pyOpen frontend/index.html in your browser, or serve it:
cd frontend
python -m http.server 8080cd backend/Training
jupyter notebook Training.ipynb
# For low-light training:
jupyter notebook darktraining.ipynbInstall all required packages with:
pip install -r requirements.txtKey dependencies include TensorFlow, Flask/FastAPI, OpenCV, and NumPy. Refer to requirements.txt for the full list.
- Stalin-143 — Stalin
- harriiinnii
This project is open source. See the LICENSE file for details.
அவள் பாதுகாப்பாக இருக்கட்டும்
May She Be Safe