def __init__(self, base_path, sequence, **kwargs):
        """Set the path."""
        self.base_path = base_path
        self.sequence = sequence
        self.frames = kwargs.get('frames', None)

        # Default image file extension is 'png'
        self.imtype = kwargs.get('imtype', 'png')

        # Find all the data files
        self._get_file_lists()
        print('files', len(self.cam2_files))
def __init__ ( self , base_path , sequence , ** kwargs ) : self . base_path = base_path self . sequence = sequence self . frames = kwargs . get ( 'frames' , None ) self . imtype = kwargs . get ( 'imtype' , 'png' ) self . _get_file_lists ( ) print ( 'files' , len ( self . cam2_files ) )
Set the path.