SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
203 stars 35 forks source link

Show live visualization in vio_record.py by default #4

Closed oseiskar closed 2 years ago

oseiskar commented 2 years ago

Unfortunately, this breaks Ctrl+C so the recording has to be stopped by closing the visualization window in this case.

Alternatively, a live preview can be achieved (independent of this PR) by running the --nopreview recording in another terminal and tail -f /path/to/data.jsonl | python -u vio_visu.py --file=- in another terminal (where tail -f could even be run over SSH) but this is quite tricky so maybe it's best to show the live visualization in vio_visu.py by default.