(self, basepath, useCache=True, cacheDir='./cache/', refineNet=None, detectorNet=None, derotNet=None)
Constructor
        :param basepath: base path of the MSRA dataset
        :return:
Constructor
        :param basepath: base path of the MSRA dataset
        :return:
Constructor : param basepath : base path of the MSRA dataset : return :
def __init__(self, basepath, useCache=True, cacheDir='./cache/', refineNet=None, detectorNet=None, derotNet=None):
        """
        Constructor
        :param basepath: base path of the MSRA dataset
        :return:
        """

        super(MSRA15Importer, self).__init__(241.42, 241.42, 160., 120.)  # see Sun et.al.

        self.depth_map_size = (320, 240)
        self.basepath = basepath
        self.useCache = useCache
        self.cacheDir = cacheDir
        self.refineNet = refineNet
        self.derotNet = derotNet
        self.detectorNet = detectorNet
        self.numJoints = 21
        self.crop_joint_idx = 9
        self.default_cubes = {'P0': (200, 200, 200),
                              'P1': (200, 200, 200),
                              'P2': (200, 200, 200),
                              'P3': (180, 180, 180),
                              'P4': (180, 180, 180),
                              'P5': (180, 180, 180),
                              'P6': (170, 170, 170),
                              'P7': (160, 160, 160),
                              'P8': (150, 150, 150)}
        self.sides = {'P0': 'right', 'P1': 'right', 'P2': 'right', 'P3': 'right', 'P4': 'right', 'P5': 'right',
                      'P6': 'right', 'P7': 'right', 'P8': 'right'}
def __init__ ( self , basepath , useCache = True , cacheDir = './cache/' , refineNet = None , detectorNet = None , derotNet = None ) : super ( MSRA15Importer , self ) . __init__ ( 241.42 , 241.42 , 160. , 120. ) # see Sun et.al. self . depth_map_size = ( 320 , 240 ) self . basepath = basepath self . useCache = useCache self . cacheDir = cacheDir self . refineNet = refineNet self . derotNet = derotNet self . detectorNet = detectorNet self . numJoints = 21 self . crop_joint_idx = 9 self . default_cubes = { 'P0' : ( 200 , 200 , 200 ) , 'P1' : ( 200 , 200 , 200 ) , 'P2' : ( 200 , 200 , 200 ) , 'P3' : ( 180 , 180 , 180 ) , 'P4' : ( 180 , 180 , 180 ) , 'P5' : ( 180 , 180 , 180 ) , 'P6' : ( 170 , 170 , 170 ) , 'P7' : ( 160 , 160 , 160 ) , 'P8' : ( 150 , 150 , 150 ) } self . sides = { 'P0' : 'right' , 'P1' : 'right' , 'P2' : 'right' , 'P3' : 'right' , 'P4' : 'right' , 'P5' : 'right' , 'P6' : 'right' , 'P7' : 'right' , 'P8' : 'right' }