检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
获取难例配置 接口调用 Json::Value GetHardSampleConfig() 返回值 Json::Value对象,可以解析出各配置项的值。 父主题: 难例上传模块
初始化难例上传模块 构造一个难例过滤器。 接口调用 hilens.HardSample(threshold_one, threshold_two, filter_type) 参数说明 表1 参数说明 参数名 是否必选 参数类型 描述 threshold_one 是 float 阈
HiLens Kit 如何使用命令行连接无线网络 问题描述 HiLens Kit如何使用SSH命令连接无线网络。 解决方案 SSH远程登录HiLens Kit,具体操作请见如何使用SSH登录设备。 查看所有无线网络,执行如下命令。 wifi_work -i 4 连接无线网络。 wifi_work
读取难例配置文件,难例配置文件路径为相应技能“data”目录,如“/home/hilens/skills/***skill_path/data/hardsample_config.json”。 接口调用 hilens.get_hard_sample_config() 返回值 json格式的难例配置。样例如下。
更新难例配置 更新难例配置到难例配置文件,并根据输入更新云侧难例上传状态。 接口调用 HiLensEC SetHardSampleConfig(const std::string &confStr) 表1 参数说明 参数名 说明 confStr 要更新的难例配置,需要是string格式的json值。
0/bin/aarch64-linux-gnu-g++" 详细的编译指导请参考步骤6中的示例代码。 下载HiLens Framework SDK开发包:“cloud-c-sdk-HiLensFramework-1.0.4.tar.gz”,并解压,重命名文件名。 下载地址请参见SDK下载。 参考示例程
响应Body参数 参数 参数类型 描述 count Integer 满足条件的激活记录总数 records Array of records objects 激活记录列表 表5 records 参数 参数类型 描述 update_time String 更新时间 active_status
Display(hilens.HDMI) hard_sample = hilens.HardSample(0.5,0.5,1) # 1,2为检测模型使用的算法 #hard_sample = hilens.HardSample(0.5,0.5,0) # 0为分类模型使用的算法 hard_sample_flag
Integer 更新时间 channel_limit Integer 通道数限制 resource_step_size Integer 步长 cloud_service_type String 云服务编码 developer_id String 开发者ID amount Integer 订单数量
安装和调试技能 技能创建完成后,您可以将技能安装至设备中,通过查看设备的技能视频或原始视频,查看技能运行效果,判断此技能是否满足业务诉求。 您还可以查看端侧日志调试技能,帮助定位问题,具体操作请参见查看设备日志。 前提条件 已有一个HiLens Kit设备,在华为HiLens中完
难例上传模块 难例上传介绍及说明 构造HardSample实例 初始化 难例图片判断 获取难例配置 更新难例配置
String 发布时间 resource_step_size Integer 步长 approval_time String 审批时间 cloud_service_type String 云服务编码 summary String 摘要 test_status Integer 测试状态
Integer 更新时间 channel_limit Integer 通道数限制 resource_step_size Integer 步长 cloud_service_type String 云服务编码 developer_id String 开发者ID amount Integer 订单数量
Integer 更新时间 channel_limit Integer 通道数限制 resource_step_size Integer 步长 cloud_service_type String 云服务编码 developer_id String 开发者ID amount Integer 订单数量
Long 更新时间(时间戳) user_time String IAM用户名 resource_spec_code String 计费资源码 cloud_service_type String 云服务计费类型 active_content String 激活内容 active_flag Integer
String 发布时间 resource_step_size Integer 步长 approval_time String 审批时间 cloud_service_type String 云服务编码 summary String 摘要 test_status Integer 测试状态
<filename>bike_1_1593531469339.png</filename> <source> <database>Unknown</database> </source> <size> <width>554</width>
Integer 更新时间 channel_limit Integer 通道数限制 resource_step_size Integer 步长 cloud_service_type String 云服务编码 developer_id String 开发者ID amount Integer 订单数量
String 发布时间 resource_step_size Integer 步长 approval_time String 审批时间 cloud_service_type String 云服务编码 summary String 摘要 test_status Integer 测试状态
String 发布时间 resource_step_size Integer 步长 approval_time String 审批时间 cloud_service_type String 云服务编码 summary String 摘要 test_status Integer 测试状态