changes
This commit is contained in:
parent
fea3274c44
commit
52b26a1e33
@ -67,9 +67,9 @@ face_editor_mouth_purse =
|
||||
face_editor_mouth_smile =
|
||||
face_editor_mouth_position_horizontal =
|
||||
face_editor_mouth_position_vertical =
|
||||
face_editor_pose_pitch =
|
||||
face_editor_pose_yaw =
|
||||
face_editor_pose_roll =
|
||||
face_editor_head_pitch =
|
||||
face_editor_head_yaw =
|
||||
face_editor_head_roll =
|
||||
face_enhancer_model =
|
||||
face_enhancer_blend =
|
||||
face_swapper_model =
|
||||
|
@ -62,6 +62,6 @@ def limit_expression(expression : LivePortraitExpression) -> LivePortraitExpress
|
||||
|
||||
|
||||
def create_rotation(pitch : LivePortraitPitch, yaw : LivePortraitYaw, roll : LivePortraitRoll) -> LivePortraitRotation:
|
||||
rotation = scipy.spatial.transform.Rotation.from_euler('xyz', [ pitch, yaw, roll ], degrees=True).as_matrix()
|
||||
rotation = scipy.spatial.transform.Rotation.from_euler('xyz', [ pitch, yaw, roll ], degrees = True).as_matrix()
|
||||
rotation = rotation.astype(numpy.float32)
|
||||
return rotation
|
||||
|
Loading…
Reference in New Issue
Block a user