diff --git a/Home.md b/Home.md index 93a012c..1ab1f57 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,45 @@ -# Deploy the Project on CamelX Platform +# Huawei Cloud Image Recognition -Deploy on CamelX Platform in three steps +To identify objects, scenes, and concepts in images on Huawei Cloud -## Step 1: Create a release -From the project space, click on **"Create a release"** +## Metadata -The new version is automatically available in the list +| Property | Value | +|----------|-------| +| Scheme | `hwcloud-imagerecognition` | +| Support Level | Stable | +| Labels | cloud,messaging | +| Version | 4.10.2 | -## Step 2: Deploy -Click on **"Deploy"** +## Maven Dependency -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +```xml + + org.apache.camel + camel-huaweicloud-imagerecognition + 4.10.2 + +``` -## Step 3: Expose -Enable **"Expose"** +## Endpoint Properties -Choose an **API Gateway** (Internal, Public, etc.) +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `operation` | string | ✓ | | Name of Image Recognition operation to perform, including celebrityRecognition and tagRecognition | +| `accessKey` | string | ✓ | | Access key for the cloud user | +| `endpoint` | string | | | Fully qualified Image Recognition service url. Carries higher precedence than region based configuration. | +| `imageContent` | string | | | Indicates the Base64 character string converted from the image. The size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels.The supported image formats include JPG, PNG, and BMP. Configure either this parameter or imageUrl, and this one carries higher precedence than imageUrl. | +| `imageUrl` | string | | | Indicates the URL of an image. The options are as follows: HTTP/HTTPS URLs on the public network OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS. Configure either this parameter or imageContent, and this one carries lower precedence than imageContent. | +| `projectId` | string | ✓ | | Cloud project ID | +| `proxyHost` | string | | | Proxy server ip/hostname | +| `proxyPassword` | string | | | Proxy authentication password | +| `proxyPort` | integer | | | Proxy server port | +| `proxyUser` | string | | | Proxy authentication user | +| `region` | string | ✓ | | Image Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration. | +| `secretKey` | string | ✓ | | Secret key for the cloud user | +| `serviceKeys` | object | | | Configuration object for cloud service authentication | +| `tagLanguage` | string | | `zh` | Indicates the language of the returned tags when the operation is tagRecognition, including zh and en. | +| `tagLimit` | integer | | `50` | Indicates the maximum number of the returned tags when the operation is tagRecognition. | +| `threshold` | number | | | Indicates the threshold of confidence. When the operation is tagRecognition, this parameter ranges from 0 to 100. Tags whose confidence score is lower than the threshold will not be returned. The default value is 60. When the operation is celebrityRecognition, this parameter ranges from 0 to 1. Labels whose confidence score is lower than the threshold will not be returned. The default value is 0.48. | +| `lazyStartProducer` | boolean | | `false` | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | +| `ignoreSslVerification` | boolean | | `false` | Ignore SSL verification |