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
package/lib/client.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
|
*
|
|
@@ -151,7 +151,7 @@ class AIServiceVisionClient {
|
|
|
151
151
|
* @param AnalyzeDocumentRequest
|
|
152
152
|
* @return AnalyzeDocumentResponse
|
|
153
153
|
* @throws OciError when an error occurs
|
|
154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
|
|
155
155
|
*/
|
|
156
156
|
analyzeDocument(analyzeDocumentRequest) {
|
|
157
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -212,7 +212,7 @@ class AIServiceVisionClient {
|
|
|
212
212
|
* @param AnalyzeImageRequest
|
|
213
213
|
* @return AnalyzeImageResponse
|
|
214
214
|
* @throws OciError when an error occurs
|
|
215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/AnalyzeImage.ts.html |here} to see how to use AnalyzeImage API.
|
|
216
216
|
*/
|
|
217
217
|
analyzeImage(analyzeImageRequest) {
|
|
218
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -267,13 +267,13 @@ class AIServiceVisionClient {
|
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
|
-
* Cancel a batch
|
|
270
|
+
* Cancel a document batch job.
|
|
271
271
|
*
|
|
272
272
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
273
273
|
* @param CancelDocumentJobRequest
|
|
274
274
|
* @return CancelDocumentJobResponse
|
|
275
275
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CancelDocumentJob.ts.html |here} to see how to use CancelDocumentJob API.
|
|
277
277
|
*/
|
|
278
278
|
cancelDocumentJob(cancelDocumentJobRequest) {
|
|
279
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -321,13 +321,13 @@ class AIServiceVisionClient {
|
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
|
-
* Cancel
|
|
324
|
+
* Cancel an image batch job.
|
|
325
325
|
*
|
|
326
326
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
327
327
|
* @param CancelImageJobRequest
|
|
328
328
|
* @return CancelImageJobResponse
|
|
329
329
|
* @throws OciError when an error occurs
|
|
330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CancelImageJob.ts.html |here} to see how to use CancelImageJob API.
|
|
331
331
|
*/
|
|
332
332
|
cancelImageJob(cancelImageJobRequest) {
|
|
333
333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -375,12 +375,12 @@ class AIServiceVisionClient {
|
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
/**
|
|
378
|
-
* Cancel work request with the given ID.
|
|
378
|
+
* Cancel the work request with the given ID.
|
|
379
379
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
380
380
|
* @param CancelWorkRequestRequest
|
|
381
381
|
* @return CancelWorkRequestResponse
|
|
382
382
|
* @throws OciError when an error occurs
|
|
383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
383
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
384
384
|
*/
|
|
385
385
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
386
386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -428,12 +428,12 @@ class AIServiceVisionClient {
|
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
/**
|
|
431
|
-
* Moves a model from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
|
|
431
|
+
* Moves a model from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
|
|
432
432
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
433
433
|
* @param ChangeModelCompartmentRequest
|
|
434
434
|
* @return ChangeModelCompartmentResponse
|
|
435
435
|
* @throws OciError when an error occurs
|
|
436
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
436
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
437
437
|
*/
|
|
438
438
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
439
439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -482,12 +482,12 @@ class AIServiceVisionClient {
|
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* Move a project from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
|
|
486
486
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
487
487
|
* @param ChangeProjectCompartmentRequest
|
|
488
488
|
* @return ChangeProjectCompartmentResponse
|
|
489
489
|
* @throws OciError when an error occurs
|
|
490
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
491
491
|
*/
|
|
492
492
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
493
493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -536,13 +536,13 @@ class AIServiceVisionClient {
|
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
/**
|
|
539
|
-
* Create a
|
|
539
|
+
* Create a document analysis batch job.
|
|
540
540
|
*
|
|
541
541
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
542
542
|
* @param CreateDocumentJobRequest
|
|
543
543
|
* @return CreateDocumentJobResponse
|
|
544
544
|
* @throws OciError when an error occurs
|
|
545
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CreateDocumentJob.ts.html |here} to see how to use CreateDocumentJob API.
|
|
546
546
|
*/
|
|
547
547
|
createDocumentJob(createDocumentJobRequest) {
|
|
548
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -598,13 +598,13 @@ class AIServiceVisionClient {
|
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
601
|
-
* Create
|
|
601
|
+
* Create an image analysis batch job.
|
|
602
602
|
*
|
|
603
603
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
604
604
|
* @param CreateImageJobRequest
|
|
605
605
|
* @return CreateImageJobResponse
|
|
606
606
|
* @throws OciError when an error occurs
|
|
607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
607
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CreateImageJob.ts.html |here} to see how to use CreateImageJob API.
|
|
608
608
|
*/
|
|
609
609
|
createImageJob(createImageJobRequest) {
|
|
610
610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -660,13 +660,13 @@ class AIServiceVisionClient {
|
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
|
-
*
|
|
663
|
+
* Create a new model.
|
|
664
664
|
*
|
|
665
665
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
666
666
|
* @param CreateModelRequest
|
|
667
667
|
* @return CreateModelResponse
|
|
668
668
|
* @throws OciError when an error occurs
|
|
669
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
669
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
670
670
|
*/
|
|
671
671
|
createModel(createModelRequest) {
|
|
672
672
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -727,13 +727,13 @@ class AIServiceVisionClient {
|
|
|
727
727
|
});
|
|
728
728
|
}
|
|
729
729
|
/**
|
|
730
|
-
*
|
|
730
|
+
* Create a new project.
|
|
731
731
|
*
|
|
732
732
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
733
733
|
* @param CreateProjectRequest
|
|
734
734
|
* @return CreateProjectResponse
|
|
735
735
|
* @throws OciError when an error occurs
|
|
736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
736
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
737
737
|
*/
|
|
738
738
|
createProject(createProjectRequest) {
|
|
739
739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -794,12 +794,12 @@ class AIServiceVisionClient {
|
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
/**
|
|
797
|
-
*
|
|
797
|
+
* Delete a model by identifier.
|
|
798
798
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
799
799
|
* @param DeleteModelRequest
|
|
800
800
|
* @return DeleteModelResponse
|
|
801
801
|
* @throws OciError when an error occurs
|
|
802
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
802
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
803
803
|
*/
|
|
804
804
|
deleteModel(deleteModelRequest) {
|
|
805
805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -852,12 +852,12 @@ class AIServiceVisionClient {
|
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
854
|
/**
|
|
855
|
-
*
|
|
855
|
+
* Delete a project by identifier.
|
|
856
856
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
857
857
|
* @param DeleteProjectRequest
|
|
858
858
|
* @return DeleteProjectResponse
|
|
859
859
|
* @throws OciError when an error occurs
|
|
860
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
861
861
|
*/
|
|
862
862
|
deleteProject(deleteProjectRequest) {
|
|
863
863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -910,13 +910,13 @@ class AIServiceVisionClient {
|
|
|
910
910
|
});
|
|
911
911
|
}
|
|
912
912
|
/**
|
|
913
|
-
* Get details of a batch
|
|
913
|
+
* Get details of a document batch job.
|
|
914
914
|
*
|
|
915
915
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
916
916
|
* @param GetDocumentJobRequest
|
|
917
917
|
* @return GetDocumentJobResponse
|
|
918
918
|
* @throws OciError when an error occurs
|
|
919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/GetDocumentJob.ts.html |here} to see how to use GetDocumentJob API.
|
|
920
920
|
*/
|
|
921
921
|
getDocumentJob(getDocumentJobRequest) {
|
|
922
922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -972,13 +972,13 @@ class AIServiceVisionClient {
|
|
|
972
972
|
});
|
|
973
973
|
}
|
|
974
974
|
/**
|
|
975
|
-
* Get details of
|
|
975
|
+
* Get details of an image batch job.
|
|
976
976
|
*
|
|
977
977
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
978
978
|
* @param GetImageJobRequest
|
|
979
979
|
* @return GetImageJobResponse
|
|
980
980
|
* @throws OciError when an error occurs
|
|
981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/GetImageJob.ts.html |here} to see how to use GetImageJob API.
|
|
982
982
|
*/
|
|
983
983
|
getImageJob(getImageJobRequest) {
|
|
984
984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1034,12 +1034,12 @@ class AIServiceVisionClient {
|
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
1036
|
/**
|
|
1037
|
-
*
|
|
1037
|
+
* Get a model by identifier.
|
|
1038
1038
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1039
1039
|
* @param GetModelRequest
|
|
1040
1040
|
* @return GetModelResponse
|
|
1041
1041
|
* @throws OciError when an error occurs
|
|
1042
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1043
1043
|
*/
|
|
1044
1044
|
getModel(getModelRequest) {
|
|
1045
1045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1095,12 +1095,12 @@ class AIServiceVisionClient {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
}
|
|
1097
1097
|
/**
|
|
1098
|
-
*
|
|
1098
|
+
* Get a project by identifier.
|
|
1099
1099
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1100
1100
|
* @param GetProjectRequest
|
|
1101
1101
|
* @return GetProjectResponse
|
|
1102
1102
|
* @throws OciError when an error occurs
|
|
1103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/GetProject.ts.html |here} to see how to use GetProject API.
|
|
1104
1104
|
*/
|
|
1105
1105
|
getProject(getProjectRequest) {
|
|
1106
1106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1161,7 +1161,7 @@ class AIServiceVisionClient {
|
|
|
1161
1161
|
* @param GetWorkRequestRequest
|
|
1162
1162
|
* @return GetWorkRequestResponse
|
|
1163
1163
|
* @throws OciError when an error occurs
|
|
1164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1165
1165
|
*/
|
|
1166
1166
|
getWorkRequest(getWorkRequestRequest) {
|
|
1167
1167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1228,7 +1228,7 @@ class AIServiceVisionClient {
|
|
|
1228
1228
|
* @param ListModelsRequest
|
|
1229
1229
|
* @return ListModelsResponse
|
|
1230
1230
|
* @throws OciError when an error occurs
|
|
1231
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ListModels.ts.html |here} to see how to use ListModels API.
|
|
1232
1232
|
*/
|
|
1233
1233
|
listModels(listModelsRequest) {
|
|
1234
1234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1298,7 +1298,7 @@ class AIServiceVisionClient {
|
|
|
1298
1298
|
* @param ListProjectsRequest
|
|
1299
1299
|
* @return ListProjectsResponse
|
|
1300
1300
|
* @throws OciError when an error occurs
|
|
1301
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
1302
1302
|
*/
|
|
1303
1303
|
listProjects(listProjectsRequest) {
|
|
1304
1304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1361,13 +1361,13 @@ class AIServiceVisionClient {
|
|
|
1361
1361
|
});
|
|
1362
1362
|
}
|
|
1363
1363
|
/**
|
|
1364
|
-
*
|
|
1364
|
+
* Returns a (paginated) list of errors for a given work request.
|
|
1365
1365
|
*
|
|
1366
1366
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1367
1367
|
* @param ListWorkRequestErrorsRequest
|
|
1368
1368
|
* @return ListWorkRequestErrorsResponse
|
|
1369
1369
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1370
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1371
1371
|
*/
|
|
1372
1372
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1373
1373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1434,7 +1434,7 @@ class AIServiceVisionClient {
|
|
|
1434
1434
|
* @param ListWorkRequestLogsRequest
|
|
1435
1435
|
* @return ListWorkRequestLogsResponse
|
|
1436
1436
|
* @throws OciError when an error occurs
|
|
1437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1438
1438
|
*/
|
|
1439
1439
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1440
1440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1501,7 +1501,7 @@ class AIServiceVisionClient {
|
|
|
1501
1501
|
* @param ListWorkRequestsRequest
|
|
1502
1502
|
* @return ListWorkRequestsResponse
|
|
1503
1503
|
* @throws OciError when an error occurs
|
|
1504
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1504
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1505
1505
|
*/
|
|
1506
1506
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1507
1507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1564,12 +1564,12 @@ class AIServiceVisionClient {
|
|
|
1564
1564
|
});
|
|
1565
1565
|
}
|
|
1566
1566
|
/**
|
|
1567
|
-
* Updates model metadata.
|
|
1567
|
+
* Updates the model metadata.
|
|
1568
1568
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1569
1569
|
* @param UpdateModelRequest
|
|
1570
1570
|
* @return UpdateModelResponse
|
|
1571
1571
|
* @throws OciError when an error occurs
|
|
1572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
1573
1573
|
*/
|
|
1574
1574
|
updateModel(updateModelRequest) {
|
|
1575
1575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1623,12 +1623,12 @@ class AIServiceVisionClient {
|
|
|
1623
1623
|
});
|
|
1624
1624
|
}
|
|
1625
1625
|
/**
|
|
1626
|
-
*
|
|
1626
|
+
* Update the project metadata.
|
|
1627
1627
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1628
1628
|
* @param UpdateProjectRequest
|
|
1629
1629
|
* @return UpdateProjectResponse
|
|
1630
1630
|
* @throws OciError when an error occurs
|
|
1631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/aivision/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
1632
1632
|
*/
|
|
1633
1633
|
updateProject(updateProjectRequest) {
|
|
1634
1634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -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/action-type.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 details of how to analyze a document.
|
|
16
16
|
*/
|
|
17
17
|
export interface AnalyzeDocumentDetails {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The types of document analysis requested.
|
|
20
20
|
*/
|
|
21
21
|
"features": Array<model.DocumentFeature>;
|
|
22
22
|
"document": model.ObjectStorageDocumentDetails | model.InlineDocumentDetails;
|
|
@@ -26,11 +26,11 @@ export interface AnalyzeDocumentDetails {
|
|
|
26
26
|
"compartmentId"?: string;
|
|
27
27
|
"outputLocation"?: model.OutputLocation;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* The document language, abbreviated according to ISO 639-2.
|
|
30
30
|
*/
|
|
31
31
|
"language"?: model.DocumentLanguage;
|
|
32
32
|
/**
|
|
33
|
-
* The type
|
|
33
|
+
* The document type.
|
|
34
34
|
*/
|
|
35
35
|
"documentType"?: model.DocumentType;
|
|
36
36
|
}
|
|
@@ -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,12 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The document analysis results.
|
|
16
16
|
*/
|
|
17
17
|
export interface AnalyzeDocumentResult {
|
|
18
18
|
"documentMetadata": model.DocumentMetadata;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The array of a Page.
|
|
21
21
|
*/
|
|
22
22
|
"pages": Array<model.Page>;
|
|
23
23
|
/**
|
|
@@ -29,31 +29,31 @@ export interface AnalyzeDocumentResult {
|
|
|
29
29
|
*/
|
|
30
30
|
"detectedLanguages"?: Array<model.DetectedLanguage>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The document classification model version.
|
|
33
33
|
*/
|
|
34
34
|
"documentClassificationModelVersion"?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The document language classification model version.
|
|
37
37
|
*/
|
|
38
38
|
"languageClassificationModelVersion"?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The document text detection model version.
|
|
41
41
|
*/
|
|
42
42
|
"textDetectionModelVersion"?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The document keyValue detection model version.
|
|
45
45
|
*/
|
|
46
46
|
"keyValueDetectionModelVersion"?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* The document table detection model version.
|
|
49
49
|
*/
|
|
50
50
|
"tableDetectionModelVersion"?: string;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* The errors encountered during document analysis.
|
|
53
53
|
*/
|
|
54
54
|
"errors"?: Array<model.ProcessingError>;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* The searchable PDF file that was generated.
|
|
57
57
|
*/
|
|
58
58
|
"searchablePdf"?: string;
|
|
59
59
|
}
|
|
@@ -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,16 +12,16 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The details of how to analyze an image.
|
|
16
16
|
*/
|
|
17
17
|
export interface AnalyzeImageDetails {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The types of image analysis.
|
|
20
20
|
*/
|
|
21
21
|
"features": Array<model.ImageFeature>;
|
|
22
22
|
"image": model.ObjectStorageImageDetails | model.InlineImageDetails;
|
|
23
23
|
/**
|
|
24
|
-
* The
|
|
24
|
+
* The OCID of the compartment that calls the API.
|
|
25
25
|
*/
|
|
26
26
|
"compartmentId"?: string;
|
|
27
27
|
}
|
|
@@ -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,36 +12,36 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image analysis results.
|
|
16
16
|
*/
|
|
17
17
|
export interface AnalyzeImageResult {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The detected objects.
|
|
20
20
|
*/
|
|
21
21
|
"imageObjects"?: Array<model.ImageObject>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The image classification labels.
|
|
24
24
|
*/
|
|
25
25
|
"labels"?: Array<model.Label>;
|
|
26
26
|
/**
|
|
27
|
-
* ontologyClasses of image labels.
|
|
27
|
+
* The ontologyClasses of image labels.
|
|
28
28
|
*/
|
|
29
29
|
"ontologyClasses"?: Array<model.OntologyClass>;
|
|
30
30
|
"imageText"?: model.ImageText;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The image classification model version.
|
|
33
33
|
*/
|
|
34
34
|
"imageClassificationModelVersion"?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The object detection model version.
|
|
37
37
|
*/
|
|
38
38
|
"objectDetectionModelVersion"?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The text detection model version.
|
|
41
41
|
*/
|
|
42
42
|
"textDetectionModelVersion"?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The errors encountered during image analysis.
|
|
45
45
|
*/
|
|
46
46
|
"errors"?: Array<model.ProcessingError>;
|
|
47
47
|
}
|
|
@@ -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,12 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The object-bounding polygon box.
|
|
16
16
|
*/
|
|
17
17
|
export interface BoundingPolygon {
|
|
18
18
|
/**
|
|
19
19
|
* An array of normalized points defining the polygon's perimeter, with an implicit segment between subsequent points and between the first and last point.
|
|
20
|
-
* Rectangles are defined with four points,
|
|
20
|
+
* Rectangles are defined with four points. For example, `[{\"x\": 0, \"y\": 0}, {\"x\": 1, \"y\": 0}, {\"x\": 1, \"y\": 0.5}, {\"x\": 0, \"y\": 0.5}]` represents the top half of an image.
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
"normalizedVertices": Array<model.NormalizedVertex>;
|
|
@@ -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
|
*
|