Skip to content

Python based project to provide a Video Analysis method for Vehicular Accident Detection.

Notifications You must be signed in to change notification settings

I-am-aman/CarCrash

Repository files navigation

CarCrash

Python based project to provide a Video Analysis method for Vehicular Accident Detection.

The rate of road accidents has increased to a large extent over the last few years with the rapid advancement of the automobile industry. Therefore, accurate and prompt detection of accidents offers tremendous benefits of saving properties and lives. Traffic accident detection employing Computer Vision, Image Processing and Machine Learning on freeways has attracted much attention recently. The judgment of whether an incident has happened or not is made using the behavioral abnormality of some continuous images.
CarCrash prepares a trained model for the detection of vehicular accidents. This model can be then used to predict whether there is any accident in a given input video. The dataset is currently small, consisting of both accident and non-accident videos.

The System Flowchart

Installations

This project requires Python and the following Python libraries installed:

Also Install PySceneDetect.

Running the project

Run the VideoClipExtract.py file first which will prepare the CSV file of Bag of Visual Words. This is gonna take a lot of time, depending on the system specifications (You can also directly use the feature_vector.csv and label_vector.csv files that is provided and skip this step).
Then different classifiers can be simply run to train and test the model.

About

Python based project to provide a Video Analysis method for Vehicular Accident Detection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages