From 2acb84db0b8a17817e55e41cf43e7557ce796725 Mon Sep 17 00:00:00 2001 From: songkey-win Date: Tue, 27 May 2025 15:15:54 +0800 Subject: [PATCH] little change --- hellomeme/utils.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hellomeme/utils.py b/hellomeme/utils.py index f1816ac..7543ce8 100644 --- a/hellomeme/utils.py +++ b/hellomeme/utils.py @@ -396,7 +396,7 @@ def crop_and_resize(frames, landmarks, save_size=512, crop=True): all_tl, all_br = np.min(landmarks, axis=1), np.max(landmarks, axis=1) mean_wh = np.mean(all_br - all_tl, axis=0) tl, br = np.min(all_tl, axis=0), np.max(all_br, axis=0) - new_size = min(max(mean_wh) * 2.3, min(H, W) - 1) + new_size = min(max(mean_wh) * 3.0, min(H, W) - 1) fcenter = (tl + br) * 0.5 fcenter[1] -= new_size * 0.115 ftl = fcenter - new_size * 0.5 diff --git a/pyproject.toml b/pyproject.toml index 405ba63..3173466 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_hellomeme" description = "This repository is the official implementation of the [a/HelloMeme](https://arxiv.org/pdf/2410.22901) ComfyUI interface" -version = "1.3.1" +version = "1.3.2" license = {file = "LICENSE"} [project.urls]