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