cloudfunctions/SegmentPortraitPic/node_modules/tencentcloud-sdk-nodejs/src/services/tiia/v20190529/tiia_models.ts

(开头部分) 35KB

这里只显示每个文件的开头 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.
 */

/**
 * DetectProductBeta返回参数结构体
 */
export interface DetectProductBetaResponse {
  /**
      * 检测到的图片中的商品位置和品类预测。 
当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。 
最多可以输出__3组__检测结果。
      */
  RegionDetected: Array<RegionDetected>

  /**
      * 图像识别出的商品的详细信息。 
当图像中检测到多个物品时,会对显著性最高的进行识别。
      */
  ProductInfo: ProductInfo

  /**
      * 相似商品信息列表
注意:此字段可能返回 null,表示取不到有效值。
      */
  ProductInfoList: Array<ProductInfo>

  /**
   * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
   */
  RequestId?: string
}

/**
 * DetectDisgust请求参数结构体
 */
export interface DetectDisgustRequest {
  /**
      * 图片URL地址。 
图片限制: 
• 图片格式:PNG、JPG、JPEG。 
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。 
建议:
• 图片像素:大于50*50像素,否则影响识别效果; 
• 长宽比:长边:短边<5; 
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
      */
后面还有 1344 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。