Release Notes
Announcements
API | Description |
Tagging image | Recognizes tags in an image stored in COS. |
GET requests and need to carry a signature.ImageLabelResponse getImageLabel(ImageLabelRequest request);
//1. Create a job request objectImageLabelRequest request = new ImageLabelRequest();//2. Add request parameters as detailed in the API documentationrequest.setBucketName("demo-123456789");request.setObjectKey("1.png");//3. Call the API to get the job response objectImageLabelResponse response = client.getImageLabel(request);
Request has the following sub-nodes:Node Name (Keyword) | Parent Node | Description | Type | Required |
bucketName | Request | String | Yes | |
objectKey | Request | Location of the image in the bucket | String | Yes |
ImageLabelResponse instance is returned upon success, which contains the result.CosClientException or CosServiceException exception. For more information, see Troubleshooting.Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan