From fe8ff0a12a1f13ffed3b7680a431924dc6fa6f43 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 18 May 2024 20:16:00 +0530 Subject: [PATCH] Remove redundant --- web/apps/photos/src/services/face/f-index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/apps/photos/src/services/face/f-index.ts b/web/apps/photos/src/services/face/f-index.ts index a9f605981..6d64dc556 100644 --- a/web/apps/photos/src/services/face/f-index.ts +++ b/web/apps/photos/src/services/face/f-index.ts @@ -503,7 +503,7 @@ const applyLaplacian = ( image: number[][], direction: FaceDirection, ): number[][] => { - const paddedImage: number[][] = padImage(image, direction); + const paddedImage = padImage(image, direction); const numRows = paddedImage.length - 2; const numCols = paddedImage[0].length - 2; @@ -513,7 +513,7 @@ const applyLaplacian = ( ); // Define the Laplacian kernel. - const kernel: number[][] = [ + const kernel = [ [0, 1, 0], [1, -4, 1], [0, 1, 0],