2 Home
gitea_admin edited this page 2026-03-11 14:39:07 +00:00

Huawei Cloud Image Recognition

To identify objects, scenes, and concepts in images on Huawei Cloud

Metadata

Property Value
Scheme hwcloud-imagerecognition
Support Level Stable
Labels cloud,messaging
Version 4.10.2

Maven Dependency

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-huaweicloud-imagerecognition</artifactId>
    <version>4.10.2</version>
</dependency>

Endpoint Properties

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