(self, filename, firstName=False)
return data
Load baseline data
        :param filename: file name of data
        :return: list with joint coordinates
Load baseline data
        :param filename: file name of data
        :return: list with joint coordinates
Load baseline data : param filename : file name of data : return : list with joint coordinates
def loadBaseline2D(self, filename, firstName=False):
        """
        Load baseline data
        :param filename: file name of data
        :return: list with joint coordinates
        """

        inputfile = open(filename)
        inputfile.seek(0)

        if firstName is True:
            off = 1
        else:
            off = 0

        data = []
        for line in inputfile:
            part = line.split(' ')
            # joints in image coordinates
            ev = np.zeros((self.numJoints,2),np.float32)
            for joint in range(ev.shape[0]):
                for xyz in range(0, 2):
                    ev[joint,xyz] = part[joint*3+xyz+off]

            data.append(ev)

        return data
def loadBaseline2D ( self , filename , firstName = False ) : inputfile = open ( filename ) inputfile . seek ( 0 ) if firstName is True : off = 1 else : off = 0 data = [ ] for line in inputfile : part = line . split ( ' ' ) # joints in image coordinates ev = np . zeros ( ( self . numJoints , 2 ) , np . float32 ) for joint in range ( ev . shape [ 0 ] ) : for xyz in range ( 0 , 2 ) : ev [ joint , xyz ] = part [ joint * 3 + xyz + off ] data . append ( ev ) return data