From b92fdc2667f03e3f9ab0e777f6c61176840b2804 Mon Sep 17 00:00:00 2001 From: Isi Date: Wed, 30 Oct 2024 09:27:56 +0100 Subject: [PATCH] Updated live portrait video code --- animationAssistantNodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/animationAssistantNodes.py b/animationAssistantNodes.py index a264ce1..522da19 100644 --- a/animationAssistantNodes.py +++ b/animationAssistantNodes.py @@ -758,8 +758,8 @@ class MakeDrivingVideoForLivePortrait: h, w, _ = frame.shape # Convert the BGR image to RGB - rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) - results = face_mesh.process(rgb_frame) + # rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) + results = face_mesh.process(frame) if results.multi_face_landmarks: # Get the landmarks for the first detected face