visualization

visual

stardust.visualization.visual.ToAnnotationTool(data_path, task_type)[source]

Visual result of algorithm with AnnotationTool

Args:
data_path: str

The path of algorithm output which should be a json file

task_type: str

The type of visual task, the task can be chosen from ‘object_detection’, ‘lane_detection’ and ‘tracking’ for now

Returns:
str:

URL of AnnotationTool

Examples:
from stardust.visualization.visual import ToAnnotationTool
vis_url = ToAnnotationTool('tracking_test.json', 'tracking')