Skip to content

Commit 81148bb

Browse files
authored
Merge branch 'master' into qlearning
2 parents cb3381c + 8c316c6 commit 81148bb

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# traffic-control
2+
A traffic control system in Python using PyGame and OpenCV.
3+
4+
# Setup
5+
First, ensure that you have git, Python, and pip installed.
6+
Then, install the dependencies:
7+
```
8+
pip install -r requirements.txt
9+
```
10+
11+
# Usage
12+
```
13+
# allows user to select lanes
14+
python lane_select.py -p {path to image of intersection} -s {path to save new image}
15+
16+
# runs vehicle detection example from https://github.com/andrewssobral/vehicle_detection_haarcascades
17+
python vehicle_detection.py
18+
19+
# runs main simulation
20+
python simtest.py
21+
```

requirements.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,47 @@ tqdm==4.43.0
3535
urllib3==1.25.8
3636
Werkzeug==1.0.0
3737
wrapt==1.12.0
38+
=======
39+
absl-py==0.9.0
40+
astor==0.8.1
41+
cachetools==4.0.0
42+
certifi==2019.11.28
43+
chardet==3.0.4
44+
cycler==0.10.0
45+
gast==0.2.2
46+
google-auth==1.11.2
47+
google-auth-oauthlib==0.4.1
48+
google-pasta==0.1.8
49+
grpcio==1.27.2
50+
h5py==2.10.0
51+
idna==2.9
52+
Keras==2.3.1
53+
Keras-Applications==1.0.8
54+
Keras-Preprocessing==1.1.0
55+
kiwisolver==1.1.0
56+
Markdown==3.2.1
57+
matplotlib==3.2.0
58+
numpy==1.18.1
59+
oauthlib==3.1.0
60+
opencv-contrib-python==4.2.0.32
61+
opt-einsum==3.1.0
62+
protobuf==3.11.3
63+
pyasn1==0.4.8
64+
pyasn1-modules==0.2.8
65+
pygame==1.9.6
66+
pyparsing==2.4.6
67+
python-dateutil==2.8.1
68+
PyYAML==5.3
69+
requests==2.23.0
70+
requests-oauthlib==1.3.0
71+
rsa==4.0
72+
scipy==1.4.1
73+
six==1.14.0
74+
tensorboard==1.15.0
75+
tensorflow==1.15.0
76+
tensorflow-estimator==1.15.1
77+
termcolor==1.1.0
78+
tqdm==4.43.0
79+
urllib3==1.25.8
80+
Werkzeug==1.0.0
81+
wrapt==1.12.0

0 commit comments

Comments
 (0)