oci-aivision 2.20.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/aiservicevision-waiter.d.ts +2 -2
- package/lib/aiservicevision-waiter.js +2 -2
- package/lib/client.d.ts +46 -45
- package/lib/client.js +51 -46
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +2 -2
- package/lib/model/action-type.js +2 -2
- package/lib/model/analyze-document-details.d.ts +6 -6
- package/lib/model/analyze-document-details.js +2 -2
- package/lib/model/analyze-document-result.d.ts +11 -11
- package/lib/model/analyze-document-result.js +2 -2
- package/lib/model/analyze-image-details.d.ts +5 -5
- package/lib/model/analyze-image-details.js +2 -2
- package/lib/model/analyze-image-result.d.ts +10 -10
- package/lib/model/analyze-image-result.js +2 -2
- package/lib/model/bounding-polygon.d.ts +4 -4
- package/lib/model/bounding-polygon.js +2 -2
- package/lib/model/cell.d.ts +7 -7
- package/lib/model/cell.js +2 -2
- package/lib/model/change-model-compartment-details.d.ts +3 -3
- package/lib/model/change-model-compartment-details.js +2 -2
- package/lib/model/change-project-compartment-details.d.ts +2 -2
- package/lib/model/change-project-compartment-details.js +2 -2
- package/lib/model/create-document-job-details.d.ts +8 -8
- package/lib/model/create-document-job-details.js +2 -2
- package/lib/model/create-image-job-details.d.ts +7 -7
- package/lib/model/create-image-job-details.js +2 -2
- package/lib/model/create-model-details.d.ts +14 -14
- package/lib/model/create-model-details.js +2 -2
- package/lib/model/create-project-details.d.ts +9 -9
- package/lib/model/create-project-details.js +2 -2
- package/lib/model/data-science-labeling-dataset.d.ts +3 -3
- package/lib/model/data-science-labeling-dataset.js +2 -2
- package/lib/model/dataset.d.ts +2 -2
- package/lib/model/dataset.js +2 -2
- package/lib/model/detected-document-type.d.ts +5 -5
- package/lib/model/detected-document-type.js +2 -2
- package/lib/model/detected-language.d.ts +5 -5
- package/lib/model/detected-language.js +2 -2
- package/lib/model/dimensions.d.ts +6 -6
- package/lib/model/dimensions.js +2 -2
- package/lib/model/document-classification-feature.d.ts +4 -4
- package/lib/model/document-classification-feature.js +2 -2
- package/lib/model/document-details.d.ts +3 -3
- package/lib/model/document-details.js +2 -2
- package/lib/model/document-feature.d.ts +3 -3
- package/lib/model/document-feature.js +2 -2
- package/lib/model/document-field.d.ts +3 -3
- package/lib/model/document-field.js +2 -2
- package/lib/model/document-job.d.ts +14 -14
- package/lib/model/document-job.js +2 -2
- package/lib/model/document-key-value-detection-feature.d.ts +2 -2
- package/lib/model/document-key-value-detection-feature.js +2 -2
- package/lib/model/document-language-classification-feature.d.ts +2 -2
- package/lib/model/document-language-classification-feature.js +2 -2
- package/lib/model/document-language.d.ts +3 -3
- package/lib/model/document-language.js +3 -3
- package/lib/model/document-metadata.d.ts +5 -5
- package/lib/model/document-metadata.js +2 -2
- package/lib/model/document-table-detection-feature.d.ts +2 -2
- package/lib/model/document-table-detection-feature.js +2 -2
- package/lib/model/document-text-detection-feature.d.ts +3 -3
- package/lib/model/document-text-detection-feature.js +2 -2
- package/lib/model/document-type.d.ts +3 -3
- package/lib/model/document-type.js +3 -3
- package/lib/model/field-label.d.ts +5 -5
- package/lib/model/field-label.js +2 -2
- package/lib/model/field-name.d.ts +6 -6
- package/lib/model/field-name.js +2 -2
- package/lib/model/field-value.d.ts +6 -6
- package/lib/model/field-value.js +2 -2
- package/lib/model/image-classification-feature.d.ts +4 -4
- package/lib/model/image-classification-feature.js +2 -2
- package/lib/model/image-details.d.ts +3 -3
- package/lib/model/image-details.js +2 -2
- package/lib/model/image-feature.d.ts +3 -3
- package/lib/model/image-feature.js +2 -2
- package/lib/model/image-job.d.ts +12 -12
- package/lib/model/image-job.js +2 -2
- package/lib/model/image-object-detection-feature.d.ts +4 -4
- package/lib/model/image-object-detection-feature.js +2 -2
- package/lib/model/image-object.d.ts +5 -5
- package/lib/model/image-object.js +2 -2
- package/lib/model/image-text-detection-feature.d.ts +4 -4
- package/lib/model/image-text-detection-feature.js +2 -2
- package/lib/model/image-text.d.ts +5 -5
- package/lib/model/image-text.js +2 -2
- package/lib/model/index.d.ts +2 -2
- package/lib/model/index.js +2 -2
- package/lib/model/inline-document-details.d.ts +4 -4
- package/lib/model/inline-document-details.js +2 -2
- package/lib/model/inline-image-details.d.ts +4 -4
- package/lib/model/inline-image-details.js +2 -2
- package/lib/model/input-location.d.ts +3 -3
- package/lib/model/input-location.js +2 -2
- package/lib/model/label.d.ts +5 -5
- package/lib/model/label.js +2 -2
- package/lib/model/line.d.ts +6 -6
- package/lib/model/line.js +2 -2
- package/lib/model/model-collection.d.ts +4 -4
- package/lib/model/model-collection.js +2 -2
- package/lib/model/model-summary.d.ts +14 -14
- package/lib/model/model-summary.js +2 -2
- package/lib/model/model.d.ts +22 -22
- package/lib/model/model.js +2 -2
- package/lib/model/normalized-vertex.d.ts +4 -4
- package/lib/model/normalized-vertex.js +2 -2
- package/lib/model/object-list-inline-input-location.d.ts +3 -3
- package/lib/model/object-list-inline-input-location.js +2 -2
- package/lib/model/object-location.d.ts +5 -5
- package/lib/model/object-location.js +2 -2
- package/lib/model/object-storage-dataset.d.ts +3 -3
- package/lib/model/object-storage-dataset.js +2 -2
- package/lib/model/object-storage-document-details.d.ts +5 -5
- package/lib/model/object-storage-document-details.js +2 -2
- package/lib/model/object-storage-image-details.d.ts +6 -6
- package/lib/model/object-storage-image-details.js +2 -2
- package/lib/model/ontology-class.d.ts +5 -5
- package/lib/model/ontology-class.js +2 -2
- package/lib/model/operation-status.d.ts +3 -3
- package/lib/model/operation-status.js +3 -3
- package/lib/model/operation-type.d.ts +2 -2
- package/lib/model/operation-type.js +2 -2
- package/lib/model/output-location.d.ts +6 -6
- package/lib/model/output-location.js +2 -2
- package/lib/model/page.d.ts +7 -7
- package/lib/model/page.js +2 -2
- package/lib/model/processing-error.d.ts +5 -5
- package/lib/model/processing-error.js +2 -2
- package/lib/model/project-collection.d.ts +3 -3
- package/lib/model/project-collection.js +2 -2
- package/lib/model/project-summary.d.ts +11 -11
- package/lib/model/project-summary.js +2 -2
- package/lib/model/project.d.ts +12 -12
- package/lib/model/project.js +2 -2
- package/lib/model/sort-order.d.ts +2 -2
- package/lib/model/sort-order.js +2 -2
- package/lib/model/table-row.d.ts +3 -3
- package/lib/model/table-row.js +2 -2
- package/lib/model/table.d.ts +9 -9
- package/lib/model/table.js +2 -2
- package/lib/model/update-model-details.d.ts +8 -8
- package/lib/model/update-model-details.js +2 -2
- package/lib/model/update-project-details.d.ts +8 -8
- package/lib/model/update-project-details.js +2 -2
- package/lib/model/value-array.d.ts +3 -3
- package/lib/model/value-array.js +2 -2
- package/lib/model/value-date.d.ts +4 -4
- package/lib/model/value-date.js +2 -2
- package/lib/model/value-integer.d.ts +4 -4
- package/lib/model/value-integer.js +2 -2
- package/lib/model/value-number.d.ts +4 -4
- package/lib/model/value-number.js +2 -2
- package/lib/model/value-phone-number.d.ts +4 -4
- package/lib/model/value-phone-number.js +2 -2
- package/lib/model/value-string.d.ts +4 -4
- package/lib/model/value-string.js +2 -2
- package/lib/model/value-time.d.ts +4 -4
- package/lib/model/value-time.js +2 -2
- package/lib/model/word.d.ts +4 -4
- package/lib/model/word.js +2 -2
- package/lib/model/work-request-error-collection.d.ts +4 -4
- package/lib/model/work-request-error-collection.js +2 -2
- package/lib/model/work-request-error.d.ts +3 -3
- package/lib/model/work-request-error.js +2 -2
- package/lib/model/work-request-log-entry-collection.d.ts +4 -4
- package/lib/model/work-request-log-entry-collection.js +2 -2
- package/lib/model/work-request-log-entry.d.ts +3 -3
- package/lib/model/work-request-log-entry.js +2 -2
- package/lib/model/work-request-resource.d.ts +6 -6
- package/lib/model/work-request-resource.js +2 -2
- package/lib/model/work-request-summary-collection.d.ts +4 -4
- package/lib/model/work-request-summary-collection.js +2 -2
- package/lib/model/work-request-summary.d.ts +9 -9
- package/lib/model/work-request-summary.js +2 -2
- package/lib/model/work-request.d.ts +7 -7
- package/lib/model/work-request.js +2 -2
- package/lib/request/analyze-document-request.d.ts +2 -2
- package/lib/request/analyze-image-request.d.ts +1 -1
- package/lib/request/cancel-document-job-request.d.ts +1 -1
- package/lib/request/cancel-image-job-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +3 -3
- package/lib/request/change-project-compartment-request.d.ts +2 -2
- package/lib/request/create-document-job-request.d.ts +3 -3
- package/lib/request/create-image-job-request.d.ts +3 -3
- package/lib/request/create-model-request.d.ts +3 -3
- package/lib/request/create-project-request.d.ts +3 -3
- package/lib/request/delete-model-request.d.ts +2 -2
- package/lib/request/delete-project-request.d.ts +2 -2
- package/lib/request/get-document-job-request.d.ts +1 -1
- package/lib/request/get-image-job-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +2 -2
- package/lib/request/get-project-request.d.ts +2 -2
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -2
- package/lib/request/index.js +2 -2
- package/lib/request/list-models-request.d.ts +4 -4
- package/lib/request/list-projects-request.d.ts +4 -4
- package/lib/request/list-work-request-errors-request.d.ts +2 -2
- package/lib/request/list-work-request-logs-request.d.ts +2 -2
- package/lib/request/list-work-requests-request.d.ts +3 -3
- package/lib/request/update-model-request.d.ts +3 -3
- package/lib/request/update-project-request.d.ts +3 -3
- package/lib/response/analyze-document-response.d.ts +1 -1
- package/lib/response/analyze-image-response.d.ts +1 -1
- package/lib/response/cancel-document-job-response.d.ts +1 -1
- package/lib/response/cancel-image-job-response.d.ts +1 -1
- package/lib/response/cancel-work-request-response.d.ts +1 -1
- package/lib/response/change-model-compartment-response.d.ts +1 -1
- package/lib/response/change-project-compartment-response.d.ts +1 -1
- package/lib/response/create-document-job-response.d.ts +1 -1
- package/lib/response/create-image-job-response.d.ts +1 -1
- package/lib/response/create-model-response.d.ts +2 -2
- package/lib/response/create-project-response.d.ts +2 -2
- package/lib/response/delete-model-response.d.ts +2 -2
- package/lib/response/delete-project-response.d.ts +2 -2
- package/lib/response/get-document-job-response.d.ts +1 -1
- package/lib/response/get-image-job-response.d.ts +1 -1
- package/lib/response/get-model-response.d.ts +1 -1
- package/lib/response/get-project-response.d.ts +1 -1
- package/lib/response/get-work-request-response.d.ts +1 -1
- package/lib/response/index.d.ts +2 -2
- package/lib/response/index.js +2 -2
- package/lib/response/list-models-response.d.ts +1 -1
- package/lib/response/list-projects-response.d.ts +1 -1
- package/lib/response/list-work-request-errors-response.d.ts +1 -1
- package/lib/response/list-work-request-logs-response.d.ts +1 -1
- package/lib/response/list-work-requests-response.d.ts +1 -1
- package/lib/response/update-model-response.d.ts +2 -2
- package/lib/response/update-project-response.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The name of a form field.
|
|
16
16
|
*/
|
|
17
17
|
export interface FieldName {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The name of the field.
|
|
20
20
|
*/
|
|
21
21
|
"name": string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
24
|
*/
|
|
25
25
|
"confidence"?: number;
|
|
26
26
|
"boundingPolygon"?: model.BoundingPolygon;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* The indexes of the words in the field name.
|
|
29
29
|
*/
|
|
30
30
|
"wordIndexes"?: Array<number>;
|
|
31
31
|
}
|
package/lib/model/field-name.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The value of a form field.
|
|
16
16
|
*/
|
|
17
17
|
export interface FieldValue {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The detected text of a field.
|
|
20
20
|
*/
|
|
21
21
|
"text"?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
24
|
*/
|
|
25
25
|
"confidence": number;
|
|
26
26
|
"boundingPolygon": model.BoundingPolygon;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* The indexes of the words in the field value.
|
|
29
29
|
*/
|
|
30
30
|
"wordIndexes": Array<number>;
|
|
31
31
|
"valueType": string;
|
package/lib/model/field-value.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image classification parameters.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageClassificationFeature extends model.ImageFeature {
|
|
18
18
|
/**
|
|
@@ -20,7 +20,7 @@ export interface ImageClassificationFeature extends model.ImageFeature {
|
|
|
20
20
|
*/
|
|
21
21
|
"maxResults"?: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The custom model ID.
|
|
24
24
|
*/
|
|
25
25
|
"modelId"?: string;
|
|
26
26
|
"featureType": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 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.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The details of an image to analyze.
|
|
15
15
|
*/
|
|
16
16
|
export interface ImageDetails {
|
|
17
17
|
"source": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 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.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The type of image analysis.
|
|
15
15
|
*/
|
|
16
16
|
export interface ImageFeature {
|
|
17
17
|
"featureType": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/model/image-job.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The job details for a batch image analysis.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageJob {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The job id
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
@@ -24,28 +24,28 @@ export interface ImageJob {
|
|
|
24
24
|
*/
|
|
25
25
|
"compartmentId": string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The image job display name.
|
|
28
28
|
*/
|
|
29
29
|
"displayName"?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The list of requested document analysis types.
|
|
32
32
|
*/
|
|
33
33
|
"features": Array<model.ImageFeature>;
|
|
34
34
|
"inputLocation"?: model.ObjectListInlineInputLocation;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The job acceptance time.
|
|
37
37
|
*/
|
|
38
38
|
"timeAccepted": Date;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The job start time.
|
|
41
41
|
*/
|
|
42
42
|
"timeStarted"?: Date;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The job finish time.
|
|
45
45
|
*/
|
|
46
46
|
"timeFinished"?: Date;
|
|
47
47
|
/**
|
|
48
|
-
* How much progress the operation has made,
|
|
48
|
+
* How much progress the operation has made, compared to the total amount of work to be performed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
49
|
*/
|
|
50
50
|
"percentComplete"?: number;
|
|
51
51
|
"outputLocation": model.OutputLocation;
|
|
@@ -54,11 +54,11 @@ export interface ImageJob {
|
|
|
54
54
|
*/
|
|
55
55
|
"lifecycleState": ImageJob.LifecycleState;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The detailed status of FAILED state.
|
|
58
58
|
*/
|
|
59
59
|
"lifecycleDetails"?: ImageJob.LifecycleDetails;
|
|
60
60
|
/**
|
|
61
|
-
* Whether to generate a
|
|
61
|
+
* Whether or not to generate a ZIP file containing the results.
|
|
62
62
|
*/
|
|
63
63
|
"isZipOutputEnabled"?: boolean;
|
|
64
64
|
}
|
package/lib/model/image-job.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The object detection parameters.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageObjectDetectionFeature extends model.ImageFeature {
|
|
18
18
|
/**
|
|
@@ -20,7 +20,7 @@ export interface ImageObjectDetectionFeature extends model.ImageFeature {
|
|
|
20
20
|
*/
|
|
21
21
|
"maxResults"?: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The custom model ID.
|
|
24
24
|
*/
|
|
25
25
|
"modelId"?: string;
|
|
26
26
|
"featureType": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The object detected in an image.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageObject {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The object category name. Every value returned by the pre-deployed model is in English.
|
|
20
20
|
*/
|
|
21
21
|
"name": string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The confidence score, between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
24
|
*/
|
|
25
25
|
"confidence": number;
|
|
26
26
|
"boundingPolygon": model.BoundingPolygon;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The text detection parameters.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageTextDetectionFeature extends model.ImageFeature {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The language of the document image, abbreviated according to ISO 639-2.
|
|
20
20
|
*/
|
|
21
21
|
"language"?: model.DocumentLanguage;
|
|
22
22
|
"featureType": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The detected text.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageText {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The words recognized in an image.
|
|
20
20
|
*/
|
|
21
21
|
"words": Array<model.Word>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The lines of text recognized in an image.
|
|
24
24
|
*/
|
|
25
25
|
"lines": Array<model.Line>;
|
|
26
26
|
}
|
package/lib/model/image-text.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
package/lib/model/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The document incorporated in the request payload.
|
|
16
16
|
*/
|
|
17
17
|
export interface InlineDocumentDetails extends model.DocumentDetails {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Raw document data.
|
|
20
20
|
*/
|
|
21
21
|
"data": string;
|
|
22
22
|
"source": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image incorporated in the request payload.
|
|
16
16
|
*/
|
|
17
17
|
export interface InlineImageDetails extends model.ImageDetails {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Raw image data.
|
|
20
20
|
*/
|
|
21
21
|
"data": string;
|
|
22
22
|
"source": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 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.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* The location of the
|
|
14
|
+
* The location of the inputs.
|
|
15
15
|
*/
|
|
16
16
|
export interface InputLocation {
|
|
17
17
|
"sourceType": string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/model/label.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
* 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.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* A label describing an image. Every label returned by the pre-deployed model
|
|
14
|
+
* A label describing an image. Every label returned by the pre-deployed model is in English.
|
|
15
15
|
*/
|
|
16
16
|
export interface Label {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The classification catagory label name.
|
|
19
19
|
*/
|
|
20
20
|
"name": string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
23
|
*/
|
|
24
24
|
"confidence": number;
|
|
25
25
|
}
|
package/lib/model/label.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/model/line.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Vision API
|
|
3
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
4
4
|
* OpenAPI spec version: 20220125
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The line of text.
|
|
16
16
|
*/
|
|
17
17
|
export interface Line {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The text recognized.
|
|
20
20
|
*/
|
|
21
21
|
"text": string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
24
|
*/
|
|
25
25
|
"confidence": number;
|
|
26
26
|
"boundingPolygon": model.BoundingPolygon;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* The array of words.
|
|
29
29
|
*/
|
|
30
30
|
"wordIndexes": Array<number>;
|
|
31
31
|
}
|
package/lib/model/line.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Vision API
|
|
4
|
+
* Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
|
|
5
5
|
* OpenAPI spec version: 20220125
|
|
6
6
|
*
|
|
7
7
|
*
|