mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Fix
This commit is contained in:
@@ -53,8 +53,8 @@ module.exports = class DannyDevitoCommand extends Command {
|
|||||||
const height = danny.height * ratio;
|
const height = danny.height * ratio;
|
||||||
ctx.drawImage(
|
ctx.drawImage(
|
||||||
danny,
|
danny,
|
||||||
landmarks.contour_left1.x - (width * 0.75),
|
landmarks.contour_left1.x - (width * 0.25),
|
||||||
landmarks.contour_left1.y - (height / 2) - (height * 0.75),
|
landmarks.contour_left1.y - (height / 2) - (height * 0.25),
|
||||||
width * 1.5,
|
width * 1.5,
|
||||||
height * 1.5
|
height * 1.5
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user