This commit is contained in:
Manav Rathi 2024-05-14 12:52:06 +05:30
parent 2a2cf04918
commit 289d52c682
No known key found for this signature in database
7 changed files with 7 additions and 7 deletions

View file

@ -5,8 +5,8 @@ import { t } from "i18next";
import { AppContext } from "pages/_app";
import { useContext } from "react";
import { components } from "react-select";
import { IndexStatus } from "utils/storage/mlIDbStorage";
import { Suggestion, SuggestionType } from "types/search";
import { IndexStatus } from "utils/storage/mlIDbStorage";
const { Menu } = components;

View file

@ -10,6 +10,7 @@ import { components } from "react-select";
import AsyncSelect from "react-select/async";
import { InputActionMeta } from "react-select/src/types";
import { City } from "services/locationSearchService";
import { Person } from "services/ml/types";
import {
getAutoCompleteSuggestions,
getDefaultOptions,
@ -17,7 +18,6 @@ import {
import { Collection } from "types/collection";
import { LocationTagData } from "types/entity";
import { EnteFile } from "types/file";
import { Person } from "services/ml/types";
import {
ClipSearchScores,
DateValue,

View file

@ -3,8 +3,8 @@ import { Skeleton, styled } from "@mui/material";
import { Legend } from "components/PhotoViewer/styledComponents/Legend";
import { t } from "i18next";
import React, { useEffect, useState } from "react";
import { EnteFile } from "types/file";
import { Face, Person } from "services/ml/types";
import { EnteFile } from "types/file";
import { getPeopleList, getUnidentifiedFaces } from "utils/machineLearning";
const FaceChipContainer = styled("div")`

View file

@ -1,5 +1,5 @@
import { JobConfig } from "types/common/job";
import { MLSearchConfig, MLSyncConfig } from "services/ml/types";
import { JobConfig } from "types/common/job";
export const DEFAULT_ML_SYNC_JOB_CONFIG: JobConfig = {
intervalSec: 5,

View file

@ -1,7 +1,7 @@
import { DebugInfo } from "hdbscan";
import PQueue from "p-queue";
import { EnteFile } from "types/file";
import { Dimensions } from "services/ml/geom";
import { EnteFile } from "types/file";
import { Box, Point } from "./geom";
export interface MLSyncResult {

View file

@ -1,7 +1,7 @@
import { Matrix } from "ml-matrix";
import { Point } from "services/ml/geom";
import { FaceAlignment, FaceDetection } from "services/ml/types";
import { getSimilarityTransformation } from "similarity-transformation";
import { Point } from "services/ml/geom";
const ARCFACE_LANDMARKS = [
[38.2946, 51.6963],

View file

@ -1,7 +1,7 @@
import { Box } from "services/ml/geom";
import { FaceAlignment, FaceCrop, FaceCropConfig } from "services/ml/types";
import { cropWithRotation } from "utils/image";
import { enlargeBox } from ".";
import { Box } from "services/ml/geom";
export function getFaceCrop(
imageBitmap: ImageBitmap,