Skip to content

Phase 4.1: Build Emergency Vehicle Detector & Corridor Logic #11

Description

@archittmittal

Goal

Automatically detect emergency vehicles and create green corridors.

Tasks

  • Extend YOLOv8 logic to specifically flag 'bus' or 'truck' classes that display emergency visual cues (e.g., flashing lights, using OpenCV color filtering) or use audio detection (sirens).
  • Implement pathfinding (via NetworkX) from current location to destination.
  • Implement corridor override logic: force green signals on the path, overriding the RL agent temporarily.
  • Release the override once the vehicle passes.

Deliverable

A working emergency preemption system that clears traffic dynamically.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions