Visualization

Pharos is a plug-in of TensorBay SDK used for local visualization. After finishing the dataset organization, users can visualize the organized Dataset instance locally using Pharos. The visualization result can help users to check whether the dataset is correctly organized.

Install Pharos

To install Pharos by pip, run the following command:

$ pip3 install pharos

Pharos Usage

Organize a Dataset

Take the BSTLD as an example:

from tensorbay.opendataset import BSTLD

dataset = BSTLD("path/to/dataset")

Visualize the Dataset

from pharos import visualize

visualize(dataset)

Open the returned URL to see the visualization result.

../_images/visualization.jpg

Fig. 5 The visualized result of the BSTLD dataset.