目录

class info
com.huawei.hms.mlsdk.classification.MLRemoteClassificationAnalyzerSetting
图像分类配置器:用于设置云端图像分类器的属性。
云端图像分类器的属性包括:
1、置信度阈值;
2、是否开启证书指纹验证功能。

Public Method Summary

Return typeMethod name
booleanequals(Object object)
intgetLargestNumOfReturns()
floatgetMinAcceptablePossibility()
inthashCode()

Public Methods

Method
public boolean equals(Object object)
判断输入实例是否与本实例相等。

Parameters

Parameter nameParameter desc
object对比的实例。


Return

Typedesc
booleantrue: 表示两个实例相等;
false:表示两个实例不相等。
Method
public int getLargestNumOfReturns()
获取分析器返回图像类别的最大数量。

Return

Typedesc
int返回图像类别的最大数量。
Method
public float getMinAcceptablePossibility()
获取置信度阈值。

Return

Typedesc
float返回置信度阈值。取值范围0.0-1.0(默认为0.5),用于过滤掉置信度小于该阈值的类别。
Method
public int hashCode()
获取当前实例的哈希值。

Return

Typedesc
int实例的哈希值。