Coder Social home page Coder Social logo

mayureshd-18 / geospatial-crime-analysis-and-prediction Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 25.02 MB

Crime and Criminal Analysis System integrating geospatial, temporal, and demographic analytics for predictive modeling of criminal activities. It employs machine learning for optimizing police resource allocation and incorporates real-time social media scraping for proactive crime detection.

License: GNU General Public License v3.0

CSS 0.07% JavaScript 0.10% Python 0.05% HTML 99.78% TypeScript 0.01%
crime crime-analysis crime-prediction criminal-analysis criminal-prediction

geospatial-crime-analysis-and-prediction's Introduction

Crime Analysis and Prediction

Overview

This project aims to provide comprehensive analysis and insights into crime patterns and trends using various techniques such as map-based analysis, month-based analysis, age-based analysis, crime prediction, crime sentiment analysis, and a model for resource allocation, crime prediction, sentiment analysis for social media comments for finding probable criminal activities.

System Architecture

Untitled - Frame 1

Features

Map-Based Analysis

  • Utilizes maps to visualize crime hotspots, aiding in understanding geographic patterns of criminal activities.
  • Provides detailed views of crime distribution across different regions, enabling targeted interventions and resource allocation.

Month-Based Analysis

  • Analyzes crime data based on months to identify seasonal trends and variations in criminal activities.
  • Helps in understanding temporal patterns and planning preventive measures accordingly.

Age-Based Analysis

  • Focuses on age demographics to study crime trends for women and sensitive age groups like the elderly and children.
  • Provides insights into vulnerable age categories and potential areas for social interventions.

Crime Predictor

  • Utilizes machine learning models to predict potential crime occurrences based on historical data and relevant factors.
  • Aids law enforcement agencies in proactive planning and resource allocation.

Crime Sentiment Analysis

  • Analyzes public sentiment related to crime through social media and other sources.
  • Provides a sentiment score to gauge public perception and concerns regarding safety and security.

Resource Allocation Model

  • A model for finding the nearest police station containing needed resources for the user-reported crime.
  • Maximizes efficiency in resource utilization and response to varying crime scenarios.

Criminal prediction Model

  • A model for predicting the most probable criminals based on the previous data for criminals including the time range, the locations of the crimes, and the crime type.

Tech stack

  • Javascript: Integrating Google Maps API
  • Python: Machine learning models
  • Html/CSS: Website design
  • Flask: Prediction model deployment
  • Firebase: Realtime data storage and deployment
  • Streamlit: Other models deployment
  • Huggingface: Other models deployment
  • AWS Amplify: Website deployment

Installation

  1. Make Sure you have Python 3.x and Node.js installed in your system installed on your system.

  2. Clone the repository:

    git clone https://github.com/CID123456/crime-analysis-project.git
    
  3. Install dependencies in backend:

    cd backend
    pip install -r requirements.txt
    python app.py
    
  4. Install live-server

    npm install live-server
    
  5. Run in root directory (containing the index.html):

    live-server
    

Demo video

Demo video link - https://youtu.be/gC80tkqQN64

geospatial-crime-analysis-and-prediction's People

Contributors

mayureshd-18 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.