cloudfunctions/SegmentPortraitPic/node_modules/tencentcloud-sdk-nodejs/src/services/iir/v20200417/iir_models.ts
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* 检测到的图片中的商品位置和品类预测。
当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
最多可以输出__3组__检测结果。
*/
export interface RegionDetected {
/**
* 商品的品类预测结果。
包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
*/
Category: string
/**
* 商品品类预测的置信度
*/
CategoryScore: number
/**
* 检测到的主体在图片中的坐标,表示为矩形框的四个顶点坐标
*/
Location: Location
}
/**
* 图像识别出的商品的详细信息。
当图像中检测到多个物品时,会对显著性最高的物品进行识别。
*/
export interface ProductInfo {
/**
* 1表示找到同款商品,以下字段为同款商品信息;
0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。
是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
*/
FindSKU: number
/**
* 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。
*/
Location: Location
/**
* 商品名称
*/
后面还有 95 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
