etoile is a project for real-time traffic analysis. It's named after Place de l'Étoile which is a famous road junction in Paris.
To install the dependencies:
$ pip install -r requirements.txt
There is some setup in order to get the demo to work.
-
Create an Ensign project on rotational.app.
-
Create two topics in your project (
figure_updates_json
anddetection_frames
). -
Create an API key and download the API key.
-
Find a traffic livestream or video on YouTube for the data source.
This will run the demo dashboard locally and should open it up in your web browser.
$ streamlit run demo.py -- -c [your-api-key.json]
To get data for the demo, find a YouTube livestream or video with traffic and run the publish script.
$ python publish.py -c creds/full-access.json -s "[YouTube URL]"
The dashboard should be updated in real time!