Skip to content

Commit

Permalink
Update facial_landmarks_478_transformer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FHellmann authored Mar 12, 2024
1 parent a41f319 commit deae01a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transform/facial_landmarks_478_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

class FacialLandmarks478:
"""
Extract 468 facial landmark points from the picture and return it in a 2-dimensional picture.
Extract 478 facial landmark points from the picture and return it in a 2-dimensional picture.
"""

def __call__(self, pic: np.ndarray) -> np.ndarray:
"""
@param pic (numpy.ndarray): Image to be converted to a facial landmark image
with 468 points.
with 478 points.
@return: numpy.ndarray: Converted image.
"""
point_image = np.zeros(pic.shape, np.uint8)
Expand Down

0 comments on commit deae01a

Please sign in to comment.