oci-aivision 2.21.0 → 2.22.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 +45 -45
- package/lib/client.js +45 -45
- 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,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
|
*
|
|
@@ -16,7 +16,7 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface DocumentField {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The field type.
|
|
20
20
|
*/
|
|
21
21
|
"fieldType": DocumentField.FieldType;
|
|
22
22
|
"fieldLabel"?: model.FieldLabel;
|
|
@@ -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 job details for a batch document analysis.
|
|
16
16
|
*/
|
|
17
17
|
export interface DocumentJob {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The job id.
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
@@ -24,36 +24,36 @@ export interface DocumentJob {
|
|
|
24
24
|
*/
|
|
25
25
|
"compartmentId": string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The document 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.DocumentFeature>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* The document language, abbreviated according to ISO 639-2.
|
|
36
36
|
*/
|
|
37
37
|
"language"?: model.DocumentLanguage;
|
|
38
38
|
/**
|
|
39
|
-
* The type of
|
|
39
|
+
* The type of document.
|
|
40
40
|
*/
|
|
41
41
|
"documentType"?: model.DocumentType;
|
|
42
42
|
"inputLocation"?: model.ObjectListInlineInputLocation;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The job acceptance time.
|
|
45
45
|
*/
|
|
46
46
|
"timeAccepted": Date;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* The job start time.
|
|
49
49
|
*/
|
|
50
50
|
"timeStarted"?: Date;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* The job finish time.
|
|
53
53
|
*/
|
|
54
54
|
"timeFinished"?: Date;
|
|
55
55
|
/**
|
|
56
|
-
* How much progress the operation has made,
|
|
56
|
+
* 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.
|
|
57
57
|
*/
|
|
58
58
|
"percentComplete"?: number;
|
|
59
59
|
"outputLocation": model.OutputLocation;
|
|
@@ -62,11 +62,11 @@ export interface DocumentJob {
|
|
|
62
62
|
*/
|
|
63
63
|
"lifecycleState": DocumentJob.LifecycleState;
|
|
64
64
|
/**
|
|
65
|
-
* Whether to generate a
|
|
65
|
+
* Whether or not to generate a ZIP file containing the results.
|
|
66
66
|
*/
|
|
67
67
|
"isZipOutputEnabled"?: boolean;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The detailed status of FAILED state.
|
|
70
70
|
*/
|
|
71
71
|
"lifecycleDetails"?: DocumentJob.LifecycleDetails;
|
|
72
72
|
}
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -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 language of the document, abbreviated according to ISO 639-2.
|
|
15
15
|
**/
|
|
16
16
|
export declare enum DocumentLanguage {
|
|
17
17
|
Eng = "ENG",
|
|
@@ -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
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DocumentLanguage = void 0;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The language of the document, abbreviated according to ISO 639-2.
|
|
18
18
|
**/
|
|
19
19
|
var DocumentLanguage;
|
|
20
20
|
(function (DocumentLanguage) {
|
|
@@ -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
|
-
*
|
|
14
|
+
* The document information.
|
|
15
15
|
*/
|
|
16
16
|
export interface DocumentMetadata {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Teh number of pages in the document. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
19
19
|
*/
|
|
20
20
|
"pageCount": number;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* The result data format.
|
|
23
23
|
*/
|
|
24
24
|
"mimeType": string;
|
|
25
25
|
}
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -16,7 +16,7 @@ import * as model from "../model";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface DocumentTextDetectionFeature extends model.DocumentFeature {
|
|
18
18
|
/**
|
|
19
|
-
* Whether to generate a searchable PDF file.
|
|
19
|
+
* Whether or not to generate a searchable PDF file.
|
|
20
20
|
*/
|
|
21
21
|
"generateSearchablePdf"?: boolean;
|
|
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
|
*
|
|
@@ -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 document.
|
|
15
15
|
**/
|
|
16
16
|
export declare enum DocumentType {
|
|
17
17
|
Invoice = "INVOICE",
|
|
@@ -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
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DocumentType = void 0;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The type of document.
|
|
18
18
|
**/
|
|
19
19
|
var DocumentType;
|
|
20
20
|
(function (DocumentType) {
|
|
@@ -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
|
-
*
|
|
14
|
+
* The label in a field.
|
|
15
15
|
*/
|
|
16
16
|
export interface FieldLabel {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The name of the field label.
|
|
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/field-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
|
*
|
|
@@ -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
|
*
|