/** * Data Labeling API * Use Data Labeling API to create Annotations on Images, Texts & Documents, and generate snapshots. * OpenAPI spec version: 20211001 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * This allows the labeler to apply label the highlighted text from OCR, this includes labelled and unlabelled data. */ export interface KeyValueSelectionEntity extends model.Entity { /** * Entity Name. */ "text": string; /** * A collection of label entities. */ "labels"?: Array; "boundingPolygon": model.BoundingPolygon; /** * Integer value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "rotation"?: number; /** * float value, score from OCR. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "confidence": number; /** * Integer value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "pageNumber"?: number; "entityType": string; } export declare namespace KeyValueSelectionEntity { function getJsonObj(obj: KeyValueSelectionEntity, isParentJsonObj?: boolean): object; const entityType = "KEYVALUESELECTION"; function getDeserializedJsonObj(obj: KeyValueSelectionEntity, isParentJsonObj?: boolean): object; }