public class TiiaClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
构造器和说明 |
---|
TiiaClient(Credential credential,
String region) |
TiiaClient(Credential credential,
String region,
ClientProfile profile) |
限定符和类型 | 方法和说明 |
---|---|
AssessQualityResponse |
AssessQuality(AssessQualityRequest req)
评估输入图片在视觉上的质量,从多个方面评估,并同时给出综合的、客观的清晰度评分,和主观的美观度评分。
|
CreateGroupResponse |
CreateGroup(CreateGroupRequest req)
用于创建一个空的图片库,如果图片库已存在则返回错误。
|
CreateImageResponse |
CreateImage(CreateImageRequest req)
创建图片,并添加对应图片的自定义信息。
|
CropImageResponse |
CropImage(CropImageRequest req)
根据输入的裁剪比例,智能判断一张图片的最佳裁剪区域,确保原图的主体区域不受影响。
|
DeleteImagesResponse |
DeleteImages(DeleteImagesRequest req)
删除图片。
|
DescribeGroupsResponse |
DescribeGroups(DescribeGroupsRequest req)
查询所有的图库信息。
|
DescribeImagesResponse |
DescribeImages(DescribeImagesRequest req)
获取指定图片库中的图片列表。
|
DetectDisgustResponse |
DetectDisgust(DetectDisgustRequest req)
输入一张图片,返回AI针对一张图片是否是恶心的一系列判断值。
|
DetectEnvelopeResponse |
DetectEnvelope(DetectEnvelopeRequest req)
文件封识别可检测图片中是否包含符合文件封(即文件、单据、资料等的袋状包装)特征的物品,覆盖顺丰快递文件封、文件袋、档案袋等多种文件封类型,可应用于物流行业对文件快递的包装审核等场景。
|
DetectLabelResponse |
DetectLabel(DetectLabelRequest req)
>!
|
DetectLabelBetaResponse |
DetectLabelBeta(DetectLabelBetaRequest req)
图像标签测试接口
>
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
DetectLabelProResponse |
DetectLabelPro(DetectLabelProRequest req)
通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等,广泛应用于拍照识物、场景分析、图像内容审核与推荐、智能相册分类等场景。
|
DetectMisbehaviorResponse |
DetectMisbehavior(DetectMisbehaviorRequest req)
可以识别输入的图片中是否包含不良行为,例如打架斗殴、赌博、抽烟等,可以应用于广告图、直播截图、短视频截图等审核,减少不良行为对平台内容质量的影响,维护健康向上的互联网环境。
|
DetectProductResponse |
DetectProduct(DetectProductRequest req)
本接口支持识别图片中包含的商品,能够输出商品的品类名称、类别,还可以输出商品在图片中的位置。
|
DetectProductBetaResponse |
DetectProductBeta(DetectProductBetaRequest req)
商品识别-微信识物版,基于人工智能技术、海量训练图片、亿级商品库,可以实现全覆盖、细粒度、高准确率的商品识别和商品推荐功能。
|
EnhanceImageResponse |
EnhanceImage(EnhanceImageRequest req)
传入一张图片,输出清晰度提升后的图片。
|
RecognizeCarResponse |
RecognizeCar(RecognizeCarRequest req)
车辆识别可对图片中车辆的车型进行识别,输出车辆的品牌(如路虎)、车系(如神行者2)、类型(如中型SUV)、颜色和车辆在图中的坐标等信息,覆盖轿车、SUV、大型客车等市面常见车,支持三千多种车辆型号。
|
RecognizeCarProResponse |
RecognizeCarPro(RecognizeCarProRequest req)
车辆识别(增强版)在车辆识别的基础上**增加了车牌识别的功能,并升级了车型识别的效果**。
|
SearchImageResponse |
SearchImage(SearchImageRequest req)
本接口用于对一张待识别的商品图片,在指定图片库中检索出最相似的图片列表。
|
call, callOctetStream, getClientProfile, getCredential, getRegion, internalRequest, retry, setClientProfile, setCredential, setRegion
public TiiaClient(Credential credential, String region)
public TiiaClient(Credential credential, String region, ClientProfile profile)
public AssessQualityResponse AssessQuality(AssessQualityRequest req) throws TencentCloudSDKException
req
- AssessQualityRequestTencentCloudSDKException
public CreateGroupResponse CreateGroup(CreateGroupRequest req) throws TencentCloudSDKException
req
- CreateGroupRequestTencentCloudSDKException
public CreateImageResponse CreateImage(CreateImageRequest req) throws TencentCloudSDKException
req
- CreateImageRequestTencentCloudSDKException
public CropImageResponse CropImage(CropImageRequest req) throws TencentCloudSDKException
req
- CropImageRequestTencentCloudSDKException
public DeleteImagesResponse DeleteImages(DeleteImagesRequest req) throws TencentCloudSDKException
req
- DeleteImagesRequestTencentCloudSDKException
public DescribeGroupsResponse DescribeGroups(DescribeGroupsRequest req) throws TencentCloudSDKException
req
- DescribeGroupsRequestTencentCloudSDKException
public DescribeImagesResponse DescribeImages(DescribeImagesRequest req) throws TencentCloudSDKException
req
- DescribeImagesRequestTencentCloudSDKException
public DetectDisgustResponse DetectDisgust(DetectDisgustRequest req) throws TencentCloudSDKException
req
- DetectDisgustRequestTencentCloudSDKException
public DetectEnvelopeResponse DetectEnvelope(DetectEnvelopeRequest req) throws TencentCloudSDKException
req
- DetectEnvelopeRequestTencentCloudSDKException
public DetectLabelResponse DetectLabel(DetectLabelRequest req) throws TencentCloudSDKException
req
- DetectLabelRequestTencentCloudSDKException
public DetectLabelBetaResponse DetectLabelBeta(DetectLabelBetaRequest req) throws TencentCloudSDKException
req
- DetectLabelBetaRequestTencentCloudSDKException
public DetectLabelProResponse DetectLabelPro(DetectLabelProRequest req) throws TencentCloudSDKException
req
- DetectLabelProRequestTencentCloudSDKException
public DetectMisbehaviorResponse DetectMisbehavior(DetectMisbehaviorRequest req) throws TencentCloudSDKException
req
- DetectMisbehaviorRequestTencentCloudSDKException
public DetectProductResponse DetectProduct(DetectProductRequest req) throws TencentCloudSDKException
req
- DetectProductRequestTencentCloudSDKException
public DetectProductBetaResponse DetectProductBeta(DetectProductBetaRequest req) throws TencentCloudSDKException
req
- DetectProductBetaRequestTencentCloudSDKException
public EnhanceImageResponse EnhanceImage(EnhanceImageRequest req) throws TencentCloudSDKException
req
- EnhanceImageRequestTencentCloudSDKException
public RecognizeCarResponse RecognizeCar(RecognizeCarRequest req) throws TencentCloudSDKException
req
- RecognizeCarRequestTencentCloudSDKException
public RecognizeCarProResponse RecognizeCarPro(RecognizeCarProRequest req) throws TencentCloudSDKException
req
- RecognizeCarProRequestTencentCloudSDKException
public SearchImageResponse SearchImage(SearchImageRequest req) throws TencentCloudSDKException
req
- SearchImageRequestTencentCloudSDKException
Copyright © 2022. All rights reserved.