检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
How Do I Configure the Data Storage Location (OBS Storage Path)? Configuring the Data Storage Location (OBS Storage Path) Log in to the Huawei HiLens console. In the navigation pane, choose Device Management > Devices.
Downloading a File from OBS This API is used to download a file from OBS. API calling hilens.download_from_obs(url, download_to) Parameter description Table 1 Parameters Parameter Mandatory Type Description url Yes Character string OBS resource link.
Downloading a File from OBS This API is used to download a file from OBS. API calling hilens.download_from_obs(url, download_to) Parameter description Table 1 Parameters Parameter Mandatory Type Description url Yes Character string OBS resource link.
Solution Use the current account to log in to the OBS console and check whether the current account can access OBS. If the account can access OBS, rectify the fault by referring to 2. If the account cannot access OBS, rectify the fault by referring to 3.
When uploading files to OBS, ensure that the OBS bucket and Huawei HiLens are in the same region and the OBS folder name meets the following requirements: The folder name cannot contain the following special characters: \:*?"
For details about how to use OBS to upload files, see Object Storage Service Getting Started. Uploading files to OBS is charged. For details about OBS pricing, see Product Pricing Details.
You can choose Import From OBS or Import From ModelArts.. Importing a model from OBS Click Import From OBS, select the bucket and folder where the custom model is stored on OBS, and click OK.
Generally, data is stored in OBS through APIs. To store data locally, an external SD card is required because the disk space of HiLens Kit devices is limited. Procedure Insert an SD card into the port (Micro SD) on the rear panel of the HiLens Kit device.
Parameter description Table 1 Parameters Parameter Mandatory Type Description key Yes Character string Path on OBS to which files are uploaded. Only the OBS file path is needed, for example, test/output.txt, so do not add the website information.
Parameter description Table 1 Parameters Parameter Mandatory Type Description key Yes Character string Path on OBS to which files are uploaded. Only the OBS file path is needed, for example, test/output.txt, so do not add the website information.
You can configure the target OBS bucket on the HiLens console. For details, see the "Configuring the Data Storage Location" section in HiLens User Guide.
For details about how to use OBS to upload files, see Object Storage Service Getting Started. Uploading files to OBS is charged. For details about the billing rules, see OBS Pricing Details.
Parameter description Table 1 Parameters Parameter Mandatory Type Description key Yes Character string Path on OBS to which files are uploaded. Only the OBS file path is needed, for example, test/output.jpg, so do not add the website information.
Parameter description Table 1 Parameters Parameter Mandatory Type Description key Yes Character string Path on OBS to which files are uploaded. Only the OBS file path is needed, for example, test/output.jpg, so do not add the website information.
POST hilens:project:createProject obs:object:GetObject obs:bucket:HeadBucket obs:bucket:CreateBucket obs:object:PutObject obs:bucket:ListAllMyBuckets obs:bucket:ListBucket Edit a developed skill.
Check whether the required skills are stored in the OBS bucket. If they are not, check whether there are any permission restrictions on the OBS bucket.
For example, the skill name is invalid or the entered OBS address does not exist. Network delay or interruption. Ensure that the network is normal when you create a skill. The Huawei Cloud account is in arrears or frozen. Parent topic: Skill Development
Model Output Directory Specifications After a model import (conversion) task is executed, Huawei HiLens outputs the converted model to a specified OBS path.
OBS Huawei HiLens uses OBS to store data and models. OBS is secure, highly reliable, and inexpensive. For more information about OBS, see Object Storage Service. SMN Huawei HiLens uses SMN to subscribe to skill messages and receive alarms.
H264_FILE The video data is output to OBS as files for users to view. For details about the OBS path, see Configuring the Data Storage Location (OBS Storage Path).