- Face Fit or Restore fixes
WIP - base landmarks and obj file
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ def generate_context_file(
|
||||
|
||||
# Example usage
|
||||
if __name__ == "__main__":
|
||||
output_file = "D:/code/code_base/face_processor_03.txt"
|
||||
output_file = "D:/code/code_base/face_processor_04.txt"
|
||||
generate_context_file(
|
||||
root_dir="E:/ComfyUI-DEV/custom_nodes/ComfyUI_FaceProcessor",
|
||||
output_file=output_file,
|
||||
|
||||
@@ -56,8 +56,7 @@ class MediapipeBaseLandmarks:
|
||||
return cls._base_landmarks, cls._faces
|
||||
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
project_root = os.path.dirname(current_dir)
|
||||
obj_path = os.path.join(project_root, 'models', 'uv_maps', 'mediapipe_landmarks_468.obj')
|
||||
obj_path = os.path.join(current_dir, 'mediapipe_landmarks_468.obj')
|
||||
|
||||
vertices = []
|
||||
uvs = []
|
||||
|
||||
Reference in New Issue
Block a user