virtualenv --no-site-packages --distribute .env &&\ source .env/bin/activate &&\ pip install -r requirements.txt
- Generate camera locations using the available taxi data.
- Inside of project directory run
python3 camera-locations-generator.py
. - This will randomly select a sample of points from the taxi traces and place cameras at those points. The output is stored in jsons/camera-locations-generated.json.
- Inside of project directory run
- Run main.py which will read taxi traces line by line and map the taxis to the cameras that detected it.
- Inside of project directory run
python3 main.py
. - The output is stored in jsons/camera-stream.json.
- Inside of project directory run
- Run plot_on_map.py which will update the map.html file with camera location and vehicle detection markers.
- Inside the project directory, run
python3 plot_on_map.py
.
- Inside the project directory, run