From eea943bba5f3eba184c93a5b0f5c93459263adc4 Mon Sep 17 00:00:00 2001 From: yizhi <946185759@qq.com> Date: Thu, 13 Mar 2025 15:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/deploy/facealign/pfld.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b7cce2c..d493e65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yizhi/ai", - "version": "1.0.3", + "version": "1.0.4", "main": "dist/index.js", "types": "typing/index.d.ts", "scripts": { diff --git a/src/deploy/facealign/pfld.ts b/src/deploy/facealign/pfld.ts index 98f4641..2166087 100644 --- a/src/deploy/facealign/pfld.ts +++ b/src/deploy/facealign/pfld.ts @@ -63,7 +63,7 @@ export class PFLD extends Model { const y = pointsBuffer[i + 1] * image.height * ratioHeight; points.push({ x, y }); } -console.log(points) + return new PFLDResult(points); }