Image Recognition
The Image Recognition connector is used to interconnect with Huawei Cloud Image Recognition to accurately identify the content of images.
Prerequisites
Huawei Cloud Image Recognition has been enabled.
Creating an Image Recognition Connection
- Log in to the new 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 Delegation.
- 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.
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.
Configuration 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, including 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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot