Image Recognition
The Image Recognition connector allows accurate image recognition via the Huawei Cloud Image Recognition service .
Prerequisites
Huawei Cloud Image Recognition has been enabled.
Creating an Image Recognition Connection
- Log in to the ROMA Connect console.
- In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
- Choose Huawei Cloud Services > Image Recognition
- In the dialog box displayed, configure the connector and click OK.
Parameter
Description
Name
Enter the connector instance name.
Authenticated By
Select an authentication mode for the connector.
- Cloud service agency. For details, see Cloud Service Agency.
Dependencies
image:image_celebrity_recognition:subscribe
image:image_celebrity_recognition:subscribeAllUsers
image:image_tagging:subscribe
image:image_tagging:subscribeAllUsers
- AK/SK
Access Key
Mandatory when Authentication Mode is set to AK/SK.
Access key ID (AK) of the current account. Obtain the AK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).
Secret Access Key
Mandatory when Authentication Mode is set to AK/SK.
Secret access key (SK) of the current account. Obtain the SK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).
Description
Enter the description of the connector to identify it.
- Cloud service agency. For details, see Cloud Service Agency.
Action
- Celebrity recognition: Identifying movie stars and internet celebrities in images.
- Tag recognition: Identifying the name, category, and confidence of an object in an image.
Configuring Parameters
|
Parameter |
Description |
|---|---|
|
Region |
Region where the Image Recognition service resides. |
|
Project |
Project to which the Image Recognition service belongs. |
|
Obtain Image from |
Method to obtain the image. Options are API form parameters, Base64 encoding, and URL path. |
|
API form parameters |
If Obtain Image from is set to API form parameters, the trigger of this task flow must be OpenAPI, and images must be uploaded using form parameters of the form-data type. Set this parameter to the name of the form parameters. |
|
Base64 encoding |
If Obtain Image from is set to Base64 encoding, set this parameter to the Base64-encoded character string of the image. The size cannot exceed 10 MB. |
|
URL path |
If Obtain Image from is set to URL path, set this parameter to the URL of the image. The value can be:
|
|
Confidence |
Threshold (0 to 1) of the confidence score. Tags with a confidence score lower than the threshold will not be returned. |
|
Tags |
Maximum number of tags that can be returned. The default value is 30. |
|
Tag Language |
Language of the returned tags.
The default value is zh. |
|
Parameter |
Description |
|---|---|
|
Region |
Region where the Image Recognition service resides. |
|
Project |
Project to which the Image Recognition service belongs. |
|
Obtain Image from |
Method to obtain the image. Options are API form parameters, Base64 encoding, and URL path. |
|
API form parameters |
If Obtain Image from is set to API form parameters, the trigger of this task flow must be OpenAPI, and images must be uploaded using form parameters of the form-data type. Set this parameter to the name of the form parameters. |
|
Base64 encoding |
If Obtain Image from is set to Base64 encoding, set this parameter to the Base64-encoded character string of the image. The size cannot exceed 10 MB. |
|
URL path |
If Obtain Image from is set to URL path, set this parameter to the URL of the image. The value can be:
|
|
Confidence |
Threshold (0 to 1) of the confidence score. Tags with a confidence score lower than the threshold will not be returned. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.