Skip to content

Commit f2665a9

Browse files
committed
refactored
2 parents d7a3726 + a5c2fc7 commit f2665a9

File tree

10 files changed

+927
-8
lines changed

10 files changed

+927
-8
lines changed

.pydevproject

Lines changed: 0 additions & 8 deletions
This file was deleted.

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+
```
150 Bytes
Binary file not shown.
852 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)