@huaweicloud/huaweicloud-sdk-image 3.1.46 → 3.1.48
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/huaweicloud-sdk-image.d.ts +3 -0
- package/huaweicloud-sdk-image.d.ts.map +1 -0
- package/huaweicloud-sdk-image.js +32 -0
- package/huaweicloud-sdk-image.js.map +1 -0
- package/package.json +8 -4
- package/v2/ImageClient.d.ts +344 -0
- package/v2/ImageClient.d.ts.map +1 -0
- package/v2/{ImageClient.ts → ImageClient.js} +185 -344
- package/v2/ImageClient.js.map +1 -0
- package/v2/ImageRegion.d.ts +11 -0
- package/v2/ImageRegion.d.ts.map +1 -0
- package/v2/ImageRegion.js +30 -0
- package/v2/ImageRegion.js.map +1 -0
- package/v2/model/BoundingBox.d.ts +16 -0
- package/v2/model/BoundingBox.d.ts.map +1 -0
- package/v2/model/BoundingBox.js +37 -0
- package/v2/model/BoundingBox.js.map +1 -0
- package/v2/model/CelebrityRecognitionReq.d.ts +10 -0
- package/v2/model/CelebrityRecognitionReq.d.ts.map +1 -0
- package/v2/model/CelebrityRecognitionReq.js +21 -0
- package/v2/model/CelebrityRecognitionReq.js.map +1 -0
- package/v2/model/CelebrityRecognitionResultBody.d.ts +12 -0
- package/v2/model/CelebrityRecognitionResultBody.d.ts.map +1 -0
- package/v2/model/CelebrityRecognitionResultBody.js +27 -0
- package/v2/model/CelebrityRecognitionResultBody.js.map +1 -0
- package/v2/model/CreateImageHighresolutionMattingTaskRequest.d.ts +7 -0
- package/v2/model/CreateImageHighresolutionMattingTaskRequest.d.ts.map +1 -0
- package/v2/model/CreateImageHighresolutionMattingTaskRequest.js +13 -0
- package/v2/model/CreateImageHighresolutionMattingTaskRequest.js.map +1 -0
- package/v2/model/CreateImageHighresolutionMattingTaskResponse.d.ts +13 -0
- package/v2/model/CreateImageHighresolutionMattingTaskResponse.d.ts.map +1 -0
- package/v2/model/CreateImageHighresolutionMattingTaskResponse.js +31 -0
- package/v2/model/CreateImageHighresolutionMattingTaskResponse.js.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequest.d.ts +7 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequest.d.ts.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequest.js +13 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequest.js.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.d.ts +16 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.d.ts.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.js +27 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.js.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.d.ts +13 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.d.ts.map +1 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.js +31 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.js.map +1 -0
- package/v2/model/ImageDescriptionReq.d.ts +8 -0
- package/v2/model/ImageDescriptionReq.d.ts.map +1 -0
- package/v2/model/ImageDescriptionReq.js +17 -0
- package/v2/model/ImageDescriptionReq.js.map +1 -0
- package/v2/model/ImageDescriptionResponseResult.d.ts +6 -0
- package/v2/model/ImageDescriptionResponseResult.d.ts.map +1 -0
- package/v2/model/ImageDescriptionResponseResult.js +13 -0
- package/v2/model/ImageDescriptionResponseResult.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingConfig.d.ts +7 -0
- package/v2/model/ImageHighresolutionMattingConfig.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingConfig.js +14 -0
- package/v2/model/ImageHighresolutionMattingConfig.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingConfigCommon.d.ts +7 -0
- package/v2/model/ImageHighresolutionMattingConfigCommon.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingConfigCommon.js +14 -0
- package/v2/model/ImageHighresolutionMattingConfigCommon.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingInference.d.ts +18 -0
- package/v2/model/ImageHighresolutionMattingInference.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingInference.js +33 -0
- package/v2/model/ImageHighresolutionMattingInference.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingInput.d.ts +9 -0
- package/v2/model/ImageHighresolutionMattingInput.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingInput.js +19 -0
- package/v2/model/ImageHighresolutionMattingInput.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingInputData.d.ts +8 -0
- package/v2/model/ImageHighresolutionMattingInputData.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingInputData.js +17 -0
- package/v2/model/ImageHighresolutionMattingInputData.js.map +1 -0
- package/v2/model/ImageHighresolutionMattingRequestBody.d.ts +16 -0
- package/v2/model/ImageHighresolutionMattingRequestBody.d.ts.map +1 -0
- package/v2/model/ImageHighresolutionMattingRequestBody.js +28 -0
- package/v2/model/ImageHighresolutionMattingRequestBody.js.map +1 -0
- package/v2/model/ImageMainObjectDetectionInstance.d.ts +10 -0
- package/v2/model/ImageMainObjectDetectionInstance.d.ts.map +1 -0
- package/v2/model/ImageMainObjectDetectionInstance.js +21 -0
- package/v2/model/ImageMainObjectDetectionInstance.js.map +1 -0
- package/v2/model/ImageMainObjectDetectionReq.d.ts +10 -0
- package/v2/model/ImageMainObjectDetectionReq.d.ts.map +1 -0
- package/v2/model/ImageMainObjectDetectionReq.js +21 -0
- package/v2/model/ImageMainObjectDetectionReq.js.map +1 -0
- package/v2/model/ImageMediaTaggingDetInstance.d.ts +11 -0
- package/v2/model/ImageMediaTaggingDetInstance.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingDetInstance.js +23 -0
- package/v2/model/ImageMediaTaggingDetInstance.js.map +1 -0
- package/v2/model/ImageMediaTaggingDetItemBody.d.ts +18 -0
- package/v2/model/ImageMediaTaggingDetItemBody.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingDetItemBody.js +35 -0
- package/v2/model/ImageMediaTaggingDetItemBody.js.map +1 -0
- package/v2/model/ImageMediaTaggingDetItemBodyI18nTag.d.ts +8 -0
- package/v2/model/ImageMediaTaggingDetItemBodyI18nTag.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingDetItemBodyI18nTag.js +17 -0
- package/v2/model/ImageMediaTaggingDetItemBodyI18nTag.js.map +1 -0
- package/v2/model/ImageMediaTaggingDetReq.d.ts +14 -0
- package/v2/model/ImageMediaTaggingDetReq.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingDetReq.js +29 -0
- package/v2/model/ImageMediaTaggingDetReq.js.map +1 -0
- package/v2/model/ImageMediaTaggingDetResponseResult.d.ts +7 -0
- package/v2/model/ImageMediaTaggingDetResponseResult.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingDetResponseResult.js +13 -0
- package/v2/model/ImageMediaTaggingDetResponseResult.js.map +1 -0
- package/v2/model/ImageMediaTaggingInstance.d.ts +11 -0
- package/v2/model/ImageMediaTaggingInstance.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingInstance.js +23 -0
- package/v2/model/ImageMediaTaggingInstance.js.map +1 -0
- package/v2/model/ImageMediaTaggingItemBody.d.ts +23 -0
- package/v2/model/ImageMediaTaggingItemBody.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingItemBody.js +45 -0
- package/v2/model/ImageMediaTaggingItemBody.js.map +1 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nTag.d.ts +8 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nTag.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nTag.js +17 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nTag.js.map +1 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nType.d.ts +8 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nType.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nType.js +17 -0
- package/v2/model/ImageMediaTaggingItemBodyI18nType.js.map +1 -0
- package/v2/model/ImageMediaTaggingReq.d.ts +18 -0
- package/v2/model/ImageMediaTaggingReq.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingReq.js +39 -0
- package/v2/model/ImageMediaTaggingReq.js.map +1 -0
- package/v2/model/ImageMediaTaggingResponseResult.d.ts +7 -0
- package/v2/model/ImageMediaTaggingResponseResult.d.ts.map +1 -0
- package/v2/model/ImageMediaTaggingResponseResult.js +13 -0
- package/v2/model/ImageMediaTaggingResponseResult.js.map +1 -0
- package/v2/model/ImageSuperResolutionReq.d.ts +10 -0
- package/v2/model/ImageSuperResolutionReq.d.ts.map +1 -0
- package/v2/model/ImageSuperResolutionReq.js +21 -0
- package/v2/model/ImageSuperResolutionReq.js.map +1 -0
- package/v2/model/ImageSuperResolutionResponseResult.d.ts +8 -0
- package/v2/model/ImageSuperResolutionResponseResult.d.ts.map +1 -0
- package/v2/model/ImageSuperResolutionResponseResult.js +19 -0
- package/v2/model/ImageSuperResolutionResponseResult.js.map +1 -0
- package/v2/model/ImageTaggingBoundingBox.d.ts +16 -0
- package/v2/model/ImageTaggingBoundingBox.d.ts.map +1 -0
- package/v2/model/ImageTaggingBoundingBox.js +37 -0
- package/v2/model/ImageTaggingBoundingBox.js.map +1 -0
- package/v2/model/ImageTaggingInstance.d.ts +11 -0
- package/v2/model/ImageTaggingInstance.d.ts.map +1 -0
- package/v2/model/ImageTaggingInstance.js +23 -0
- package/v2/model/ImageTaggingInstance.js.map +1 -0
- package/v2/model/ImageTaggingItemBody.d.ts +23 -0
- package/v2/model/ImageTaggingItemBody.d.ts.map +1 -0
- package/v2/model/ImageTaggingItemBody.js +45 -0
- package/v2/model/ImageTaggingItemBody.js.map +1 -0
- package/v2/model/ImageTaggingItemBodyI18nTag.d.ts +8 -0
- package/v2/model/ImageTaggingItemBodyI18nTag.d.ts.map +1 -0
- package/v2/model/ImageTaggingItemBodyI18nTag.js +17 -0
- package/v2/model/ImageTaggingItemBodyI18nTag.js.map +1 -0
- package/v2/model/ImageTaggingItemBodyI18nType.d.ts +8 -0
- package/v2/model/ImageTaggingItemBodyI18nType.d.ts.map +1 -0
- package/v2/model/ImageTaggingItemBodyI18nType.js +17 -0
- package/v2/model/ImageTaggingItemBodyI18nType.js.map +1 -0
- package/v2/model/ImageTaggingReq.d.ts +14 -0
- package/v2/model/ImageTaggingReq.d.ts.map +1 -0
- package/v2/model/ImageTaggingReq.js +29 -0
- package/v2/model/ImageTaggingReq.js.map +1 -0
- package/v2/model/ImageTaggingResponseResult.d.ts +7 -0
- package/v2/model/ImageTaggingResponseResult.d.ts.map +1 -0
- package/v2/model/ImageTaggingResponseResult.js +13 -0
- package/v2/model/ImageTaggingResponseResult.js.map +1 -0
- package/v2/model/RecaptureDetectReq.d.ts +10 -0
- package/v2/model/RecaptureDetectReq.d.ts.map +1 -0
- package/v2/model/RecaptureDetectReq.js +21 -0
- package/v2/model/RecaptureDetectReq.js.map +1 -0
- package/v2/model/RecaptureDetectResponseResult.d.ts +13 -0
- package/v2/model/RecaptureDetectResponseResult.d.ts.map +1 -0
- package/v2/model/RecaptureDetectResponseResult.js +25 -0
- package/v2/model/RecaptureDetectResponseResult.js.map +1 -0
- package/v2/model/RecaptureDetectResponseResultDetail.d.ts +8 -0
- package/v2/model/RecaptureDetectResponseResultDetail.d.ts.map +1 -0
- package/v2/model/RecaptureDetectResponseResultDetail.js +17 -0
- package/v2/model/RecaptureDetectResponseResultDetail.js.map +1 -0
- package/v2/model/RunCelebrityRecognitionRequest.d.ts +7 -0
- package/v2/model/RunCelebrityRecognitionRequest.d.ts.map +1 -0
- package/v2/model/RunCelebrityRecognitionRequest.js +13 -0
- package/v2/model/RunCelebrityRecognitionRequest.js.map +1 -0
- package/v2/model/RunCelebrityRecognitionResponse.d.ts +8 -0
- package/v2/model/RunCelebrityRecognitionResponse.d.ts.map +1 -0
- package/v2/model/RunCelebrityRecognitionResponse.js +15 -0
- package/v2/model/RunCelebrityRecognitionResponse.js.map +1 -0
- package/v2/model/RunImageDescriptionRequest.d.ts +7 -0
- package/v2/model/RunImageDescriptionRequest.d.ts.map +1 -0
- package/v2/model/RunImageDescriptionRequest.js +13 -0
- package/v2/model/RunImageDescriptionRequest.js.map +1 -0
- package/v2/model/RunImageDescriptionResponse.d.ts +8 -0
- package/v2/model/RunImageDescriptionResponse.d.ts.map +1 -0
- package/v2/model/RunImageDescriptionResponse.js +15 -0
- package/v2/model/RunImageDescriptionResponse.js.map +1 -0
- package/v2/model/RunImageMainObjectDetectionRequest.d.ts +7 -0
- package/v2/model/RunImageMainObjectDetectionRequest.d.ts.map +1 -0
- package/v2/model/RunImageMainObjectDetectionRequest.js +13 -0
- package/v2/model/RunImageMainObjectDetectionRequest.js.map +1 -0
- package/v2/model/RunImageMainObjectDetectionResponse.d.ts +8 -0
- package/v2/model/RunImageMainObjectDetectionResponse.d.ts.map +1 -0
- package/v2/model/RunImageMainObjectDetectionResponse.js +15 -0
- package/v2/model/RunImageMainObjectDetectionResponse.js.map +1 -0
- package/v2/model/RunImageMediaTaggingDetRequest.d.ts +7 -0
- package/v2/model/RunImageMediaTaggingDetRequest.d.ts.map +1 -0
- package/v2/model/RunImageMediaTaggingDetRequest.js +13 -0
- package/v2/model/RunImageMediaTaggingDetRequest.js.map +1 -0
- package/v2/model/RunImageMediaTaggingDetResponse.d.ts +8 -0
- package/v2/model/RunImageMediaTaggingDetResponse.d.ts.map +1 -0
- package/v2/model/RunImageMediaTaggingDetResponse.js +15 -0
- package/v2/model/RunImageMediaTaggingDetResponse.js.map +1 -0
- package/v2/model/RunImageMediaTaggingRequest.d.ts +7 -0
- package/v2/model/RunImageMediaTaggingRequest.d.ts.map +1 -0
- package/v2/model/RunImageMediaTaggingRequest.js +13 -0
- package/v2/model/RunImageMediaTaggingRequest.js.map +1 -0
- package/v2/model/RunImageMediaTaggingResponse.d.ts +8 -0
- package/v2/model/RunImageMediaTaggingResponse.d.ts.map +1 -0
- package/v2/model/RunImageMediaTaggingResponse.js +15 -0
- package/v2/model/RunImageMediaTaggingResponse.js.map +1 -0
- package/v2/model/RunImageSuperResolutionRequest.d.ts +7 -0
- package/v2/model/RunImageSuperResolutionRequest.d.ts.map +1 -0
- package/v2/model/RunImageSuperResolutionRequest.js +13 -0
- package/v2/model/RunImageSuperResolutionRequest.js.map +1 -0
- package/v2/model/RunImageSuperResolutionResponse.d.ts +8 -0
- package/v2/model/RunImageSuperResolutionResponse.d.ts.map +1 -0
- package/v2/model/RunImageSuperResolutionResponse.js +15 -0
- package/v2/model/RunImageSuperResolutionResponse.js.map +1 -0
- package/v2/model/RunImageTaggingRequest.d.ts +7 -0
- package/v2/model/RunImageTaggingRequest.d.ts.map +1 -0
- package/v2/model/RunImageTaggingRequest.js +13 -0
- package/v2/model/RunImageTaggingRequest.js.map +1 -0
- package/v2/model/RunImageTaggingResponse.d.ts +8 -0
- package/v2/model/RunImageTaggingResponse.d.ts.map +1 -0
- package/v2/model/RunImageTaggingResponse.js +15 -0
- package/v2/model/RunImageTaggingResponse.js.map +1 -0
- package/v2/model/RunRecaptureDetectRequest.d.ts +7 -0
- package/v2/model/RunRecaptureDetectRequest.d.ts.map +1 -0
- package/v2/model/RunRecaptureDetectRequest.js +13 -0
- package/v2/model/RunRecaptureDetectRequest.js.map +1 -0
- package/v2/model/RunRecaptureDetectResponse.d.ts +8 -0
- package/v2/model/RunRecaptureDetectResponse.d.ts.map +1 -0
- package/v2/model/RunRecaptureDetectResponse.js +15 -0
- package/v2/model/RunRecaptureDetectResponse.js.map +1 -0
- package/v2/model/ShowImageHighresolutionMattingTaskRequest.d.ts +8 -0
- package/v2/model/ShowImageHighresolutionMattingTaskRequest.d.ts.map +1 -0
- package/v2/model/ShowImageHighresolutionMattingTaskRequest.js +20 -0
- package/v2/model/ShowImageHighresolutionMattingTaskRequest.js.map +1 -0
- package/v2/model/ShowImageHighresolutionMattingTaskResponse.d.ts +35 -0
- package/v2/model/ShowImageHighresolutionMattingTaskResponse.d.ts.map +1 -0
- package/v2/model/ShowImageHighresolutionMattingTaskResponse.js +71 -0
- package/v2/model/ShowImageHighresolutionMattingTaskResponse.js.map +1 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.d.ts +8 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.d.ts.map +1 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.js +20 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.js.map +1 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.d.ts +35 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.d.ts.map +1 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.js +71 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.js.map +1 -0
- package/v2/model/TaskCallback.d.ts +6 -0
- package/v2/model/TaskCallback.d.ts.map +1 -0
- package/v2/model/TaskCallback.js +13 -0
- package/v2/model/TaskCallback.js.map +1 -0
- package/v2/model/TaskOutput.d.ts +7 -0
- package/v2/model/TaskOutput.d.ts.map +1 -0
- package/v2/model/TaskOutput.js +14 -0
- package/v2/model/TaskOutput.js.map +1 -0
- package/v2/model/TaskOutputObs.d.ts +8 -0
- package/v2/model/TaskOutputObs.d.ts.map +1 -0
- package/v2/model/TaskOutputObs.js +19 -0
- package/v2/model/TaskOutputObs.js.map +1 -0
- package/v2/model/VideoTaggingMediaTaskInput.d.ts +9 -0
- package/v2/model/VideoTaggingMediaTaskInput.d.ts.map +1 -0
- package/v2/model/VideoTaggingMediaTaskInput.js +19 -0
- package/v2/model/VideoTaggingMediaTaskInput.js.map +1 -0
- package/v2/model/VideoTaggingMediaTaskInputData.d.ts +12 -0
- package/v2/model/VideoTaggingMediaTaskInputData.d.ts.map +1 -0
- package/v2/model/VideoTaggingMediaTaskInputData.js +25 -0
- package/v2/model/VideoTaggingMediaTaskInputData.js.map +1 -0
- package/v2/model/VideoTaggingTaskConfig.d.ts +7 -0
- package/v2/model/VideoTaggingTaskConfig.d.ts.map +1 -0
- package/v2/model/VideoTaggingTaskConfig.js +13 -0
- package/v2/model/VideoTaggingTaskConfig.js.map +1 -0
- package/v2/model/VideoTaggingTaskConfigCommon.d.ts +7 -0
- package/v2/model/VideoTaggingTaskConfigCommon.d.ts.map +1 -0
- package/v2/model/VideoTaggingTaskConfigCommon.js +14 -0
- package/v2/model/VideoTaggingTaskConfigCommon.js.map +1 -0
- package/v2/model/VideoTagginginference.d.ts +42 -0
- package/v2/model/VideoTagginginference.d.ts.map +1 -0
- package/v2/model/VideoTagginginference.js +92 -0
- package/v2/model/VideoTagginginference.js.map +1 -0
- package/v2/{public-api.ts → public-api.d.ts} +1 -1
- package/v2/public-api.d.ts.map +1 -0
- package/v2/public-api.js +88 -0
- package/v2/public-api.js.map +1 -0
- package/huaweicloud-sdk-image.ts +0 -4
- package/v2/ImageRegion.ts +0 -34
- package/v2/model/BoundingBox.ts +0 -38
- package/v2/model/CelebrityRecognitionReq.ts +0 -21
- package/v2/model/CelebrityRecognitionResultBody.ts +0 -27
- package/v2/model/CreateImageHighresolutionMattingTaskRequest.ts +0 -12
- package/v2/model/CreateImageHighresolutionMattingTaskResponse.ts +0 -30
- package/v2/model/CreateVideoTaggingMediaTaskRequest.ts +0 -12
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.ts +0 -32
- package/v2/model/CreateVideoTaggingMediaTaskResponse.ts +0 -30
- package/v2/model/ImageDescriptionReq.ts +0 -16
- package/v2/model/ImageDescriptionResponseResult.ts +0 -11
- package/v2/model/ImageHighresolutionMattingConfig.ts +0 -13
- package/v2/model/ImageHighresolutionMattingConfigCommon.ts +0 -13
- package/v2/model/ImageHighresolutionMattingInference.ts +0 -32
- package/v2/model/ImageHighresolutionMattingInput.ts +0 -19
- package/v2/model/ImageHighresolutionMattingInputData.ts +0 -16
- package/v2/model/ImageHighresolutionMattingRequestBody.ts +0 -33
- package/v2/model/ImageMainObjectDetectionInstance.ts +0 -21
- package/v2/model/ImageMainObjectDetectionReq.ts +0 -21
- package/v2/model/ImageMediaTaggingDetInstance.ts +0 -23
- package/v2/model/ImageMediaTaggingDetItemBody.ts +0 -39
- package/v2/model/ImageMediaTaggingDetItemBodyI18nTag.ts +0 -16
- package/v2/model/ImageMediaTaggingDetReq.ts +0 -31
- package/v2/model/ImageMediaTaggingDetResponseResult.ts +0 -12
- package/v2/model/ImageMediaTaggingInstance.ts +0 -23
- package/v2/model/ImageMediaTaggingItemBody.ts +0 -51
- package/v2/model/ImageMediaTaggingItemBodyI18nTag.ts +0 -16
- package/v2/model/ImageMediaTaggingItemBodyI18nType.ts +0 -16
- package/v2/model/ImageMediaTaggingReq.ts +0 -42
- package/v2/model/ImageMediaTaggingResponseResult.ts +0 -12
- package/v2/model/ImageSuperResolutionReq.ts +0 -21
- package/v2/model/ImageSuperResolutionResponseResult.ts +0 -17
- package/v2/model/ImageTaggingBoundingBox.ts +0 -38
- package/v2/model/ImageTaggingInstance.ts +0 -23
- package/v2/model/ImageTaggingItemBody.ts +0 -51
- package/v2/model/ImageTaggingItemBodyI18nTag.ts +0 -16
- package/v2/model/ImageTaggingItemBodyI18nType.ts +0 -16
- package/v2/model/ImageTaggingReq.ts +0 -31
- package/v2/model/ImageTaggingResponseResult.ts +0 -12
- package/v2/model/RecaptureDetectReq.ts +0 -21
- package/v2/model/RecaptureDetectResponseResult.ts +0 -27
- package/v2/model/RecaptureDetectResponseResultDetail.ts +0 -16
- package/v2/model/RunCelebrityRecognitionRequest.ts +0 -12
- package/v2/model/RunCelebrityRecognitionResponse.ts +0 -14
- package/v2/model/RunImageDescriptionRequest.ts +0 -12
- package/v2/model/RunImageDescriptionResponse.ts +0 -14
- package/v2/model/RunImageMainObjectDetectionRequest.ts +0 -12
- package/v2/model/RunImageMainObjectDetectionResponse.ts +0 -14
- package/v2/model/RunImageMediaTaggingDetRequest.ts +0 -12
- package/v2/model/RunImageMediaTaggingDetResponse.ts +0 -14
- package/v2/model/RunImageMediaTaggingRequest.ts +0 -12
- package/v2/model/RunImageMediaTaggingResponse.ts +0 -14
- package/v2/model/RunImageSuperResolutionRequest.ts +0 -12
- package/v2/model/RunImageSuperResolutionResponse.ts +0 -14
- package/v2/model/RunImageTaggingRequest.ts +0 -12
- package/v2/model/RunImageTaggingResponse.ts +0 -14
- package/v2/model/RunRecaptureDetectRequest.ts +0 -12
- package/v2/model/RunRecaptureDetectResponse.ts +0 -14
- package/v2/model/ShowImageHighresolutionMattingTaskRequest.ts +0 -18
- package/v2/model/ShowImageHighresolutionMattingTaskResponse.ts +0 -81
- package/v2/model/ShowVideoTaggingMediaTaskRequest.ts +0 -18
- package/v2/model/ShowVideoTaggingMediaTaskResponse.ts +0 -81
- package/v2/model/TaskCallback.ts +0 -11
- package/v2/model/TaskOutput.ts +0 -13
- package/v2/model/TaskOutputObs.ts +0 -18
- package/v2/model/VideoTaggingMediaTaskInput.ts +0 -19
- package/v2/model/VideoTaggingMediaTaskInputData.ts +0 -26
- package/v2/model/VideoTaggingTaskConfig.ts +0 -12
- package/v2/model/VideoTaggingTaskConfigCommon.ts +0 -13
- package/v2/model/VideoTagginginference.ts +0 -97
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"huaweicloud-sdk-image.d.ts","sourceRoot":"","sources":["../../../services/image/huaweicloud-sdk-image.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,EAAE,MAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.v2 = void 0;
|
|
30
|
+
__exportStar(require("./v2/public-api"), exports);
|
|
31
|
+
exports.v2 = __importStar(require("./v2/public-api"));
|
|
32
|
+
//# sourceMappingURL=huaweicloud-sdk-image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"huaweicloud-sdk-image.js","sourceRoot":"","sources":["../../../services/image/huaweicloud-sdk-image.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAuC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-image",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.48",
|
|
4
4
|
"description": "Huaweicloud SDK for image",
|
|
5
5
|
"main": "huaweicloud-sdk-image.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-image.d.ts",
|
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/huaweicloud
|
|
12
|
+
"url": "https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3"
|
|
13
13
|
},
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.48"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^14.14.37",
|
|
21
|
+
"typescript": "^4.9.5"
|
|
18
22
|
}
|
|
19
|
-
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
|
|
2
|
+
import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
|
3
|
+
import { CreateImageHighresolutionMattingTaskRequest } from './model/CreateImageHighresolutionMattingTaskRequest';
|
|
4
|
+
import { CreateImageHighresolutionMattingTaskResponse } from './model/CreateImageHighresolutionMattingTaskResponse';
|
|
5
|
+
import { CreateVideoTaggingMediaTaskRequest } from './model/CreateVideoTaggingMediaTaskRequest';
|
|
6
|
+
import { CreateVideoTaggingMediaTaskResponse } from './model/CreateVideoTaggingMediaTaskResponse';
|
|
7
|
+
import { RunCelebrityRecognitionRequest } from './model/RunCelebrityRecognitionRequest';
|
|
8
|
+
import { RunCelebrityRecognitionResponse } from './model/RunCelebrityRecognitionResponse';
|
|
9
|
+
import { RunImageDescriptionRequest } from './model/RunImageDescriptionRequest';
|
|
10
|
+
import { RunImageDescriptionResponse } from './model/RunImageDescriptionResponse';
|
|
11
|
+
import { RunImageMainObjectDetectionRequest } from './model/RunImageMainObjectDetectionRequest';
|
|
12
|
+
import { RunImageMainObjectDetectionResponse } from './model/RunImageMainObjectDetectionResponse';
|
|
13
|
+
import { RunImageMediaTaggingDetRequest } from './model/RunImageMediaTaggingDetRequest';
|
|
14
|
+
import { RunImageMediaTaggingDetResponse } from './model/RunImageMediaTaggingDetResponse';
|
|
15
|
+
import { RunImageMediaTaggingRequest } from './model/RunImageMediaTaggingRequest';
|
|
16
|
+
import { RunImageMediaTaggingResponse } from './model/RunImageMediaTaggingResponse';
|
|
17
|
+
import { RunImageSuperResolutionRequest } from './model/RunImageSuperResolutionRequest';
|
|
18
|
+
import { RunImageSuperResolutionResponse } from './model/RunImageSuperResolutionResponse';
|
|
19
|
+
import { RunImageTaggingRequest } from './model/RunImageTaggingRequest';
|
|
20
|
+
import { RunImageTaggingResponse } from './model/RunImageTaggingResponse';
|
|
21
|
+
import { RunRecaptureDetectRequest } from './model/RunRecaptureDetectRequest';
|
|
22
|
+
import { RunRecaptureDetectResponse } from './model/RunRecaptureDetectResponse';
|
|
23
|
+
import { ShowImageHighresolutionMattingTaskRequest } from './model/ShowImageHighresolutionMattingTaskRequest';
|
|
24
|
+
import { ShowImageHighresolutionMattingTaskResponse } from './model/ShowImageHighresolutionMattingTaskResponse';
|
|
25
|
+
import { ShowVideoTaggingMediaTaskRequest } from './model/ShowVideoTaggingMediaTaskRequest';
|
|
26
|
+
import { ShowVideoTaggingMediaTaskResponse } from './model/ShowVideoTaggingMediaTaskResponse';
|
|
27
|
+
export declare class ImageClient {
|
|
28
|
+
static newBuilder(): ClientBuilder<ImageClient>;
|
|
29
|
+
private hcClient;
|
|
30
|
+
constructor(client: HcClient);
|
|
31
|
+
getPath(): string;
|
|
32
|
+
/**
|
|
33
|
+
* 创建图像高清抠图任务,将输入的高清图像中的商品主体从原图中扣取出来,输出商品主体图片或者蒙版。
|
|
34
|
+
*
|
|
35
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
36
|
+
*
|
|
37
|
+
* @summary 创建图像高清抠图任务
|
|
38
|
+
* @param {ImageHighresolutionMattingRequestBody} createImageHighresolutionMattingTaskRequestBody Create task request body
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
createImageHighresolutionMattingTask(createImageHighresolutionMattingTaskRequest?: CreateImageHighresolutionMattingTaskRequest): Promise<CreateImageHighresolutionMattingTaskResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
45
|
+
*
|
|
46
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
47
|
+
*
|
|
48
|
+
* @summary 创建视频标签任务
|
|
49
|
+
* @param {CreateVideoTaggingMediaTaskRequestBody} createVideoTaggingMediaTaskRequestBody 创建任务请求体
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
createVideoTaggingMediaTask(createVideoTaggingMediaTaskRequest?: CreateVideoTaggingMediaTaskRequest): Promise<CreateVideoTaggingMediaTaskResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
56
|
+
*
|
|
57
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
58
|
+
*
|
|
59
|
+
* @summary 名人识别
|
|
60
|
+
* @param {CelebrityRecognitionReq} runCelebrityRecognitionRequestBody 名人识别接口请求体
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
runCelebrityRecognition(runCelebrityRecognitionRequest?: RunCelebrityRecognitionRequest): Promise<RunCelebrityRecognitionResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* 图像描述
|
|
67
|
+
*
|
|
68
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
69
|
+
*
|
|
70
|
+
* @summary 图像描述
|
|
71
|
+
* @param {ImageDescriptionReq} runImageDescriptionRequestBody 图像描述接口请求体
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
runImageDescription(runImageDescriptionRequest?: RunImageDescriptionRequest): Promise<RunImageDescriptionResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* 检测图像中的主要内容,返回主要内容的坐标信息,这里的主要内容包括两方面:bounding_box和main_object_box
|
|
78
|
+
*
|
|
79
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
80
|
+
*
|
|
81
|
+
* @summary 主体识别
|
|
82
|
+
* @param {ImageMainObjectDetectionReq} runImageMainObjectDetectionRequestBody 图像主体识别接口请求体
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
runImageMainObjectDetection(runImageMainObjectDetectionRequest?: RunImageMainObjectDetectionRequest): Promise<RunImageMainObjectDetectionResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
|
|
89
|
+
*
|
|
90
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
91
|
+
*
|
|
92
|
+
* @summary 标签识别
|
|
93
|
+
* @param {ImageMediaTaggingReq} runImageMediaTaggingRequestBody 媒资图像标签(分类)接口请求体
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
runImageMediaTagging(runImageMediaTaggingRequest?: RunImageMediaTaggingRequest): Promise<RunImageMediaTaggingResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应的位置坐标。
|
|
100
|
+
*
|
|
101
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
102
|
+
*
|
|
103
|
+
* @summary 媒资图像标签检测
|
|
104
|
+
* @param {ImageMediaTaggingDetReq} runImageMediaTaggingDetRequestBody 媒资图像标签检测版接口请求体
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
runImageMediaTaggingDet(runImageMediaTaggingDetRequest?: RunImageMediaTaggingDetRequest): Promise<RunImageMediaTaggingDetResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* 图像数据,base64编码,输入图像范围200px ~ 1080px,支持JPG/PNG/BMP/JPEG/WEBP格式
|
|
111
|
+
*
|
|
112
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
113
|
+
*
|
|
114
|
+
* @summary 图像超分
|
|
115
|
+
* @param {ImageSuperResolutionReq} runImageSuperResolutionRequestBody 图像超分接口请求体
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
runImageSuperResolution(runImageSuperResolutionRequest?: RunImageSuperResolutionRequest): Promise<RunImageSuperResolutionResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
|
|
122
|
+
*
|
|
123
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
124
|
+
*
|
|
125
|
+
* @summary 图像标签
|
|
126
|
+
* @param {ImageTaggingReq} runImageTaggingRequestBody 图像标签接口请求体
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
runImageTagging(runImageTaggingRequest?: RunImageTaggingRequest): Promise<RunImageTaggingResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
133
|
+
*
|
|
134
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
135
|
+
*
|
|
136
|
+
* @summary 翻拍识别
|
|
137
|
+
* @param {RecaptureDetectReq} runRecaptureDetectRequestBody This is a auto create Body Object
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
runRecaptureDetect(runRecaptureDetectRequest?: RunRecaptureDetectRequest): Promise<RunRecaptureDetectResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* 查询图像高清抠图任务,返回参数配置以及任务状态信息。
|
|
144
|
+
*
|
|
145
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
146
|
+
*
|
|
147
|
+
* @summary 查询图像高清抠图任务
|
|
148
|
+
* @param {string} taskId 任务id
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
showImageHighresolutionMattingTask(showImageHighresolutionMattingTaskRequest?: ShowImageHighresolutionMattingTaskRequest): Promise<ShowImageHighresolutionMattingTaskResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
155
|
+
*
|
|
156
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
157
|
+
*
|
|
158
|
+
* @summary 查询视频标签任务
|
|
159
|
+
* @param {string} taskId 任务id
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
showVideoTaggingMediaTask(showVideoTaggingMediaTaskRequest?: ShowVideoTaggingMediaTaskRequest): Promise<ShowVideoTaggingMediaTaskResponse>;
|
|
164
|
+
}
|
|
165
|
+
export declare const ParamCreater: () => {
|
|
166
|
+
/**
|
|
167
|
+
* 创建图像高清抠图任务,将输入的高清图像中的商品主体从原图中扣取出来,输出商品主体图片或者蒙版。
|
|
168
|
+
*
|
|
169
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
170
|
+
*/
|
|
171
|
+
createImageHighresolutionMattingTask(createImageHighresolutionMattingTaskRequest?: CreateImageHighresolutionMattingTaskRequest): {
|
|
172
|
+
method: string;
|
|
173
|
+
url: string;
|
|
174
|
+
contentType: string;
|
|
175
|
+
queryParams: {};
|
|
176
|
+
pathParams: {};
|
|
177
|
+
headers: {};
|
|
178
|
+
data: {};
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
182
|
+
*
|
|
183
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
184
|
+
*/
|
|
185
|
+
createVideoTaggingMediaTask(createVideoTaggingMediaTaskRequest?: CreateVideoTaggingMediaTaskRequest): {
|
|
186
|
+
method: string;
|
|
187
|
+
url: string;
|
|
188
|
+
contentType: string;
|
|
189
|
+
queryParams: {};
|
|
190
|
+
pathParams: {};
|
|
191
|
+
headers: {};
|
|
192
|
+
data: {};
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
196
|
+
*
|
|
197
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
198
|
+
*/
|
|
199
|
+
runCelebrityRecognition(runCelebrityRecognitionRequest?: RunCelebrityRecognitionRequest): {
|
|
200
|
+
method: string;
|
|
201
|
+
url: string;
|
|
202
|
+
contentType: string;
|
|
203
|
+
queryParams: {};
|
|
204
|
+
pathParams: {};
|
|
205
|
+
headers: {};
|
|
206
|
+
data: {};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* 图像描述
|
|
210
|
+
*
|
|
211
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
212
|
+
*/
|
|
213
|
+
runImageDescription(runImageDescriptionRequest?: RunImageDescriptionRequest): {
|
|
214
|
+
method: string;
|
|
215
|
+
url: string;
|
|
216
|
+
contentType: string;
|
|
217
|
+
queryParams: {};
|
|
218
|
+
pathParams: {};
|
|
219
|
+
headers: {};
|
|
220
|
+
data: {};
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* 检测图像中的主要内容,返回主要内容的坐标信息,这里的主要内容包括两方面:bounding_box和main_object_box
|
|
224
|
+
*
|
|
225
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
226
|
+
*/
|
|
227
|
+
runImageMainObjectDetection(runImageMainObjectDetectionRequest?: RunImageMainObjectDetectionRequest): {
|
|
228
|
+
method: string;
|
|
229
|
+
url: string;
|
|
230
|
+
contentType: string;
|
|
231
|
+
queryParams: {};
|
|
232
|
+
pathParams: {};
|
|
233
|
+
headers: {};
|
|
234
|
+
data: {};
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
|
|
238
|
+
*
|
|
239
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
240
|
+
*/
|
|
241
|
+
runImageMediaTagging(runImageMediaTaggingRequest?: RunImageMediaTaggingRequest): {
|
|
242
|
+
method: string;
|
|
243
|
+
url: string;
|
|
244
|
+
contentType: string;
|
|
245
|
+
queryParams: {};
|
|
246
|
+
pathParams: {};
|
|
247
|
+
headers: {};
|
|
248
|
+
data: {};
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应的位置坐标。
|
|
252
|
+
*
|
|
253
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
254
|
+
*/
|
|
255
|
+
runImageMediaTaggingDet(runImageMediaTaggingDetRequest?: RunImageMediaTaggingDetRequest): {
|
|
256
|
+
method: string;
|
|
257
|
+
url: string;
|
|
258
|
+
contentType: string;
|
|
259
|
+
queryParams: {};
|
|
260
|
+
pathParams: {};
|
|
261
|
+
headers: {};
|
|
262
|
+
data: {};
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* 图像数据,base64编码,输入图像范围200px ~ 1080px,支持JPG/PNG/BMP/JPEG/WEBP格式
|
|
266
|
+
*
|
|
267
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
268
|
+
*/
|
|
269
|
+
runImageSuperResolution(runImageSuperResolutionRequest?: RunImageSuperResolutionRequest): {
|
|
270
|
+
method: string;
|
|
271
|
+
url: string;
|
|
272
|
+
contentType: string;
|
|
273
|
+
queryParams: {};
|
|
274
|
+
pathParams: {};
|
|
275
|
+
headers: {};
|
|
276
|
+
data: {};
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* 自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
|
|
280
|
+
*
|
|
281
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
282
|
+
*/
|
|
283
|
+
runImageTagging(runImageTaggingRequest?: RunImageTaggingRequest): {
|
|
284
|
+
method: string;
|
|
285
|
+
url: string;
|
|
286
|
+
contentType: string;
|
|
287
|
+
queryParams: {};
|
|
288
|
+
pathParams: {};
|
|
289
|
+
headers: {};
|
|
290
|
+
data: {};
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
294
|
+
*
|
|
295
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
296
|
+
*/
|
|
297
|
+
runRecaptureDetect(runRecaptureDetectRequest?: RunRecaptureDetectRequest): {
|
|
298
|
+
method: string;
|
|
299
|
+
url: string;
|
|
300
|
+
contentType: string;
|
|
301
|
+
queryParams: {};
|
|
302
|
+
pathParams: {};
|
|
303
|
+
headers: {};
|
|
304
|
+
data: {};
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* 查询图像高清抠图任务,返回参数配置以及任务状态信息。
|
|
308
|
+
*
|
|
309
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
310
|
+
*/
|
|
311
|
+
showImageHighresolutionMattingTask(showImageHighresolutionMattingTaskRequest?: ShowImageHighresolutionMattingTaskRequest): {
|
|
312
|
+
method: string;
|
|
313
|
+
url: string;
|
|
314
|
+
contentType: string;
|
|
315
|
+
queryParams: {};
|
|
316
|
+
pathParams: {};
|
|
317
|
+
headers: {};
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
321
|
+
*
|
|
322
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
323
|
+
*/
|
|
324
|
+
showVideoTaggingMediaTask(showVideoTaggingMediaTaskRequest?: ShowVideoTaggingMediaTaskRequest): {
|
|
325
|
+
method: string;
|
|
326
|
+
url: string;
|
|
327
|
+
contentType: string;
|
|
328
|
+
queryParams: {};
|
|
329
|
+
pathParams: {};
|
|
330
|
+
headers: {};
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @export
|
|
336
|
+
* @class RequiredError
|
|
337
|
+
* @extends {Error}
|
|
338
|
+
*/
|
|
339
|
+
export declare class RequiredError extends Error {
|
|
340
|
+
field: string;
|
|
341
|
+
name: "RequiredError";
|
|
342
|
+
constructor(field: string, msg?: string);
|
|
343
|
+
}
|
|
344
|
+
//# sourceMappingURL=ImageClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageClient.d.ts","sourceRoot":"","sources":["../../../../services/image/v2/ImageClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAMhF,OAAO,EAAE,2CAA2C,EAAE,MAAM,qDAAqD,CAAC;AAClH,OAAO,EAAE,4CAA4C,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAEhG,OAAO,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AAkClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,yCAAyC,EAAE,MAAM,mDAAmD,CAAC;AAC9G,OAAO,EAAE,0CAA0C,EAAE,MAAM,oDAAoD,CAAC;AAChH,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAU9F,qBAAa,WAAW;WACN,UAAU,IAAI,aAAa,CAAC,WAAW,CAAC;IAItD,OAAO,CAAC,QAAQ,CAAW;gBACR,MAAM,EAAE,QAAQ;IAI5B,OAAO;IAKd;;;;;;;;;OASG;IACI,oCAAoC,CAAC,2CAA2C,CAAC,EAAE,2CAA2C,GAAG,OAAO,CAAC,4CAA4C,CAAC;IAS7L;;;;;;;;;OASG;IACI,2BAA2B,CAAC,kCAAkC,CAAC,EAAE,kCAAkC,GAAG,OAAO,CAAC,mCAAmC,CAAC;IASzJ;;;;;;;;;OASG;IACI,uBAAuB,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,+BAA+B,CAAC;IASzI;;;;;;;;;OASG;IACI,mBAAmB,CAAC,0BAA0B,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC;IASzH;;;;;;;;;OASG;IACI,2BAA2B,CAAC,kCAAkC,CAAC,EAAE,kCAAkC,GAAG,OAAO,CAAC,mCAAmC,CAAC;IASzJ;;;;;;;;;OASG;IACI,oBAAoB,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAS7H;;;;;;;;;OASG;IACI,uBAAuB,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,+BAA+B,CAAC;IASzI;;;;;;;;;OASG;IACI,uBAAuB,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,+BAA+B,CAAC;IASzI;;;;;;;;;OASG;IACI,eAAe,CAAC,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IASzG;;;;;;;;;OASG;IACI,kBAAkB,CAAC,yBAAyB,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,0BAA0B,CAAC;IASrH;;;;;;;;;OASG;IACI,kCAAkC,CAAC,yCAAyC,CAAC,EAAE,yCAAyC,GAAG,OAAO,CAAC,0CAA0C,CAAC;IASrL;;;;;;;;;OASG;IACI,yBAAyB,CAAC,gCAAgC,CAAC,EAAE,gCAAgC,GAAG,OAAO,CAAC,iCAAiC,CAAC;CAQpJ;AAED,eAAO,MAAM,YAAY;IAGjB;;;;OAIG;uFACgF,2CAA2C;;;;;;;;;IAiC9H;;;;OAIG;qEAC8D,kCAAkC;;;;;;;;;IAiCnG;;;;OAIG;6DACsD,8BAA8B;;;;;;;;;IAiCvF;;;;OAIG;qDAC8C,0BAA0B;;;;;;;;;IAiC3E;;;;OAIG;qEAC8D,kCAAkC;;;;;;;;;IAiCnG;;;;OAIG;uDACgD,2BAA2B;;;;;;;;;IAiC9E;;;;OAIG;6DACsD,8BAA8B;;;;;;;;;IAiCvF;;;;OAIG;6DACsD,8BAA8B;;;;;;;;;IAiCvF;;;;OAIG;6CACsC,sBAAsB;;;;;;;;;IAiC/D;;;;OAIG;mDAC4C,yBAAyB;;;;;;;;;IAiCxE;;;;OAIG;mFAC4E,yCAAyC;;;;;;;;IAgCxH;;;;OAIG;iEAC0D,gCAAgC;;;;;;;;CAiCpG,CAAC;AAMF;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
|