Skip to content

Saheli, meaning 'female best friend' in Hindi, is an innovative mobile application designed to ensure the safety and security of women, empowering them to navigate through various situations confidently. Developed as a part of the Google Solution Challenge hackathon 2024

License

thisispriyanshu/saheli

Repository files navigation

Saheli - Your Ultimate Safety Companion

Saheli, meaning 'female best friend' in Hindi, is an innovative mobile application designed to ensure the safety and security of women, empowering them to navigate through various situations confidently. Developed as a part of the Google Solution Challenge hackathon 2024, Saheli app is built using Flutter and integrating cutting-edge technologies and thoughtful features to address the pressing issue of women's safety.

YouTube Video Demo Link (1 min) : https://youtu.be/GjfN3swoP4Q

YouTube Video Demo Link (2 min) : https://www.youtube.com/watch?v=al7dooPSCwM

Features:

  • SOS Alert: Women can swiftly send their location to pre-set trusted contacts in case of emergencies, ensuring immediate assistance.

  • Safe Route: Utilizes Google Maps API and K-means clustering ML algorithm to provide the safest and shortest path to the destination, enhancing navigation security.

  • Violence detection with smart Glasses: Using integrated smart glasses, if any type of violence is detected against the user through our ML model, the app asks the user to response, if no response is received in 60 second, it sends SOS broadcast to emergency contacts and police.

  • Accident Prevention: Utilizing Flutter sensor controller, while riding through the safe route, enhance your safety by turning on harsh brake detector, which produces quick alert on detecting rough riding or accidents.

  • Regular safety assurance mode: Turn on this mode, to regularly receive the safety assurance notification using a background service, to ensure your safety even while you are not using Saheli.

  • Emergency Services Locator: Quickly access nearby police stations, hospitals, and bus stands from the current location, ensuring immediate access to help.

  • Helpline Directory: Comprehensive list of important helpline numbers essential during emergencies, facilitating quick access to support services.

  • Fake Caller: Activate a fake incoming call feature by shaking the phone or manually triggering, providing a discreet exit strategy from potentially unsafe situations.

  • Scheduled Fake Caller: Set scheduled fake calls with customized name, number, and timing, offering a seamless escape plan.

  • AI Chatbot (Sakha): Integrated AI chatbot using Gemini AI, VERTEX AI API and Dialogflow which is trained on women's safety, providing guidance, tips, and assistance during emergencies, with pre-added suggestions.

  • Crowdsourced Safety Zones: Empower users to report unsafe areas and identify verified safe zones, fostering community-driven safety initiatives.

  • Offline Accessibility: Ensure core functionalities remain accessible even without internet connectivity, prioritizing usability in diverse environments.

  • Audio-Video Recording: Activate automatic audio-video recording with SOS alerts, capturing real-time environment data for immediate assistance or legal evidence.

Purpose:

Saheli aims to create a safer environment for women by leveraging technology and community engagement. Our mission is to empower women with tools and resources that enhance their safety and provide peace of mind, fostering a society where every woman feels secure and supported. With Saheli, we aim to enable every female to shine bright and grab opportunities without hesitating for insecurities.

Architecture

architecture_diagram_new PNG

Folder Structure

  • backend: Backend code built in Nodejs and Expressjs and database as Google Firestore where it has all user routes as well safe route.
  • frontend/saheli_app: Flutter code of Saheli App.
  • gemini-chatbot: RAG Based chatbot built with Gemini AI and Llama_index.
  • real-time-video-detection: Machine learning code built with Tensforflow and Opencv to detect violence in video
  • safe-route: Safe-Route Model trained
  • saheli_web: Saheli Website code in Nextjs
  • smart-glasses-feature: Raspberry Pi code to connect smart glasses and take realtime videos as well send sos.

How to run the Frontend(Flutter):

  1. Clone the repository:
    git clone https://github.com/thisispriyanshu/saheli.git
  2. Navigate to the project directory Saheli/frontend/saheli_app:
    cd saheli/frontend`/saheli_app
  3. Download the the zip repository of audioplayers library from here https://github.com/bluefireteam/audioplayers/tree/master/packages/audioplayers and add the path in the pubspec.yaml file in your directory like this
    audioplayers:
     path: E:\saheli\audioplayers-main\packages\audioplayers
    
  4. Get dependencies Run the following command to fetch dependencies using pub:
    flutter pub get
  5. Connect your device or start an emulator/simulator.
  6. Run the app: Run the main.dart file using the flutter run command:
    flutter run lib/main.dart

How to run the backend(NodeJS):

  1. Clone the repository:
    git clone https://github.com/thisispriyanshu/saheli.git
  2. Navigate to the project directory Saheli/backend:
    cd saheli/backend
  3. Open terminal and run npm i to install all dependencies:
    npm i
  4. Create .env in root folder and add some secret keys in .env file:
    GEMINI_API_KEY =
    GOOGLE_MAPS_API_KEY=
    SECRET_KEY=
    PORT=
    
  5. Now in terminal we can run npm start to start the server on mentioned port in .env otherwise it will by default run in PORT:8080:
    npm start

Technologies Used:

  • Flutter & Dart (Frontend)
  • Node.js (Backend)
  • Google Maps API
  • K-means Clustering
  • Firebase (Authentication, Firestore)
  • Dialogflow
  • Gemini AI API
  • Vertex AI API
  • Gemma
  • Compute Engine (Deployment)
  • Tensorflow
  • OpenCV
  • Raspberry PI
  • CNN (VGG-16)

Application Images

Further Enhancement Ideas:

  1. Community Engagement Campaigns: Organize workshops, webinars, or awareness campaigns to educate and empower women on safety practices and app usage.

  2. Partnering with governments: We want to collaborate with government authorities in this mission to get street lighting data, crime data, to further empower our safety route feature.

  3. Partnerships with Local Authorities: Collaborate with law enforcement agencies and local authorities to integrate Saheli into existing safety infrastructure and emergency response systems.

  4. Gamification Elements: Introduce gamification elements within the app to incentivize users to actively contribute to the crowdsourcing of safe zones and report unsafe areas.

  5. Real-time Safety Alerts: Implement a feature that provides real-time safety alerts based on user location and reported incidents, keeping users informed about potential risks in their vicinity.

  6. Peer Support Networks: Facilitate the creation of peer support networks within the app, allowing users to connect with nearby individuals for assistance or companionship during travel or emergencies.

Impact & UN Sustainable Development Goals:

image image image image

Goal 4: Quality education

  • Self-defense knowledge: Equips women with practical skills for personal safety and builds confidence.
  • Crime awareness: Increases understanding of risks and empowers informed choices, promoting safety for all.
  • Self-empowerment topics: Builds confidence, resilience, and critical thinking skills, fostering overall well-being and empowerment.

Goal 5: Achieve gender equality and empower all women and girls

  • Empowers women: Features like SOS, self-defense information, and the AI chatbot enhance security and confidence, allowing women to navigate their environments more freely.
  • Reduces violence: Safer journeys, proactive alerts, and community-driven safety reporting decrease women's vulnerability to violence and harassment.
  • Increases participation: Freedom from fear and improved safety encourage women to participate more fully in public life, education, and employment.

Goal 11: Sustainable cities and communities

  • Safer public spaces: Saheli empowers women to utilize public spaces freely, fostering inclusion and vibrant communities.
  • Community involvement: Crowdsourced data on unsafe areas and verified safe zones improve safety mapping and awareness for everyone.
  • Empowered citizens: By promoting women's safety and participation, Saheli contributes to a more equitable and sustainable urban environment.

Goal 16: Peace, justice and strong institutions

  • Reduces violence and crime: By empowering women and promoting safer communities, Saheli contributes to a decrease in violence and crime overall.
  • Strengthens institutions: Increased trust and collaboration between community members and law enforcement agencies can be fostered through Saheli's features.
  • Promotes justice: By providing women with tools and resources to report abuse and seek help, Saheli contributes to a more just society.

How to Contribute:

Contributions to Saheli are welcome! If you have ideas for new features, improvements, or bug fixes, please feel free to submit a pull request.

About Team

License:

This project is licensed under the MIT License.

About

Saheli, meaning 'female best friend' in Hindi, is an innovative mobile application designed to ensure the safety and security of women, empowering them to navigate through various situations confidently. Developed as a part of the Google Solution Challenge hackathon 2024

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •