diff options
| author | bobzel <zzzman@gmail.com> | 2024-08-22 15:36:41 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-08-22 15:36:41 -0400 |
| commit | c9c5514c0607dcacaf8b84ef4a7730a815451d98 (patch) | |
| tree | 6cbec7b93242d6cb70db81340ebfd618f1984ce5 /src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx | |
| parent | f18978c507dd4c9c0940a1ce17daa2e7000bccdd (diff) | |
from last
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx index 46d90db86..de7c2c027 100644 --- a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx +++ b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx @@ -75,7 +75,7 @@ export class UniqueFaceView extends ObservableReactComponent<UniqueFaceProps> { const match = faceMatcher.matchDescriptor(new Float32Array(Array.from(face))); return match.distance < prev.dist ? { dist: match.distance, face_match: face } : prev; }, - { dist: 1, face_match: new List<number>() as Opt<List<number>> } + { dist: 1, face_match: undefined as Opt<List<number>> } ); // assign the face in the image that's closest to the face collection to be the face that's assigned to the collection |
