Get data out of Rerun

At its core, Rerun is a database. The viewer includes the dataframe view to explore data in tabular form, and the SDK includes an API to export the data as dataframes from the recording. These features can be used, for example, to perform analysis on the data and send back the results to the original recording.

In this three-part guide, we explore such a workflow by implementing an "open jaw detector" on top of our face tracking example. This process is split into three steps:

  1. Explore a recording with the dataframe view
  2. Export the dataframe
  3. Analyze the data and send back the results

Note: this guide uses the popular Pandas dataframe package. The same concept however applies in the same way for alternative dataframe packages such as Polars.

If you just want to see the final result, jump to the complete script at the end of the third section.