aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorIEatChili <nanunguyen99@gmail.com>2024-08-15 14:13:02 -0400
committerIEatChili <nanunguyen99@gmail.com>2024-08-15 14:13:02 -0400
commit0e975569e5686138e52bdc554b3f0391f42aeead (patch)
treebab5aff6665cdd07a37948d943d687c6d5158b2d /src/client/documents/Documents.ts
parent9e03f9333641c818ed9c711282f27f7213cbe3c1 (diff)
feat: added face recogntion box
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 3737aa0b5..ecea74fab 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -795,6 +795,10 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.IMAGEGROUPER), undefined, options);
}
+ export function FaceCollectionDocument(options: DocumentOptions = {}) {
+ return InstanceFromProto(Prototypes.get(DocumentType.FACECOLLECTION), undefined, options);
+ }
+
export function LoadingDocument(file: File | string, options: DocumentOptions) {
return InstanceFromProto(Prototypes.get(DocumentType.LOADING), undefined, { _height: 150, _width: 200, title: typeof file === 'string' ? file : file.name, ...options }, undefined, '');
}