- Face Fit or Restore fixes

WIP
- base landmarks and obj file
This commit is contained in:
Rafał Tłuchowski
2025-01-26 09:47:08 +01:00
parent 275a789feb
commit b93eea6724
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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,
+1 -2
View 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 = []