Skip to content

Python tensorflow is used to predict trafffic congestion types based on image object recognition

Notifications You must be signed in to change notification settings

eudora-jia/TensorflowPredictCongestionTypes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Tensorflow to Predict Traffic Congestion Types.

Python tensorflow is used to predict the congestion types based on image object recognition

HOW TO TEST

1. Clone git repository and cd into the directory

 git clone https://github.com/taiwotman/TensorflowPredictCongestionTypes.git
 
 cd TensorflowPredictCongestionTypes

2. Set up virtualenv with directory venv

 virtualenv venv

3. Activate venv using:

 source venv/bin/activate

4. Install tensorflow using:

 pip install tensorflow

5. Use traffic congestion image(supports only jpeg/jpg format). For example:

 python run.py test_image/Aut10_010.jpg

6. Example output:

  high congestion (score = 0.70454)

TO DO

Create Flask REST API using (real-time) traffic image data for prediction.

You want to be a contributor?

  1. Fork repository

    and/or

  2. Connect and chat me on LinkedIn.

FOR ACADEMIC PURPOSE; kindly, cite our related work:

 T. Adetiloye, A. Awasthi(2017). Predicting Short-Term Congested Traffic Flow on Urban Motorway Networks. 
 In P. Samui, S.S Roy, V.E. Balas(Eds.), Handbook of Neural Computation(pg. 145–165).
 doi: https://doi.org/10.1016/B978-0-12-811318-9.00008-9 . Academic Press.

About

Python tensorflow is used to predict trafffic congestion types based on image object recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%