From c1d62edd5ce4c990d107dff68d5be303a8ea8f69 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 24 Mar 2024 14:08:05 -0400 Subject: [PATCH] Fix --- commands/analyze/faces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/analyze/faces.js b/commands/analyze/faces.js index 94665cd4..574560bf 100644 --- a/commands/analyze/faces.js +++ b/commands/analyze/faces.js @@ -37,7 +37,7 @@ module.exports = class FacesCommand extends Command { ctx.fillStyle = 'blue'; ctx.fillRect(face.box.xMin, face.box.yMin, 10, face.box.height); ctx.fillRect(face.box.xMin, face.box.yMin, face.box.width, 10); - ctx.fillRect(face.box.xMin, face.box.yMax, face.box.width, 10); + ctx.fillRect(face.box.xMin, face.box.yMax, face.box.width + 10, 10); ctx.fillRect(face.box.xMax, face.box.yMin, 10, face.box.height); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'faces.png' }] });