feat(server): optimize partial facial recognition (#6634)

* optimize partial facial recognition

* add tests

* use map

* bulk insert faces
This commit is contained in:
Mert
2024-01-25 01:27:39 -05:00
committed by GitHub
parent 852effa998
commit bd87eb309c
9 changed files with 77 additions and 46 deletions

View File

@@ -22,7 +22,7 @@ export const newPersonRepositoryMock = (): jest.Mocked<IPersonRepository> => {
getRandomFace: jest.fn(),
reassignFaces: jest.fn(),
createFace: jest.fn(),
createFaces: jest.fn(),
getFaces: jest.fn(),
reassignFace: jest.fn(),
getFaceById: jest.fn(),