(landmark)
return landmark_
scale the landmark from [0,1] to [-1,1]
scale the landmark from [0,1] to [-1,1]
scale the landmark from [ 0 1 ] to [ - 1 1 ]
def scale(landmark):
    '''
    scale the landmark from [0,1] to [-1,1]
    '''
    landmark_ = np.asarray(np.zeros(landmark.shape))
    lanmark_=(landmark-0.5)*2
    return landmark_
def scale ( landmark ) : landmark_ = np . asarray ( np . zeros ( landmark . shape ) ) lanmark_ = ( landmark - 0.5 ) * 2 return landmark_