예제 #1
0
    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')
예제 #2
0
    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')
예제 #3
0
    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')
예제 #4
0
    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)