entente.landmarks.landmark_compositor module

class entente.landmarks.landmark_compositor.LandmarkCompositor(base_mesh, landmark_names)[source]

Bases: object

A tool for compositing landmarks from several examples in relation to a base mesh. Each example is projected onto the base mesh, then the points are averaged.

The tool takes as input:

  • A base mesh
  • Several examples
    • Mesh (in correspondence with the base mesh)
    • xyz coordinates for one or more landmarks

And will output:

  • The xyz coordinates of the comosite landmark on the base mesh
add_example(mesh, landmarks)[source]
result