-
-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifying the landmark mapper loop to support hybrid mappings and mov…
…e into get_vertex_index() function (#360) Removed `get_corresponding_pointset(...)` (the function wasn't used anywhere), renamed it to `get_vertex_index(...)`, and modified/implemented the landmark mapper loop in there to support hybrid mappings, i.e. when a landmark mapping file maps some landmarks to landmark identifiers (eye.right...) and others to vertex indices. This is useful when some landmarks don't have a semantic meaning. This is used by the Blender addon (https://github.com/omar-h-omar/blender-3DMM-addon) in the Mediapipe mappings. Also using the new `get_vertex_index(...)` in `fit_shape_and_pose(...)` now.
- Loading branch information
1 parent
330a473
commit 61ccbcb
Showing
1 changed file
with
47 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters