{"id":340,"date":"2024-06-03T11:48:47","date_gmt":"2024-06-03T14:48:47","guid":{"rendered":"https:\/\/sites.usp.br\/sideseeing\/?page_id=340"},"modified":"2024-06-10T11:20:08","modified_gmt":"2024-06-10T14:20:08","slug":"sideseeing-tools","status":"publish","type":"page","link":"https:\/\/sites.usp.br\/sideseeing\/sideseeing-tools\/","title":{"rendered":"SideSeeing Tools"},"content":{"rendered":"<p><a href=\"https:\/\/sites.usp.br\/sideseeing\/wp-content\/uploads\/sites\/1454\/2024\/06\/sst-pip-image.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-374 alignleft\" src=\"https:\/\/sites.usp.br\/sideseeing\/wp-content\/uploads\/sites\/1454\/2024\/06\/sst-pip-image-300x47.png\" alt=\"\" width=\"300\" height=\"47\" srcset=\"https:\/\/sites.usp.br\/sideseeing\/wp-content\/uploads\/sites\/1454\/2024\/06\/sst-pip-image-300x47.png 300w, https:\/\/sites.usp.br\/sideseeing\/wp-content\/uploads\/sites\/1454\/2024\/06\/sst-pip-image.png 398w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>The data collected through the MultiSensor Data Collection app can be loaded and viewed using a Python library called <strong>sideseeing-tools<\/strong>, available on <a href=\"https:\/\/pypi.org\/project\/sideseeing-tools\/\">PyPi<\/a>. We welcome your contributions to our open-source code on GitHub. The source code is available at <a href=\"https:\/\/github.com\/rafaelpezzuto\/sideseeing-tools\">https:\/\/github.com\/rafaelpezzuto\/sideseeing-tools<\/a>.<\/p>\n<p>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:<\/p>\n<p><code>pip install sideseeing-tools<br \/>\n<\/code><br \/>\nAfter that, you could load your dataset into a structure we named SideSeeingDS as follows:<\/p>\n<p><code>from sideseeing_tools import sideseeing<br \/>\nds = sideseeing.SideSeeingDS(root_dir='\/home\/user\/my-project')<br \/>\n<\/code><br \/>\nIf you choose to put the data inside a subdirectory, you should specify that during the creation of the dataset instance:<\/p>\n<p><code>ds = sideseeing.SideSeeingDS('\/home\/user\/my-project', subdir='data', name='MyDataset')<\/code><\/p>\n<p>You can find all the available loading and visualization methods that our tools offer in the repository <a href=\"https:\/\/sites.usp.br\/sideseeing\">link<\/a>. Here are a few attributes or methods you might be interested in:<\/p>\n<p><code>ds.instances<br \/>\nds.iterator<br \/>\nds.metadata()<br \/>\nds.size<br \/>\nds.sensors<br \/>\nds.instance<br \/>\nds.instance['sensors3']['Accelerometer']<\/code><code><br \/>\nds.extract_snippet()<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<a href=\"https:\/\/sites.usp.br\/sideseeing\/sideseeing-tools\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":24005,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-340","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/pages\/340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/users\/24005"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/comments?post=340"}],"version-history":[{"count":4,"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/pages\/340\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/pages\/340\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/sites.usp.br\/sideseeing\/wp-json\/wp\/v2\/media?parent=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}