diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-08 20:54:11 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-08 20:54:11 -0400 |
commit | 56e3d5c6958f51f09cc8a2d19e5c00e5bb59093c (patch) | |
tree | 5ff0da85eeb77d086394b783ab01f93534e205e3 /src/client/views/nodes/ImageBox.tsx | |
parent | 3e7cc70f7588c738c34de1d087e1d53b9410d9fe (diff) | |
parent | ef17b488348b0ac9f869878829fc6a60f64f9304 (diff) |
Merge branch 'ink_menu'
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 6913dfbc7..cabf30c13 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -192,7 +192,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps, ImageD extractFaces = () => { const converter = (results: any) => { - return results.map((face: CognitiveServices.Image.Face) => Docs.Get.FromJson({ data: face, title: `Face: ${face.faceId}` })!); + return results.map((face: CognitiveServices.Image.Face) => Doc.Get.FromJson({ data: face, title: `Face: ${face.faceId}` })!); }; this.url && CognitiveServices.Image.Appliers.ProcessImage(this.dataDoc, [this.fieldKey + "-faces"], this.url, Service.Face, converter); } |