π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Agenda
Manav Rathi52cd2d30a131
diff --git a/web/packages/new/photos/services/ml/crop.ts b/web/packages/new/photos/services/ml/crop.tsindex cd0cafed85..e306d9399d 100644--- a/web/packages/new/photos/services/ml/crop.ts+++ b/web/packages/new/photos/services/ml/crop.ts@@ -3,6 +3,29 @@ import { blobCache } from "@/next/blob-cache";import { ensure } from "@/utils/ensure";import type { FaceAlignment } from "./index-face";+/**+ * Return the rectangle ("crop") of the original image that contains the face+ * that was detected by the face detection algorithm during indexing.+ *+ * @param imageBitmap+ * @param faceID+ * @param alignment+ * @returns+ */++/**+ * Return the face crops corresponding to each of the given face detections.+ *+ * @param imageBitmap The original image.+ *+ * @param faceBoxes Box (rectangles) marking the bounds of each of the faces+ * that were detected in the given image.+ */+export const extractFaceCrops = async (+ imageBitmap: ImageBitmap,+ faceBoxes: Box[],+) => {};+export const saveFaceCrop = async (imageBitmap: ImageBitmap,faceID: string,