Skip to content

keyframesfound/ATEMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATEMS

Automated Traffic Event Management System

Markdown Python Bash Anaconda

Built for SSC Campus Traffic During Large-Scale Events

Table of Contents

Overview

This project aims to solve traffic management issues during large-scale events by automating license plate detection and reading. It reduces the need for manual traffic direction, making the process more efficient and less labor-intensive.

Features

  • Camera Source Detection: Automatically detects available camera sources on the system.
  • Camera Selection: Allows the user to select a camera source for license plate detection.
  • License Plate Detection: Utilizes the Haar Cascade classifier for Russian license plate detection.
  • OCR: Extracts text from detected license plates using the EasyOCR engine.
  • Video Stream Display: Displays the video stream with detected license plates highlighted and the extracted text.

Repository Structure

automated_traffic_event_managment_system/
├── Main.py
├── README.md
├── LICENSE
└── requirements.txt

Getting Started

Prerequisites

  • Python: Version 3.8.20 or later

Installation

To build the project from source:

  1. Clone the repository:

    git clone https://github.com/keyframesfound/ATEMS
  2. Navigate to the project directory:

    cd ATEMS
  3. For Linux installations only:

    source myenv/bin/activate
  4. Install required packages:

    pip install opencv-python torch easyocr yolov5 numpy flask python-Levenshtein

Usage

To run the project, execute the following command:

python3 Main.py

Project Roadmap

  • Task 1: Add OCR engine to code
  • Task 2: Achieve 80% accuracy in the system
  • Task 3: Achieve 99% accuracy and connect light/traffic direction signs
  • Task 4: Full automatic test for large-scale events

License

This project is licensed under the MIT License.

Acknowledgments


About

A project aimed to automate traffic managment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages