Fix lint issues
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
This commit is contained in:
parent
82c365b2db
commit
41aeb63465
2 changed files with 5 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue