Skip to content

shreyas27092004/crime-rate-prediction

Repository files navigation

Rakshekanetra: Smart Crime Analytics Dashboard

Rakshekanetra is a real-time crime analytics and prediction dashboard designed to empower law enforcement with data-driven insights. Built during a hackathon for the Karnataka Police, this project leverages machine learning, interactive visualizations, and real-time mapping to support smart policing and proactive crime prevention.


Features

  • Crime Trend Analysis Analyze historical crime data to uncover emerging patterns using ML models.

  • Predictive Analytics Identify future crime hotspots based on time, location, and past incident trends.

  • Real-time Mapping Visualize incidents spatially using the Google Maps API for better decision-making.

  • Smart Dashboard Interface Designed for both field officers and command staff, the dashboard is responsive and user-friendly.

  • Interactive UI with Streamlit Dynamic filtering, visualization toggles, and user-driven data exploration.


Tech Stack

Layer Technology Used
Frontend Streamlit
Backend Python
Mapping Google Maps API
ML & Data scikit-learn, pandas, numpy
Visualization Plotly, Streamlit Charts

Screenshot

Dashboard Screenshot


Getting Started

To run this project locally:

  1. Clone the Repository

    git clone https://github.com/shreyas27092004/crime-rate-prediction.git
    cd crime-rate-prediction
  2. Install Dependencies

    Create a virtual environment and install required packages:

    python -m venv venv
    source venv/bin/activate        # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
  3. Add API Key

    Create a .env file (or use secrets.toml if using Streamlit secrets):

    GOOGLE_MAPS_API_KEY=your_api_key_here
    
  4. Run the App

    streamlit run app.py

License

This project is open-source and available under the MIT License.


Contact


About

Rakshekanetra is a smart crime analytics dashboard built for the Karnataka Police during a hackathon. It uses machine learning and real-time mapping to analyze past crimes, predict future hotspots, and support data-driven policing through an interactive and user-friendly interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages