Skip to content

GitJd28/evidence-search-system

Repository files navigation

NATIONAL EVIDENCE INTELLIGENCE SYSTEM (NEIS)

AI-Powered Visual Evidence Matching for Indian Law Enforcement

Convolve 4.0 – Pan IIT AI/ML Hackathon Submission

Python 3.8+ | Qdrant Vector Database | MIT License

THE PROBLEM: TIME IS JUSTICE

In modern law enforcement, time is the most critical resource. Yet investigations often take years, serial offenders continue unchecked, and vital connections between crime scenes remain undiscovered.

The Current Crisis

  • Serial offenders evade capture because linking cases takes years
  • Justice is delayed due to inefficient evidence correlation
  • Officers spend nearly 40% of investigation time on manual cross-referencing
  • Cross-jurisdictional connections between crimes are frequently missed
  • Evidence from closed cases remains unused, despite its potential to solve active investigations

Core problem: An officer has no way to instantly know whether a knife found today appeared in a case from three years ago in another city or state.

THE SOLUTION: NATIONAL EVIDENCE INTELLIGENCE SYSTEM

NEIS is an AI-powered prototype that enables law enforcement agencies to store, analyze, and connect physical evidence across all cases—active, unsolved, or closed—at a national scale.

How the System Works

  1. An officer photographs physical evidence at a crime scene
  2. The system stores the image along with structured case metadata (date, location, status)
  3. AI generates a semantic embedding of the evidence
  4. The system searches the entire evidence database for visually similar items
  5. Instant alerts highlight connections across cases

Example alert: “This weapon appears in two other cases: one UNSOLVED and one CLOSED.”

This enables officers to investigate leads immediately instead of discovering them years later.

KEY FEATURES

1. MULTI-EVIDENCE, MULTI-CASE LINKING

This is the core capability of NEIS and the most impactful feature for detecting serial crimes.

When new evidence is uploaded, the system automatically:

  • Searches across all cases, including cold and closed cases

  • Flags links such as:

    • “Similar evidence found in Case-2023-045 (UNSOLVED)”
    • “Also appears in Case-2021-102 (CLOSED)”
  • Automatically connects multiple crime scenes involving similar evidence

Impact:

  • Serial crimes detected in hours instead of years
  • Cold cases provide actionable clues for active investigations
  • Cross-jurisdictional crime patterns emerge automatically

A closed case from 2022 may contain the same weapon used in a present-day unsolved case. Without NEIS, such a connection would likely never be discovered.

2. VISUAL SIMILARITY SEARCH

The system does not rely on exact image matches.

It successfully identifies:

  • The same weapon photographed from different angles
  • Evidence under varying lighting or image quality
  • Objects that are similar but not identical

The AI understands semantic similarity, not pixel-level matching, making it suitable for real-world police evidence.

3. EXPLAINABLE AI FOR LEGAL ADMISSIBILITY

Every AI-generated match includes a clear explanation to support legal scrutiny.

For each result, the system provides:

  • Confidence score (e.g., “87% similarity”)
  • Primary reason for the match (weapon type, tool category, etc.)
  • Detected visual features contributing to the match
  • Natural-language explanation of why the connection was made

This ensures transparency and supports court-admissible AI-assisted evidence analysis.

4. CASE STATUS INTELLIGENCE

NEIS differentiates evidence relevance based on case status.

Unsolved Cases

  • High-priority alerts
  • Marked as “Active Lead – Immediate Investigation Recommended”
  • Directly assist in solving ongoing cases

Closed Cases

  • Lower priority but preserved for reference
  • Marked as “Historical Reference – May Provide Context”
  • Can reveal patterns, suspects, or forensic similarities

A closed case may still contain forensic or contextual data critical to solving a new crime.

5. ANALYTICS AND DASHBOARD

The dashboard provides real-time insights, including:

  • Total evidence items indexed
  • Active versus closed cases
  • Number of cross-case connections detected
  • Evidence timelines and pattern visualization

This gives investigators and supervisors an overview of trends and system impact.

SYSTEM ARCHITECTURE AND TECHNOLOGY

High-Level Pipeline

Evidence Image → Vision AI Embedding → Vector Storage → Similarity Search → Multi-Case Linking and Alerts

Tech-Stack

Component Technology Reason
Vision AI CLIP (OpenAI) Semantic understanding of images
Vector Database Qdrant Fast similarity search with metadata filtering
Backend Flask (Python) Lightweight and production-ready
Frontend HTML, CSS, JavaScript Simple and accessible

WHY QDRANT IS CENTRAL TO NEIS

Qdrant functions as the intelligence layer of the system, not just a database.

1. Semantic Similarity Search

Law enforcement requires “find similar evidence,” not “find identical images.”

Qdrant enables:

  • Cosine similarity-based vector search
  • Robust matching despite image variations
  • Real-world visual evidence comparison

2. Metadata-Based Filtering

Visual similarity can be combined with structured case data in a single query.

results = qdrant.search(
    vector=weapon_embedding,
    filter={
        "case_status": "UNSOLVED",
        "year": 2024,
        "location": "Delhi"
    }
)

This hybrid search is critical for investigative workflows.

3. Persistent and Reliable Storage

  • Long-term evidence retention
  • Disk persistence
  • Crash and restart safety

4. High Performance

  • Searches over 100,000+ evidence items in under 100 milliseconds
  • Enables real-time alerts during investigations
  • Scales from a single police station to national deployment

5. Offline, On-Premises Deployment

Essential for Indian law enforcement:

  • No internet dependency
  • Secure, local infrastructure
  • Sensitive data never leaves the premises

REAL-WORLD IMPACT

Time Savings

Before NEIS:

  • Manual review of thousands of images
  • Weeks of investigation for a single connection
  • Many connections were missed entirely

With NEIS:

  • Evidence uploaded once
  • Results returned in seconds
  • All possible connections surfaced automatically

Estimated reduction in cross-referencing time: 95%

Crime Prevention Scenario

  • January 2024: Knife used in an unsolved murder in Mumbai
  • June 2024: A similar knife was found in a robbery in Delhi
  • NEIS flags a match across cases
  • Investigation links the suspect
  • Serial offender apprehended within months instead of years

INSTALLATION AND QUICK START

# Clone the repository
git clone https://github.com/yourusername/evidence-search-system.git
cd evidence-search-system

# Create virtual environment
python -m venv venv
venv\Scripts\activate   # Windows
# source venv/bin/activate  # Mac/Linux

# Install dependencies
pip install -r requirements.txt

# Run the application
python app.py

Access the system at: http://127.0.0.1:5000

First run downloads the AI model (~600MB) and may take 2–3 minutes.

DEMO

Three-minute video demonstration covering:

  • Uploading evidence from an unsolved case
  • Automatic cross-case alert generation
  • Linking to a closed case
  • Investigative outcome

ETHICS, PRIVACY, AND COMPLIANCE

Data Security

  • Encrypted evidence storage
  • Role-based access control
  • Full audit trail
  • On-premises deployment

Legal Compliance

  • Adheres to IT Act, 2000
  • Aligns with the Indian Evidence Act, 1872
  • Explainable AI outputs
  • Human-in-the-loop decision making

BUILT FOR

Convolve 4.0 – Pan IIT AI/ML Hackathon Track: Qdrant – Multi Intelligent Agent Systems

AUTHOR

Janhavi Deo Vishwakarma Institute of Technology

About

AI-Powered Visual Evidence Matching for Indian Law Enforcement using Qdrant Vector Search - Convolve 4.0 Hackathon Submission

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors