def plot_backdrop(self, index): """Public interface to plot backdrop image from sample Args: index(int): index of sample to plot """ plot_sample(self.get_sample(index), target='backdrop')
def plot_depth(self, index): """Public interface to plot depth from sample Args: index(int): index of sample to plot """ plot_sample(self.get_sample(index), target='depth')
def plot_mask(self, index): """Public interface to plot composite seg. mask from sample Args: index(int): index of sample to plot """ plot_sample(self.get_sample(index), target='mask')
def plot_rgb(self, index, plot_2d_box: bool = False, plot_3d_box: bool = False): """Public interface to plot rgb image from sample Args: index(int): index of sample to plot Optional Args: plot_2d_box(bool): if True plot 2d bounding box for objects. Default: False plot_3d_box(bool): if True plot 3d bounding box for objects. Default: False """ plot_sample(self.get_sample(index), target='rgb', plot_2d_box=plot_2d_box, plot_3d_box=plot_3d_box)