def synthesize(lms): return detect.synthesize_detection( pca_model, menpo.shape.PointCloud(lms).bounding_box()).points.astype( np.float32)
def synthesize(lms): return detect.synthesize_detection(pca_model, menpo.shape.PointCloud( lms).bounding_box()).points.astype(np.float32)