Skip to content

Commit

Permalink
Update extract_kp_videos.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuroDonu committed Sep 17, 2023
1 parent 131466e commit f147a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/face3d/extract_kp_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class KeypointExtractor():
def __init__(self, device):
self.detector = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, device=device)
self.detector = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, device=device)

def extract_keypoint(self, images, name=None, info=True):
if isinstance(images, list):
Expand Down

0 comments on commit f147a90

Please sign in to comment.