Giter Site home page Giter Site logo

nycu_ai_capstone_final_project's Introduction

Disclaimer:

This project was created by Rohit Sharma and Parush Gupta as the final year project for bachelors course. I thouroughly enjoyed working on these projects and training the dataset for helmet detection.

Traffic Rules Violation Detection System

The number of vehicles has increased drastically in the last few decades making it difficult to monitor each and every vehicle for traffic management and law enforcement purposes. We proposed a computer vision-based solution using deep learning that automatically detects traffic violators. The main objective is to detect vehicles that do not follow the rules of traffic, such as overspeeding, overloading, not wearing a helmet and running on the wrong side of the road. We use Yolov3 for object detection and DeepSort for tracking the vehicles and pedestrians. The system detects the type of violation along with the vehicle information, maintains a log of violations, provides a detailed dashboard and provides alerts to the traffic police personnel. The logs can also be used for forensic purposes.

Datasets and Models

I have used dataset available in internet for helmet images and trained the model, the Model is required to run the project. Kindly download it.

Working

I have done detection of traffic violations in real time using our owned trained haar cascades for vehicle and pedestrians detection, our own trained helmet detection model written in YOLO v3 and got satisfactory results.

Things to download before running the project

Put all of the aforementioned files in the same directory in order for successful run.

Get Started

  • Clone the Repository
  • Download the model and copy it into the same directory
  • Make sure all files are in same directory.
  • Go to line 16 of all_vehicles.py and rename the video.
  • Run all_vehicles.py

Our Results

To see, the results. open video.mp4 DEMO

Note

This Repository does not contain any Dashboard to show the results, if you need help in dashboard, kindly reach out to me in mail.

nycu_ai_capstone_final_project's People

Contributors

casval5fn28 avatar

Watchers

 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.