π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Bilinear
Manav Rathi1f28fdada2bd
diff --git a/web/packages/new/photos/services/ml/clip.ts b/web/packages/new/photos/services/ml/clip.tsindex 1cd14047f4..4c19e0395b 100644--- a/web/packages/new/photos/services/ml/clip.ts+++ b/web/packages/new/photos/services/ml/clip.ts@@ -1,7 +1,7 @@import type { ElectronMLWorker } from "@/base/types/ipc";import type { ImageBitmapAndData } from "./blob";import { clipIndexes } from "./db";-import { pixelRGBBicubic } from "./image";+import { pixelRGBBilinear } from "./image";import { dotProduct, norm } from "./math";import type { CLIPMatches } from "./worker-types";@@ -145,7 +145,7 @@ const convertToCLIPInput = (imageData: ImageData) => {const cOffsetB = 2 * requiredHeight * requiredWidth; // ChannelOffsetBluefor (let h = 0 + heightOffset; h < scaledHeight - heightOffset; h++) {for (let w = 0 + widthOffset; w < scaledWidth - widthOffset; w++) {- const { r, g, b } = pixelRGBBicubic(+ const { r, g, b } = pixelRGBBilinear(w / scale,h / scale,pixelData,