Module with a base class for FLAME-based reconstruction models.
Module Contents
-
class medusa.recon.flame.base.FlameReconModel(*args, **kwargs)[source]
A reconstruction model which outputs data based on the FLAME-
topology.
-
is_dense()[source]
Checks if the current model is a dense model.
- Returns:
dense – True if dense, False otherwise
- Return type:
bool
-
get_tris()[source]
Retrieves the triangles (tris) associated with the predicted vertex
mesh.
-
get_cam_mat()[source]
Returns a default camera matrix for FLAME-based reconstructions.
-
close()[source]
Sets loaded triangles to None.