类 StandardCollector
- java.lang.Object
-
- org.opencv.face.PredictCollector
-
- org.opencv.face.StandardCollector
-
public class StandardCollector extends PredictCollector
默认预测收集器,跟踪最小距离并进行阈值检查(这是大多数预测逻辑的默认行为)
-
-
字段摘要
-
从类继承的字段 org.opencv.face.PredictCollector
nativeObj
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 保护StandardCollector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static StandardCollector__fromPtr__(long addr)static StandardCollectorcreate()静态构造函数static StandardCollectorcreate(double threshold)静态构造函数protected voidfinalize()doublegetMinDist()返回最小距离值intgetMinLabel()返回具有最小距离的标签-
从类继承的方法 org.opencv.face.PredictCollector
getNativeObjAddr
-
-
-
-
方法详细信息
-
__fromPtr__
public static StandardCollector __fromPtr__(long addr)
-
getMinLabel
public int getMinLabel()
返回具有最小距离的标签- 返回
- 自动生成
-
getMinDist
public double getMinDist()
返回最小距离值- 返回
- 自动生成
-
create
public static StandardCollector create(double threshold)
静态构造函数- 参数
threshold- 设置阈值- 返回
- 自动生成
-
create
public static StandardCollector create()
静态构造函数- 返回
- 自动生成
-
finalize
protected void finalize() throws java.lang.Throwable- 重写
finalize在类中PredictCollector- 抛出
java.lang.Throwable
-
-