检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
(Optional) Authorizing Subaccounts to Use ImageSearch This section describes how to grant the Tenant Guest permission of ImageSearch and the OBS Buckets Viewer policy of OBS to a user group, and add users to the user group.
When creating and calling an OBS bucket, ensure that the OBS bucket and Image Search are in the same region. For example, CN-Hong Kong. For details, see Regions and Endpoints. Locate the cause based on the API call result or error code. For details, see Error Codes.
The image can be stored in an OBS bucket in the same region or in the request body. Only the images in the image library can be searched for. To add or search for an image stored in an OBS bucket, authorize the OBS bucket first.
Executing the offline import task The offline import function can be implemented by using OBS buckets or list files. Method 1: Import data from an OBS bucket. (You need to provide the OBS directory where the data is stored.)
If you want to use OBS to store data, log in to the ImageSearch management console and authorize the corresponding instance on the Instance Management page. Call an API. ImageSearch is provided through open APIs.
The image can be stored in an OBS bucket in the same region or in the request body. Only the images in the image library can be searched for. Searching for Images You can use the API to search for similar images from the image library.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Check whether OBS is running properly. 400 IS.3017 The OBS bucket is empty. The OBS bucket is empty. There is nothing in the OBS bucket. 400 IS.3018 Failed to obtain the OBS bucket list. Failed to obtain the OBS bucket list.
Use Image Search to create an instance, import your images to an OBS bucket offline, and then search for images. For details about how to use Image Search APIs, see Image Search API Reference. Parent topic: API FAQs