Augmented reality city project. See the live version here. The user-facing GUI can be found here
- Stereolabs zed camera controlled via a python script
- three.js scene rendered in chrome sent to a projector
- flask server to communicate between the components
- traffic assignment simulation
- Download or clone this repository
- Set up the zed camera SDK by following the instructions here
- Install
python3
and make sure you have the required packages by runningpip install -r requirements.txt
- Open a terminal and
cd
to the directory you saved this repository - In the terminal, run the local server with
FLASK_APP=app.py
thenflask run
OR if that doesn't work, trypython app.py
- Open Google Chrome (or possibly Firefox, but untested)
- In Chrome, go to the following URL:
http://localhost:5000/src/index.html
Many system parameters are controlled by URL flags, which can be used as, e.g.:
http://localhost:5000/src/index.html?debug
which will put the system in debug mode.