diff --git a/commands/edit-face/anime-eyes.js b/commands/edit-face/anime-eyes.js index d8c1c273..da38e6c6 100644 --- a/commands/edit-face/anime-eyes.js +++ b/commands/edit-face/anime-eyes.js @@ -43,8 +43,8 @@ module.exports = class AnimeEyesCommand extends Command { const ctx = canvas.getContext('2d'); ctx.drawImage(base, 0, 0); for (const face of faces) { - const eyeWidth = face.box.width / 3; - const eyeHeight = face.box.height / 3; + const eyeWidth = face.box.width / 4; + const eyeHeight = face.box.height / 4; const leftEyeData = face.keypoints.find(landmark => landmark.name === 'leftEye'); const rightEyeData = face.keypoints.find(landmark => landmark.name === 'rightEye'); const leftEyeX = leftEyeData.x - (eyeWidth / 2);