Skip to content

PavanaSakethaRam/Guardian-Vision

Repository files navigation

Guardian Vision

Guardian Vision Logo

Violence detection ML model to detect suspicious activities in real-time through CCTV or any camera, and send immediate alert to the respective authorities.

Overview 🤖

The project aims to develop a system for violence detection using CCTV footage and providing an immediate alert to the police. The system will use advanced image processing and machine learning techniques to analyze the CCTV footage in real-time and detect any violent behavior or actions. Once detected, an automatic alert will be sent to the police, enabling them to respond quickly and take appropriate action. The system has the potential to enhance public safety and reduce crime rates in public areas.

Usage

To use this project, you need to have a webcam connected to your computer. The project will capture the video stream from the webcam and analyze it for any violent activities. If any violence is detected, the project will send an alert to the respective authorities with the location and timestamp of the incident.

Features 🦾

  • Weapon Detection
  • Light/dark mode toggle
  • Enhance the user experience creating highly reactive website.

Flow of the Project 💻

  • Home Page
  • This page help new user to understand our facilities and how our guardian vision works.It provides offer and This deviate user to our user login page.

  • Create Account
  • Helps us to create account in our platform.

  • User Login
  • The user log in to the platform using their registered email and password.

  • User Interface
  • The logged in user ca use our services of using his Webcam for Real-time AI detection of physical violence or can upload a video where the AI detects if there is any physical violence present in it.

  • Webcam Page
  • The User can give the email of his friends and family. Once the webcam start if any voilence detected ,it sends alert to all respective authorities along with the given emails by the User.

  • Video upload Page
  • The User can upload any video in our website after which the AI detects if there is any violence in it. If there is any suspicious activity present in it, the AI sends a image of that particular frame.

    Tech Stack 🧑🏻‍💻

    Client:

  • HTML

  • CSS

  • JAVASCRIPT

  • Bootstrap
  • Server:

  • JSON

  • Node
  • Mchine Learning

  • Python
  • Flask

  • Yolo Models
  • Installation

    Install required packages for JSON server with npm *Path should be the directory where Project is present

      npm i
      npm init -y
      npm install -g json-server

    To Run the json-server on port 8000

      json-server --watch ./database/db.json --port 8000

    Install the Basic libaray

       pip install flask
       pip install flask_wtf
       pip install twilio
       pip install smtplib
       pip install opencv-python opencv-python-headless
       pip install cv2
       pip install ultralytics

    Advantage of Guardian Vision

    #Challenges in Real-world 1.Finding Database for ML model 2.Deployment of ML model on website. 3.Sending alert by sms and Emails.

    #Solution 1.Creating/Finding and framming of database. 2.Deployment of ML model using Flask libaray. 3.Sending alert through Python libaray .

    Support

    For support, email [email protected]

    Team Members 🧑‍🤝‍🧑

    Feedback

    You can reach out to us at [email protected] where you can give feedbacks or report bugs.