def METHOD_NAME(self, inputs: Dict[str, Any], **kwargs) -> Dict[str, Any]:
    save_path = kwargs.get('save_path', None)
    if save_path is None:
        save_path = TemporaryDirectory().name
    else:
        if not os.path.exists(save_path):
            os.makedirs(save_path)
    file_path = osp.join(save_path, 'pts_bbox', 'results_nusc.json')
    kwargs_format = {'jsonfile_prefix': save_path}
    self.dataset.format_results(inputs, **kwargs_format)
    logger.info(f'Done, results saved into: {file_path}')
    result_img = plot_result(file_path, vis_thred=0.3)[0]
    return {OutputKeys.OUTPUT_IMG: result_img.astype(np.uint8)}