Class StandardCollector
java.lang.Object
org.opencv.face.PredictCollector
org.opencv.face.StandardCollector
Default predict collector
Trace minimal distance with treshhold checking (that is default behavior for most predict logic)
-
Field Summary
Fields inherited from class PredictCollector
nativeObj -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardCollector__fromPtr__(long addr) static StandardCollectorcreate()Static constructorstatic StandardCollectorcreate(double threshold) Static constructorprotected voidfinalize()doubleReturns minimal distance valueintReturns label with minimal distanceMethods inherited from class PredictCollector
getNativeObjAddr
-
Constructor Details
-
StandardCollector
protected StandardCollector(long addr)
-
-
Method Details
-
__fromPtr__
-
getMinLabel
public int getMinLabel()Returns label with minimal distance- Returns:
- automatically generated
-
getMinDist
public double getMinDist()Returns minimal distance value- Returns:
- automatically generated
-
create
Static constructor- Parameters:
threshold- set threshold- Returns:
- automatically generated
-
create
-
finalize
- Overrides:
finalizein classPredictCollector- Throws:
Throwable
-