Fix lint issues

unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
This commit is contained in:
Manav Rathi 2024-04-19 15:02:09 +05:30
parent 82c365b2db
commit 41aeb63465
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -144,8 +144,10 @@ class FaceService {
syncContext.faceEmbeddingService.faceSize,
imageBitmap,
);
const blurValues =
syncContext.blurDetectionService.detectBlur(faceImages, newMlFile.faces);
const blurValues = syncContext.blurDetectionService.detectBlur(
faceImages,
newMlFile.faces,
);
newMlFile.faces.forEach((f, i) => (f.blurValue = blurValues[i]));
imageBitmap.close();

View file

@ -80,7 +80,7 @@ class LaplacianBlurDetectionService implements BlurDetectionService {
// Create a new matrix with extra padding
const paddedImage: number[][] = Array.from(
{ length: paddedNumRows},
{ length: paddedNumRows },
() => new Array(paddedNumCols).fill(0),
);