SideSeeing Tools

2024-06-03

The data collected through the MultiSensor Data Collection app can be loaded and viewed using a Python library called sideseeing-tools, available on PyPi. We welcome your contributions to our open-source code on GitHub. The source code is available at https://github.com/rafaelpezzuto/sideseeing-tools.

The easiest way to install and load data is as follows. Currently, we are at version 0.3.0, wich can be installed using the pip tool:

pip install sideseeing-tools

After that, you could load your dataset into a structure we named SideSeeingDS as follows:

from sideseeing_tools import sideseeing
ds = sideseeing.SideSeeingDS(root_dir='/home/user/my-project')

If you choose to put the data inside a subdirectory, you should specify that during the creation of the dataset instance:

ds = sideseeing.SideSeeingDS('/home/user/my-project', subdir='data', name='MyDataset')

You can find all the available loading and visualization methods that our tools offer in the repository link. Here are a few attributes or methods you might be interested in:

ds.instances
ds.iterator
ds.metadata()
ds.size
ds.sensors
ds.instance
ds.instance['sensors3']['Accelerometer']

ds.extract_snippet()