Speed detection library for automobile
Project description
Car-Speed-Detection
Car-Speed-Detection provides a python library to detect the speed of the driving car itself by the video stream from the dashboard camera installed on the car.
Car-Speed-Detection separates the speed detection process into three steps, preprocessing, training, and speed detection. By using Gunnar-Farneback optical flow algorithm along with the pipeline we developed, we are able to extract each frame into a small size matrix depends on developers preference. We use the Artifitial Neural Network (ANN) to train our model with the preprocessed matrix acquired from preprocessing function. Developers could use the trained model to detect the speed of the car at each frame using our speed detection function.
Getting Started
Installation
Car-Speed-Detection is available on PyPI and can be
installed via pip
. See
car-speed-detection.readthedocs.io
to learn about system dependencies and installation alternatives and
recommendations.
pip install car-speed-detection
Read, Preprocess, Train, and Detect the Car Speed
The Car-Speed-Detection library consists of the following parts:
- Read (Read the mp4 video and output each frame into a designated directory)
- Preprocess (Preprocess each frame and output a feature set for training)
- Train (Train the model using the feature set and Artifitial Neural Network)
- Speed Detection (Detect the speed using the model and video)
Take a look at the API to know more about the Application Programming Interface and Sample for further information on how to use our library
Result
Acknowledge
Team Leader and Software Architecture: Shao-Chieh Lien
Research Paper Writer: Meenakshi Pavithran
Training Data Generator: Christopher Crocker
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for car_speed_detection-0.7.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a14cd3f8c69a6e6b14dc1d0749f4d10800239986c018060a23cbe1ecfe74ca7 |
|
MD5 | 6ca165ca08927e92dec285959d0a5a9f |
|
BLAKE2b-256 | 481d88a60564260972f70714041b834ba8e6dfae4fb9440c2338f4e9004ade91 |
Hashes for car_speed_detection-0.7.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675c7d544b9db9aaf7ccbc3234ea0720a10990fb8de90f3e460dd82ec27238dd |
|
MD5 | 1d5c965faf52f64ddffa53a529419e74 |
|
BLAKE2b-256 | 9a15fc355496df47a80c8db6fc5c24bed8f474311c389258b9fc8baa819fe61c |